How do u debug a S0C7 abend? (aswered till we get the field
which caused that)
After knowing the field which caused that how do u know the
record which caused that if it is in production env? (dumb)
Ok let us assume that we got to know that 100th record
caused that and I wanted to skip only 100th record from the
file and process from 101th.
How to do that in JCL using SORT? (tried with STOPAFT
but ended up dumb when he said smthing else is ther)
Answers were Sorted based on User's Feedback
Answer / sandeep negi
If you came to know which field is responsible for that.
you can run your testjcl with output file DISP parameter as
(NEW,CATLG,CATLG), by doing so, your output file will get
created irrespective of SOC7 abend becuase the last record
of your outuput file will be responsible for generating
abend.
Now you can strip off that record (because its bad data)
and run your jcl.
How to Skip any record through JCL -
You can use ICETOOL
//S1 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//IN DD DSN=... input file
//OUT DD DSN=... output file
//TOOLIN DD *
SUBSET FROM(IN) TO(OUT) REMOVE INPUT RRN(100)
this will remove 100th record from your file and will copy
rest all records into ouptput file.
| Is This Answer Correct ? | 3 Yes | 0 No |
How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.
explain sorting techniques in cobol program?
where do we use dyanamic call ? and where do we use static call pls give any example pls ?
What is the significance of 'above the line' and 'below the line'?
What are the pertinent COBOL
how to access vsam files in cobol and how to differentiate that this is ESDS file
What are the different rules for performing sort operation?
Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.
I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?
15 Answers ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Why did you choose to work with ibm mainframe cobol programming?
How To move a value to an array using move verb?