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

On my output file (on DSN) i need the prefix like


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashokd

New User


Joined: 02 Mar 2006
Posts: 6

PostPosted: Fri Mar 31, 2006 6:12 pm
Reply with quote

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
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 31, 2006 6:17 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Mar 31, 2006 6:49 pm
Reply with quote

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
View user's profile Send private message
ashokd

New User


Joined: 02 Mar 2006
Posts: 6

PostPosted: Fri Mar 31, 2006 7:05 pm
Reply with quote

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
View user's profile Send private message
ashokd

New User


Joined: 02 Mar 2006
Posts: 6

PostPosted: Fri Mar 31, 2006 7:06 pm
Reply with quote

It throws me an error when i tried to use ##date
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 31, 2006 7:10 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top