Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
MACRO LMDINIT and LMDLIST

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
harry143

New User


Joined: 05 Nov 2007
Posts: 19
Location: hyd

PostPosted: Fri Mar 28, 2008 8:22 pm    Post subject: MACRO LMDINIT and LMDLIST
Reply with quote

I have a REXX exec using srvices LMDINIT and LMDLIST. When I am trying to execute this exec, the return code at that line is 20.


ex:

HLQ = USERID()
DS=STRIP(HLQ||".*")
"ISPEXEC LMDINIT LISTID(IDV) LEVEL("DS")"

The third line has ended with return code = 20 when I'm trying to exuecte in batch mode.

When I'm executing directly (i.e., by typing EX before the member name) the exec is working fine.

Please help me
Back to top
View user's profile Send private message
References
PostPosted: Fri Mar 28, 2008 8:22 pm    Post subject: Re: MACRO LMDINIT and LMDLIST Reply with quote

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 2906
Location: Charlotte,NC USA

PostPosted: Fri Mar 28, 2008 8:29 pm    Post subject: Reply to: MACRO LMDINIT and LMDLIST
Reply with quote

Does your job look similar to the one shown in this previous topic?

Also, didn't you already post a similar problem here?
Back to top
View user's profile Send private message
harry143

New User


Joined: 05 Nov 2007
Posts: 19
Location: hyd

PostPosted: Fri Mar 28, 2008 8:32 pm    Post subject: Re: Reply to: MACRO LMDINIT and LMDLIST
Reply with quote

superk wrote:
Does your job look similar to the one shown in this previous topic?


My job is :

/*JOBPARM FORMS=STD,S=51UN
//TMP EXEC PGM=IKJEFT01,DYNAMNBR=30,REGION=4096K
//SYSEXEC DD DSN=TSUA8SW.REXX.JCL,DISP=SHR
//SYSTSPRT DD SYSOUT=A
//SYSTSIN DD *
%LIST
/*
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 2906
Location: Charlotte,NC USA

PostPosted: Fri Mar 28, 2008 8:33 pm    Post subject: Reply to: MACRO LMDINIT and LMDLIST
Reply with quote

Where's the ISPSTART command, and the DD statements for the required ISPF libraries?
Back to top
View user's profile Send private message
harry143

New User


Joined: 05 Nov 2007
Posts: 19
Location: hyd

PostPosted: Mon Mar 31, 2008 10:32 am    Post subject: Re: Reply to: MACRO LMDINIT and LMDLIST
Reply with quote

superk wrote:
Where's the ISPSTART command, and the DD statements for the required ISPF libraries?


Thanks working !!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1