S0C7 ISSUE – FIND THE INVALID (FAULT) DATA
When a S0C7 happens due to invalid data in a file, how do you find the invalid data in the file?
For this you can make use of FILE MANAGER or FILE AID
In file manager, open the file with its copybook, and then issue the command “FE” which will point you to the first error field. Keep pressing ENTER to go one by one error records.
In FILE AID, open the file with its copybook, and then issue the command.
“F /FIELD NAME INVALID”
“F /FIELD NUMBER INVALID”
This will show you the error in that particular field.
Example: F /ACCT-NO INVALID or F /2 INVALID
Here ACCT-NO is the field that you to want look in for error data. Also ACCT-NO is in the second field in the COPYBOOK.
In United States, If you would like to Earn Free Stocks, Credit card Points and Bank account Bonuses, Please visit My Finance Blog
You may also like to look at:
|Working on Mainframes – Is Change to a different technology necessary|