ALLOC' is not a recognized dialog service name



IBM's Command List programming language & Restructured Extended Executor

ALLOC' is not a recognized dialog service name

Postby Mann_B » Tue Jan 29, 2013 5:13 pm

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
Mann_B
 
Posts: 79
Joined: Wed Mar 31, 2010 11:48 am
Has thanked: 0 time
Been thanked: 0 time

Re: ALLOC' is not a recognized dialog service name

Postby prino » Tue Jan 29, 2013 5:24 pm

You've changed the default environment to "ISPEXEC"...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

Re: ALLOC' is not a recognized dialog service name

Postby Mann_B » Tue Jan 29, 2013 6:39 pm

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
Mann_B
 
Posts: 79
Joined: Wed Mar 31, 2010 11:48 am
Has thanked: 0 time
Been thanked: 0 time

Re: ALLOC' is not a recognized dialog service name

Postby Mann_B » Tue Jan 29, 2013 6:43 pm

HI Prino.. I got it Thank you for you help.
Mann_B
 
Posts: 79
Joined: Wed Mar 31, 2010 11:48 am
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post