Hi,
I'm looking for the suggestion using which I can create create a member with the system-Date and the Time. I can not use ICETOOL. Can I use some other utility to do this?
The date and time should be in yymmdd and hh:mm formats respectively.
Thanks for any help on this.
Timestamp without using a language in JCL.
-
- New Member
- Posts: 5
- Joined: Mon Jul 21, 2014 12:23 pm
- Anuj Dhawan
- Founder
- Posts: 2816
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Timestamp without using a language in JCL.
Dipak,
With SORT, this should help you:
With SORT, this should help you:
Code: Select all
//STEP01 EXEC PGM=SORT
//SORTIN DD *
/*
//SORTOUT DD DISP=SHR,DSN=YOUR.PDS(MEMBER1)
//SYSOUT DD SYSOUT=*
//SYSIN DD *
INREC FIELDS=(DATE1,X,TIME)
OPTION COPY
OUTREC FIELDS=(3,6,X,10,5)
/*
//*
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- New Member
- Posts: 5
- Joined: Mon Jul 21, 2014 12:23 pm
- Anuj Dhawan
- Founder
- Posts: 2816
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Timestamp without using a language in JCL.
Great, thanks for the feedback.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Re: Timestamp without using a language in JCL.
Of course ICETOOL is part of Sort (or the other way around)!
Regards
Nic
Nic
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute