View previous topic :: View next topic
|
Author |
Message |
jalcantara
New User
Joined: 15 Jan 2007 Posts: 3 Location: Manila, Philippines
|
|
|
|
Hi,
I'm getting this error. Can anyone help me how to solve this? Thanks!
IBM0141S ONCODE=41 The TRANSMIT condition was raised because of an uncorrectable error in output ('ONFILE'= SYSIN).
From compile unit GP0685 at entry point GP0685_DELETE_DATASET at statement 1529 at compile unit offset +0000CF96 at
entry offset +000002A6 at address 000DAAC6.
CEE3195W The SNAP dump file could not be opened.
This is the compiled of GP0685:
1524 2 1 | IDCAMS_CONTROL_CARD = ' DELETE ' || THE_FILE;
1525 2 1 | IF DA11_DISPOSITION = 'NEW' THEN
| DO;
1526 2 2 | OPEN FILE(SYSIN) OUTPUT;
1527 2 2 | WRITE FILE (SYSIN) FROM (IDCAMS_CONTROL_CARD);
1528 2 2 | IDCAMS_CONTROL_CARD = ' IF MAXCC LE 8 THEN SET MAXCC=0';
1529 2 2 | WRITE FILE (SYSIN) FROM (IDCAMS_CONTROL_CARD);
1530 2 2 | END;
1531 2 1 | ELSE
| DO;
1532 2 2 | OPEN FILE (SYSIN) UPDATE;
1533 2 2 | READ FILE (SYSIN) INTO (IDCAMS_CONTROL_CARD);
1534 2 2 | IDCAMS_CONTROL_CARD = ' DELETE ' || THE_FILE;
1535 2 2 | REWRITE FILE (SYSIN) FROM (IDCAMS_CONTROL_CARD);
1536 2 2 | END;
1537 2 1 |END; |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I'm sorry, but your post was Greek to me, can you expand on the "product" that you are running on/under/with? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Code: |
1524 2 1 | IDCAMS_CONTROL_CARD = ' DELETE ' || THE_FILE;
1525 2 1 | IF DA11_DISPOSITION = 'NEW' THEN
| DO;
1526 2 2 | OPEN FILE(SYSIN) OUTPUT;
1527 2 2 | WRITE FILE (SYSIN) FROM (IDCAMS_CONTROL_CARD);
1528 2 2 | IDCAMS_CONTROL_CARD = ' IF MAXCC LE 8 THEN SET MAXCC=0';
1529 2 2 | WRITE FILE (SYSIN) FROM (IDCAMS_CONTROL_CARD);
1530 2 2 | END;
1531 2 1 | ELSE
| DO;
1532 2 2 | OPEN FILE (SYSIN) UPDATE;
1533 2 2 | READ FILE (SYSIN) INTO (IDCAMS_CONTROL_CARD);
1534 2 2 | IDCAMS_CONTROL_CARD = ' DELETE ' || THE_FILE;
1535 2 2 | REWRITE FILE (SYSIN) FROM (IDCAMS_CONTROL_CARD);
1536 2 2 | END;
1537 2 1 |END; |
Do you have directions to create this or did you clone from another like it? Your post says:
Code: |
This is the compiled of GP0685: |
Please post the compile jcl and the execution jcl. If you are running in batch your jcl needs a
Code: |
//SYSSNAP DD SYSOUT=* |
statement if a "SNAP" dump is to be created.
Thinking a bit, the SYSIN DD definition is probably not compatable with the code. When it is posted, we'll know more. |
|
Back to top |
|
|
|