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
 
How to test particular record from a file in xpeditor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
tweety

New User


Joined: 12 Jan 2006
Posts: 5
Location: hyderabad

PostPosted: Thu Jan 12, 2006 11:49 am    Post subject: How to test particular record from a file in xpeditor
Reply with quote

hi all,

how to test particular record from a file in xpeditor. Please help me out.

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

tweety

New User


Joined: 12 Jan 2006
Posts: 5
Location: hyderabad

PostPosted: Thu Jan 12, 2006 5:26 pm    Post subject: Re: How to test particular record from a file in xpeditor
Reply with quote

hi all,

I need a quick response. If we want to test a record in a file using xpeditor. How can we do that?

Other than copying that particular record into a seperate file and doing xpedit. is there any other way to check a particular record. Hope i get quick response from u ppl.

Thanks in advance.

twwety.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 12, 2006 5:48 pm    Post subject:
Reply with quote

Please provide mor detailes:

- What kind of file ?
- How do you read it (COBOL/HLASM/PLI) ?
- Do you know the record number ?
- Is it a batch or online Expediter ?
- Did you read the Expediter's manual ?

O.
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Thu Jan 12, 2006 5:56 pm    Post subject:
Reply with quote

while debugging we can forcibly insert values in to the variables and can continue debugging....

U KEEP the variables that holds the record.....and when control comes to that variables...u insert or replace wht ever the values u need......

corrections welcomed......

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

New User


Joined: 12 Jan 2006
Posts: 5
Location: hyderabad

PostPosted: Mon Jan 16, 2006 9:48 am    Post subject: xpeditor
Reply with quote

What kind of file ? It is a flat file
How do you read it read by Cobol
Do you know the record number ? it can be any record number in b/w a file.
Did you read the Expediter's manual ? I read the manual previously posted but couldn't find anything regarding this issue.


"while debugging we can forcibly insert values in to the variables and can continue debugging.... "
How can we insert values while debugging.

"U KEEP the variables that holds the record.....and when control comes to that variables...u insert or replace wht ever the values u need...... "
can u be clear abt this.

Thanks for the response.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Jan 16, 2006 10:29 am    Post subject:
Reply with quote

You can add a counter variable, for example WS-CNT and Increment it after your READ statement. Then issue the following command in the Xpediter command line: "WHEN WS-CNT = nnn", where nnn is your desired record number.

O.
Back to top
View user's profile Send private message
tweety

New User


Joined: 12 Jan 2006
Posts: 5
Location: hyderabad

PostPosted: Mon Jan 16, 2006 3:52 pm    Post subject: Re: How to test particular record from a file in xpeditor
Reply with quote

Hi,

Does "When" command take only the record mentioned in the command or it will continue record by record till that when command?

for example if we want to execute 2nd record and given "When WS-CNT = 2" in command prompt then 2nd record will be executed only after processing 1st record. Meaning When we put break point at the counter variable(WS-CNT) we can avoid seeing processing of some steps of first record. But it is compulsoy that it will execute 1st record which is present before 2nd record which we want to execute and see full processing of 2nd record though there are Break points in b/w.

Correct me if iam wrong. Thanks for ur reply. if u didn't get this mail pls inform me without hesitation.
Back to top
View user's profile Send private message
tweety

New User


Joined: 12 Jan 2006
Posts: 5
Location: hyderabad

PostPosted: Mon Jan 16, 2006 4:35 pm    Post subject: Re: How to test particular record from a file in xpeditor
Reply with quote

I found a solution. Without using "When" Command.

As told previously using the counter variable we can go to that particular record by giving the record count at the counter variable using "keep"
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm

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