system completion code 837 REASON=00000008 in easytrive prgm

Ask/Clarify the questions on EASYTRIEVE

Moderators: DikDude, Moderator Group

Post Reply
ickgeek23
Member
Posts: 17
Joined: Tue Sep 13, 2011 7:57 am

system completion code 837 REASON=00000008 in easytrive prgm

Post by ickgeek23 » Mon Mar 12, 2012 2:01 pm

I have two input files, I have to read the input file 2 record and check whether the key matches, If matches i need to write in the output file1

input file 1:- key strts from I1-KEY-1 1 00007 A
Input file2:- key strts from I2-KEY-2 4 00007 A
Output file1:-

Program:-
LIST ON
*
FILE INFILE1 VB(0 0)
INFILE1-REC 1 27992 A
I1-KEY-1 1 00007 A
*
FILE INFILE2 VB(0 0)
INFILE2-REC 1 27992 A
I2-KEY-1 1 00003 A
I2-KEY-2 4 00007 A
*
*
FILE OUTFILE1
OUTFILE1-REC 1 27992 A
*
JOB INPUT (INFILE1 KEY (I1-KEY-1) +
INFILE2 KEY (I2-KEY-2))
IF MATCHED
PUT OUTFILE1 FROM INFILE2
END-IF

Its giving an error as system completion code 837 REASON=00000008

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Tue Mar 13, 2012 12:24 pm

Why double post? Look up the error code, determine what sort of error it is, post in the relevant forum section. But choose one section only.
Regards
Nic

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others