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
 
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: 7315

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: 6968
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: 7315

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: 10309
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 Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

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