Hi,
My jcl (using syncsort) sorts some records fetched from the db. I need to add header and trailer to it.
Header should contain datestamp and should be like this
0,YYYYMMDDHHMM
Trailer
Should have the number of records fetched.
How can I achieve this
Pls help
Thanks in advance
need Header in this format yyyymmddhhmm,im using SYNCSORT
Moderators: Frank Yaeger, Moderator Group
-
- Member
- Posts: 10
- Joined: Wed Apr 02, 2014 9:59 pm
Technical questions are Not supported via PM. As has happened with you (for one thing) is that the one person you sent the PM may not be available. In my case I was stuck in the hospital for a couple of days. . .This is Sandeep
I've raised an issue in the forum yesterday regarding the timestamp format in the header for a syncsort program.
Could you pls help me out in that
I've been given the task to complete it by today.
Thanks
We do not have the staff nor the intention to support forum dialog via PM. The forum is for every user not a one-on-one.
The duplicate of this topic has been deleted. Duplicate postings are not permitted and when dound, they are deleted.
Have a good one
To do what you want get the timestamp you want from db2 and use this in the header.
Let sort generate the count in the trailer.
There are multiple examples of creating headers and trailers in the forum. When you have a problem, post what you tried and what happened.
Also, if is Not a good idea to come to a forum with something you want/need that day . . .
Let sort generate the count in the trailer.
There are multiple examples of creating headers and trailers in the forum. When you have a problem, post what you tried and what happened.
Also, if is Not a good idea to come to a forum with something you want/need that day . . .
Have a good one
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page