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 VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm

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