View previous topic :: View next topic
|
Author |
Message |
pravin1234jd
New User
Joined: 31 May 2010 Posts: 11 Location: India
|
|
|
|
As a part of this forums rules I need to post which solution worked for me....
I am copying here the code which solved my requirement...
PS. This code is without any error handling as of now
Code: |
DSNAME = 'MYUSERID.DEV.JCLLIB'
ISPEXEC "LMINIT DATAID(LMID) DATASET('" DSNAME "')"
SAY RC
SAY DSNAME
ISPEXEC "LMOPEN DATAID(" LMID ")"
SAY RC
MEMBER = 'BINDJCL'
ISPEXEC "LMMLIST DATAID("LMID") MEMBER(MEMBER) STATS(YES)"
SAY RC
SAY ZLMDATE ZLMTIME ZLUSER MEMBER |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Thank you for posting your soluton - it will probably help someone else one day
d |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
PeterHolland wrote: |
There is also the good old PROFILE NOPREFIX |
The quote solution has my preference, so there is no need to change the profile of whoever is running the program.
(I've never been able to understand if the change is for the session only or permanent.)
Name within quotes = no userid prefixed |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Marso wrote: |
PeterHolland wrote: |
There is also the good old PROFILE NOPREFIX |
The quote solution has my preference, so there is no need to change the profile of whoever is running the program.
(I've never been able to understand if the change is for the session only or permanent.)
Name within quotes = no userid prefixed |
Its for the whole on line session, in batch its just for the job.
I like it very much to use, cause i dont have to think to much about
all kinds of quotes. But then im a lazy person. |
|
Back to top |
|
|
|