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: 287
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: 287
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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