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.
- 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 ?
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.
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.
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.