Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 eliminate dups in VB file anatol DFSORT/ICETOOL 6 Tue Feb 13, 2018 2:59 am
No new posts Tape file issue abdulrafi JCL & VSAM 2 Thu Feb 08, 2018 12:01 pm
No new posts How to get the output from submit com... Joanna2016 CLIST & REXX 10 Tue Feb 06, 2018 7:26 am
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us