Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
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    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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, 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: 21
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: 4650
Location: Raleigh, 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: 21
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us