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
 

 

How to access a particular record in a file using XPEDITER

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
adapalam

New User


Joined: 14 Mar 2007
Posts: 6
Location: hyderabad

PostPosted: Wed Jun 20, 2007 10:13 am    Post subject: How to access a particular record in a file using XPEDITER
Reply with quote

Hey Guys,
Can anyone let me know how do we skip a particular set of records so tat we can access only one particular record.....
What i mean to say is that suppose we have a file which consists of 10 records and in xpediter i just want to access the 8th record what shud i do? ...wht command or procedure shud i follow in order to access only the 8th record ...
Plz can anyone help me out

Thanks
Back to top
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Jun 20, 2007 10:59 am    Post subject:
Reply with quote

1. in the input file drop first 7 records, and xpedite 8 th record

or
2. In xpeditor set break points
Back to top
View user's profile Send private message
kousalya26

New User


Joined: 06 Jul 2005
Posts: 21
Location: chennai

PostPosted: Thu Jun 21, 2007 9:30 pm    Post subject: Re: How to access a particular record in a file using XPEDIT
Reply with quote

If you have a key field in that file, you could use that working storage field name and use "WHEN" command.
For eg.if you have the file with student id as a field and 8th record in the file has student id=100, then you could use the command
Code:
WHEN student-id = 100

and then "F12" to jump to the code which reads the record from the file.

Thanks,
Kousalya
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm


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