IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to fetch the alternative records only


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
babujangam

New User


Joined: 14 Dec 2005
Posts: 8

PostPosted: Fri Dec 16, 2005 4:00 pm
Reply with quote

Hi,

I have a file, it contains 707264 records are there. I need first 1 -10 records and skip some records and again read 10 records and again skip
some records.
And all above mention the process i need in the reverse.
how can i get it.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Fri Dec 16, 2005 5:27 pm
Reply with quote

And what is the number of records you want to skip... Is that a fixed value.....??

If yes...I hope it would be possible thru DFSORT....

Regards,

Priyesh.
Back to top
View user's profile Send private message
vanji

New User


Joined: 26 Dec 2005
Posts: 7
Location: pune

PostPosted: Mon Dec 26, 2005 4:54 pm
Reply with quote

can someone come with more clarifications on this
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Dec 27, 2005 8:15 am
Reply with quote

Hi Babu,

I understood everything except this:
Quote:
And all above mention the process i need in the reverse.

Take all the time you need and explain fully.

Also, do you want to do this in a cobol pgm, a utility, in ISPF, etc. Will it be run a test or prod job.
Back to top
View user's profile Send private message
Brian's_song

New User


Joined: 27 Dec 2005
Posts: 21

PostPosted: Tue Dec 27, 2005 2:27 pm
Reply with quote

icon_biggrin.gif
Hi ,
The same as above guy, could pls explain the meaning of
Quote:
And all above mention the process i need in the reverse.

.

Regards
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 4
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Join multiple records using splice DFSORT/ICETOOL 5
Search our Forums:

Back to Top