Focal Point
[SOLVED] Abend S46D

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4541006713

February 10, 2009, 08:57 AM
Raghuraman K
[SOLVED] Abend S46D
Hi,

We have program and submit thru JCL job. I got S46D. i have checked my FOCUS code and i got some error. Please look it below the error.
TABLE FILE CDSXREF
PRINT USERID AS 'ULOGID' FAC
BY CDSID
IF CDSID NE ' '
IF FAC EQ 'A '
ON TABLE HOLD AS HOLD01
END
0 ERROR AT OR NEAR LINE 60 IN PROCEDURE ULOGAUDUFOCEXEC
0(FOC348) ERROR WRITING HOLD FILE DESCRIPTION TO HOLD MASTER
0 ERROR AT OR NEAR LINE 60 IN PROCEDURE ULOGAUDUFOCEXEC
0(FOC36219) AN ERROR OCCURED WHEN OPENING FILE: HOLD01
1
0 NUMBER OF RECORDS IN TABLE= 19406 LINES= 5005
0

This message has been edited. Last edited by: Kerry,


Raghuraman K
February 10, 2009, 09:12 AM
j.gross
Make sure HOLDMAST is allocated in the JCL, is partitioned, and (if catalogued) is initially empty and condensed, and not allocated to MASTER.
February 10, 2009, 09:12 AM
<JG>
quote:
46D Explanation: A program issued the ESPIE macro incorrectly:
A hexadecimal reason code in register 15 explains the error:
Code Explanation
04 ...
08 ...
0C ...
10 ...
14 ...
18 The program issuing an ESPIE macro is in a mode that is not valid for one of the following reasons:
* The program is in supervisor state.
* The program that issued the ESPIE macro had a program status word (PSW) storage key that did not match the task control block (TCB) key.


There is an error in your JCL somewhere

But without something to look at it's impossible to say