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
 
Increment text every 200 records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
anaven1207

New User


Joined: 15 Jan 2008
Posts: 2
Location: India

PostPosted: Fri Jul 25, 2008 3:38 pm    Post subject: Increment text every 200 records
Reply with quote

I have an FB file of N recs. At position, say 45, I have value 'TEXT' in all the N records.

Now, for every 200 records, I need to have value as below, assuming there is enough room for overlaying this field.

TEXT1 1st 200 recs
TEXT2 Next 200 recs
TEXT3 Next 200 recs and so on.

Is it possible to achieve this using SORT ?
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Jul 25, 2008 9:13 pm    Post subject:
Reply with quote

Your description is rather vague. You need to explain what you want more clearly.

What do you mean by "assuming there is enough room for overlaying this field"? Do you expect DFSORT to determine if there is enough room or not by checking for blanks? What if there isn't enough room?

What text do you want exactly in the 200th records - starting in what position?.

For record 200, you show "1st 200 recs" - is that what you really want for record 200? For record 400, you show 'Next 200 recs" - is that what you really want for record 400? What do you want for record 600, 800, etc?

What is the RECFM and LRECL of your input file?
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
No new posts MXG - Processing Compressed DB2 SMF r... vasanthz All Other Mainframe Topics 2 Thu May 10, 2018 12:47 am
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm
No new posts Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am

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