IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

MACRO LMDINIT and LMDLIST


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
harry143

New User


Joined: 05 Nov 2007
Posts: 21
Location: hyd

PostPosted: Fri Mar 28, 2008 8:22 pm
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
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Mar 28, 2008 8:29 pm
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: 21
Location: hyd

PostPosted: Fri Mar 28, 2008 8:32 pm
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

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Mar 28, 2008 8:33 pm
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: 21
Location: hyd

PostPosted: Mon Mar 31, 2008 10:32 am
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts PRINTOUT macro PL/I & Assembler 0
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts SRCHFOR with LMDLIST or LMMLIST TSO/ISPF 7
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
No new posts Facing issue in Run Edit Macro Job CLIST & REXX 9
Search our Forums:

Back to Top