Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 35
Location: Pune

PostPosted: Mon Jul 05, 2010 3:12 pm    Post subject: not able to createa new member in pds using stats(YES)
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: 2422
Location: Netherlands, Amstelveen

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

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

New User


Joined: 05 Jan 2009
Posts: 35
Location: Pune

PostPosted: Mon Jul 05, 2010 4:30 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Mon Jul 05, 2010 4:32 pm    Post subject: Reply to: not able to createa new member in pds using stats(
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: 35
Location: Pune

PostPosted: Mon Jul 05, 2010 4:47 pm    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 05, 2010 5:31 pm    Post subject:
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    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
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Run stats processing on zIIP Engine Virendra Shambharkar DB2 9 Fri Oct 14, 2016 10:24 am
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm
No new posts Output of NDM stats shreya19 All Other Mainframe Topics 5 Wed Mar 02, 2016 4:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us