Page 1 of 1

ALLOC' is not a recognized dialog service name

PostPosted: Tue Jan 29, 2013 5:13 pm
by Mann_B
Hi All

I am getting below error when I am trying read a file in REXX.

ISPS102

Invalid service name
'ALLOC' is not a recognized dialog service name.





Current dialog statement:
ALLOC F(IN) DSNAME(inputfile) SHR

My REXX code is:

"ALLOC F(IN) DSNAME("inputfile") SHR"
"EXECIO * DISKR IN (FINIS STEM CNAME."                         
"FREE F(IN)"                                                   
                                                               


I am not getting what is the error here.Can you please help me out

Thank you

Re: ALLOC' is not a recognized dialog service name

PostPosted: Tue Jan 29, 2013 5:24 pm
by prino
You've changed the default environment to "ISPEXEC"...

Re: ALLOC' is not a recognized dialog service name

PostPosted: Tue Jan 29, 2013 6:39 pm
by Mann_B
HI Prino ..Thanks for the reply.
Can you please let me know where can we chk for default environment to "ISPEXEC and how to change if it is different.
I have similar ALLOCATE in some other REXX codes, there it is working fine for me.

Thank You

Re: ALLOC' is not a recognized dialog service name

PostPosted: Tue Jan 29, 2013 6:43 pm
by Mann_B
HI Prino.. I got it Thank you for you help.