View previous topic :: View next topic
|
Author |
Message |
ashokd
New User
Joined: 02 Mar 2006 Posts: 6
|
|
|
|
On my output file (on DSN) i need the prefix like userid, date, time
eg: DSN=TEST.USERID.DATE.TIME.V01
eg
USERID : ASHOK
DATE : 310306
TIME : 061230
i can get the userid by using &SYSUID
DSN=TEST.&SYSID..DATE.TIME.V01
but what can be do for Date & time |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy ashokd,
if implemented in your jes installation,
there are two special exits for date > ##DATE,
and time > ##TIME, try if your jes knows it...
i.e. DSN=HLQL.QL.QL.##DATE
martin9 |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
ashokd, search the forums for the program EZACFSM1. It may be what you need. Usually, you provide values for date and time from within a program, or, as martin9 has described, the can be retrieved from variables established by your job scheduling software. |
|
Back to top |
|
|
ashokd
New User
Joined: 02 Mar 2006 Posts: 6
|
|
|
|
martin9 wrote: |
hy ashokd,
if implemented in your jes installation,
there are two special exits for date > ##DATE,
and time > ##TIME, try if your jes knows it...
i.e. DSN=HLQL.QL.QL.##DATE
martin9 |
I gave as below
DSN=TEST.&SYSUID.##DATE.V01
Correct me if am i wrong
Regards,
Ashokd |
|
Back to top |
|
|
ashokd
New User
Joined: 02 Mar 2006 Posts: 6
|
|
|
|
It throws me an error when i tried to use ##date |
|
Back to top |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy ashokd,
thsi means your installation does not know such an exit,
ask your system programmer, if there is something similar
for your needs...
otherwise refer to superk's reply...
martin9 |
|
Back to top |
|
|
|