ఎర్రర్ కోడ్లు & పరిష్కారాలు
మెయిన్ఫ్రేమ్ ఎర్రర్ కోడ్లను సులభంగా పరిష్కరించండి
00 - Successful
Operation completed successfully.
పరిష్కారం:
No action needed - operation was successful.
02 - Duplicate Key (READ)
Duplicate key encountered during READ with alternate key.
పరిష్కారం:
This is informational - alternate key has duplicates. Process accordingly.
10 - End of File
End of file reached during sequential read.
పరిష్కారం:
Normal condition - set EOF flag and stop reading.
21 - Sequence Error
Record out of sequence during sequential write.
పరిష్కారం:
1. Ensure records are in key sequence\n2. Sort data before writing\n3. Check key field values
22 - Duplicate Key (WRITE)
Attempted to write record with duplicate primary key.
పరిష్కారం:
1. Check if record already exists\n2. Use REWRITE instead of WRITE\n3. Generate unique key
23 - Record Not Found
Specified record not found in file.
పరిష్కారం:
1. Verify key value is correct\n2. Check if record exists\n3. Handle NOTFND condition
24 - Boundary Error
Relative record number out of range (RRDS).
పరిష్కారం:
1. Check relative record number\n2. Verify file size\n3. Expand file if needed
35 - File Not Found
VSAM file does not exist.
పరిష్కారం:
1. Verify dataset name\n2. Check if file is cataloged\n3. Ensure file is defined
39 - Attribute Conflict
File attributes don't match SELECT statement.
పరిష్కారం:
1. Check ORGANIZATION in SELECT\n2. Verify ACCESS MODE\n3. Check RECORD KEY definition
41 - File Already Open
Attempted to open a file that is already open.
పరిష్కారం:
1. Check program logic\n2. Ensure CLOSE before re-OPEN\n3. Remove duplicate OPEN
42 - File Already Closed
Attempted to close a file that is not open.
పరిష్కారం:
1. Check program logic\n2. Ensure OPEN before CLOSE\n3. Remove duplicate CLOSE
46 - No Valid Next Record
READ NEXT without valid position (no STARTBR).
పరిష్కారం:
1. Issue STARTBR before READNEXT\n2. Check browse positioning
47 - Read Error - Not Open for Input
READ attempted but file not open for input.
పరిష్కారం:
1. OPEN file for INPUT or I-O\n2. Check OPEN mode
48 - Write Error - Not Open for Output
WRITE attempted but file not open for output.
పరిష్కారం:
1. OPEN file for OUTPUT or I-O\n2. Check OPEN mode
49 - Rewrite/Delete Error
REWRITE/DELETE without prior successful READ for UPDATE.
పరిష్కారం:
1. Issue READ with UPDATE before REWRITE/DELETE\n2. Check program logic
ఎర్రర్ టైప్లను అర్థం చేసుకోవడం
COBOL ఎర్రర్ కోడ్లు
- SOC (System Completion Codes): S0C1, S0C4, S0C7 వంటివి - అబెండ్ కోడ్లు
- User Abends: U0001 నుండి U4095 వరకు - యూజర్-డిఫైన్డ్ ఎర్రర్లు
JCL ఎర్రర్ కోడ్లు
- JCL Errors: IEF నుండి ప్రారంభమయ్యేవి
- Return Codes: 0 = సక్సెస్, 4 = వార్నింగ్, 8 = ఎర్రర్, 12+ = సీవియర్
VSAM ఎర్రర్ కోడ్లు
- File Status: 00 = సక్సెస్, 02 = డూప్లికేట్ కీ, 10 = EOF, 22 = డూప్లికేట్ కీ ఆన్ ఇన్సర్ట్
- IDCAMS Codes: IDCAMS యుటిలిటీ రిటర్న్ కోడ్లు
CICS ఎర్రర్ కోడ్లు
- EIBRESP: CICS రెస్పాన్స్ కోడ్లు (NORMAL, NOTFND, DUPKEY, etc.)
- ABEND Codes: ASRA, AICA వంటివి