|
View previous topic :: View next topic
|
| Author |
Message |
Vkp321
New User

Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
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 |
|
 |
PeterHolland
Global Moderator

Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
| Try DATE('O') |
|
| Back to top |
|
 |
Vkp321
New User

Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
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 |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| Quote: |
| however time and id is not appearing... Please help |
where did You fill them ? |
|
| Back to top |
|
 |
Vkp321
New User

Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
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 |
|
 |
PeterHolland
Global Moderator

Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
| You are welcome. |
|
| Back to top |
|
 |
|
|