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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: On my output file (on DSN) i need the prefix like
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    Post subject:
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

Moderator Team Head


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

PostPosted: Fri Mar 31, 2006 6:49 pm    Post subject: Re: On my output file (on DSN) i need the prefix like
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    Post subject: it throws me an error
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP xls file from Mainfrmae kumarsatheeshc1 TSO/ISPF 5 Tue Jun 20, 2017 6:56 pm
No new posts Validate if a Value from the file is ... balacsv2 COBOL Programming 8 Mon Jun 19, 2017 11:52 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am
No new posts XML Parse for large file muralikrishnan_new COBOL Programming 3 Mon Jun 12, 2017 12:50 pm


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