View previous topic :: View next topic
|
Author |
Message |
marc03b
New User
Joined: 19 Aug 2005 Posts: 2
|
|
|
|
Hi,
I am getting the below error:
USER COMPLETION CODE=4087 REASON=00000003
Additional error msgs:
+CEE0374C CONDITION=IBM0181S TOKEN=00030085 59C9C2D4 00000002
WHILE RUNNING PROGRAM UNKNOWN
...
+CEE0374C CONDITION=CEE3204S TOKEN=00030C84 59C3C5C5 00000000
WHILE RUNNING PROGRAM IBMRLIB1
Files are declared as:
File1 FILE RECORD INPUT ENV (V TOTAL SCALARVARYING);
File2 FILE RECORD UPDATE ENV(FB RECSIZE(1103));
The PL/1 program is reading two files. The error is occurring when reading file2 on the 301th record. When file2 has 300 records or less, program runs fine, regardless of number of records read in file1. Program is executing READ command then REWRITE after some data manipulation. I'm thinking it's a memory problem and have tried setting the job parm REGION=0M.
The jobstep is using PLIXG proc to run the PL/1 program.
Any help is appreciated,
Marc |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Please show us the code part of READ, REWRITE statements.
BTW, have you looked at LEMSG DD output? Please post that too. |
|
Back to top |
|
|
marc03b
New User
Joined: 19 Aug 2005 Posts: 2
|
|
|
|
READ FILE(file2) INTO(rec2);
REWRITE FILE(file2) FROM (rec2);
There wasn't a LEMSG DD output. This is a non-EPLI program.
Thanks. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
I'm thinking it's a memory problem and have tried setting the job parm REGION=0M. |
Just out of curiosity, why are you "thinking" instead of researching? You can know by using the manuals rather than "thinking" and guessing about what the problem is. For example, part of the error messages you posted is:
Quote: |
IBM0181S
ONCODE=oncode-value The ENDFILE condition was raised (FILE= or ONFILE= file-name).
Explanation:
The end of an input file was detected. The ONCODE associated with this message is 70.
Programmer response:
Include an ON-unit for the ENDFILE condition for each input file in the program to handle the end-of-file processing.
System action:
The ERROR condition is raised.
Symbolic Feedback Code:
IBM05L |
So I'm "thinking" it's not a memory problem at all, that setting REGION=0M will have no impact upon your error, and that perhaps you ought to be looking at handling the input files in your code better. It took less than a minute to find that via Google on "ibm0181s", by the way. |
|
Back to top |
|
|
|