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

not able to createa new member in pds using stats(YES)


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

New User


Joined: 05 Jan 2009
Posts: 56
Location: Dublin

PostPosted: Mon Jul 05, 2010 3:12 pm
Reply with quote

Hi I tried following rexx code to create a new member. The member is created without creation and modification date.. How to get all stats

ZLCDATE=DATE('S')
ZLMDATE=DATE('S')
"LMINIT DATASET('"DSN"') DATAID("DATA1") ENQ(EXCLU)"
"LMOPEN DATAID("DATA1") OPTION(OUTPUT)"
"LMPUT DATAID("DATA1") MODE(INVAR) DATALOC(DATAVAR) DATALEN(80)"
"LMMADD DATAID("DATA1")MEMBER("MEM") STATS(YES)"
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 05, 2010 4:04 pm
Reply with quote

Try DATE('O')
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 56
Location: Dublin

PostPosted: Mon Jul 05, 2010 4:30 pm
Reply with quote

Date is comming now like below

BNYMRCR 0 2010/07/05 2010/07/05 00:00:00

however time and id is not appearing... Please help
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Mon Jul 05, 2010 4:32 pm
Reply with quote

Quote:
however time and id is not appearing... Please help

where did You fill them ?
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 56
Location: Dublin

PostPosted: Mon Jul 05, 2010 4:47 pm
Reply with quote

Now I am able to get all sats using ISPF dialog variables

ZLCDATE=DATE('O')
ZLMDATE=DATE('O')
ZLMTIME=TIME('N')
ZLUSER=SYSVAR('SYSUID')

Thanks... :-)
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 05, 2010 5:31 pm
Reply with quote

You are welcome.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compare the member of two pds on las... DFSORT/ICETOOL 13
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts PDS member list with stats JCL & VSAM 6
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
Search our Forums:


Back to Top