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
 

 

Insert header after certain set of data records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
dilip_bangalore

New User


Joined: 29 Sep 2011
Posts: 27
Location: India

PostPosted: Wed Aug 29, 2012 2:43 pm    Post subject: Insert header after certain set of data records
Reply with quote

Hi,

Kindly let me know if we can insert header after certain set of data records, say header after every 100 data records. Can we achieve this using JCL.

Thanks & regards,
Dilip
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Wed Aug 29, 2012 2:46 pm    Post subject: Reply to: Insert header after certain set of data records
Reply with quote

With JCL, no.

With some JCL which executes some program, yes.

Any particular program you'd like? SORT perhaps?
Back to top
View user's profile Send private message
dilip_bangalore

New User


Joined: 29 Sep 2011
Posts: 27
Location: India

PostPosted: Wed Aug 29, 2012 2:52 pm    Post subject: Insert header after certain set of data records
Reply with quote

Yes through PGM we can achieve this, but I was interested to know if we can do this through JCL as well icon_sad.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Aug 29, 2012 2:57 pm    Post subject:
Reply with quote

Bill,

are you going to repeat what you said,
or figure-out a way to rephrase?
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Wed Aug 29, 2012 3:19 pm    Post subject: Reply to: Insert header after certain set of data records
Reply with quote

Try this useful link.
Back to top
View user's profile Send private message
dilip_bangalore

New User


Joined: 29 Sep 2011
Posts: 27
Location: India

PostPosted: Wed Aug 29, 2012 3:24 pm    Post subject: Insert header after certain set of data records
Reply with quote

Thanks Bill :-)
Back to top
View user's profile Send private message
hailashwin

New User


Joined: 16 Oct 2008
Posts: 73
Location: Boston

PostPosted: Wed Aug 29, 2012 3:27 pm    Post subject:
Reply with quote

Good one Bill! icon_biggrin.gif
Back to top
View user's profile Send private message
srinivasulu.p

New User


Joined: 10 Jul 2012
Posts: 22
Location: india

PostPosted: Wed Aug 29, 2012 3:30 pm    Post subject: Re: Reply to: Insert header after certain set of data record
Reply with quote

where is that link icon_biggrin.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Wed Aug 29, 2012 3:58 pm    Post subject: Reply to: Insert header after certain set of data records
Reply with quote

the link is a recursive link ( points to itself )
because he TS makes the usual/common mistake around here to call anything that is not a user written program JCL

and we waste time explaining that JCL in se does nothing
and is just a way of telling the system what PROGRAM to execute and what DATASETs to use
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


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