On Sun, 12 Jun 2011 14:33:39 -0700, Edward Jaffe wrote:

>On 6/12/2011 9:24 AM, Paul Gilmartin wrote:
>> allocate dd(sysin) shr reuse dsn('sys1.maclib(nonesuch)')
>>   READY
>> call *(iebgener)
>>   DATA SET UTILITY - GENERATE                                         PAGE 
>> 0001
>>   IEC141I 
>> 013-18,IGG0191B,user,$STCTSO1,SYSIN,4140,MVS3RS,SYS1.MACLIB(NONESUCH)
>>   IKJ56641I IEBGENER ENDED DUE TO ERROR+
>>   READY
>
>You must already have SYSPRINT allocated somewhere (not shown) or IEBGENER 
>would
>have ended with a simple OPEN failure for SYSPRINT sans abend:
>
>call *(iebgener)
>  IEC130I SYSPRINT DD STATEMENT MISSING
>  READY
>
That just shows it's inconsistent.  Sometimes RC<>0; sometimes Sx13.
I suspect (with no evidence whatever) the utility checks for a DDNAME
allocation (but why bother?)  If it's absent, exit with return code;
if it's present, attempt the OPEN which may ABEND.

IIRC, our TSO LOGON proc allocates SYSIN and SYSPRINT to terminal.
IBM recommends this by example in:

    http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4b4b0/3.2.3.2

    Title: z/OS V1R12.0 TSO/E Customization
    Document Number: SA22-7783-11

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to