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

how to get records from a particular location


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Hema Madhavi
Warnings : 2

New User


Joined: 24 Dec 2005
Posts: 3
Location: Hyderabad

PostPosted: Tue Jan 31, 2006 2:38 pm
Reply with quote

Hi,

How can i retrive records starting from a particular row. for example i need to fetch records from the 1001th row leaving behind all the previous 1000 records.
Back to top
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Tue Jan 31, 2006 2:51 pm
Reply with quote

Hi in Jcl u can use Repro command or if u r trying thru COBOL program means specify access mode as Dyanamic and use Start command.
Back to top
View user's profile Send private message
sampathkmn
Warnings : 1

New User


Joined: 12 Dec 2005
Posts: 31
Location: bangalore

PostPosted: Tue Jan 31, 2006 3:02 pm
Reply with quote

icon_redface.gif
use random access mode for ur file if u r using vsam file using either RBA or RRN.

or if it is a table u can directly access by specifying primary key.
Back to top
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Wed Feb 01, 2006 6:01 pm
Reply with quote

IN COBOL program specify access mode as Dyanamic and use Start command.
mone 1001 to your key .
You will get the results

PAWAN
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 and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top