-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: 07 May 2025 19:43
To: [email protected]
Subject: Re: Check for ENQ at GDG level from rexx (non-ispf)

On Wed, 7 May 2025 17:28:20 +0000, Lennie Bradshaw wrote:

>>// designates end of JOB
>>
>Why is this useful?  why not let merely let the end of the SUBMITted file 
>designate end of JOB?
You can have multiple jobs within a single file. This was certainly used a lot 
when using a punched card reader.

>>/* designates end of Data (default setting)
>>
>>Note the difference too, between,
>>
>>//SYSIN DD *
>>and
>>//SYSIN DD DATA,DLM=some 2-8 char string (JES2) //SYSIN DD 
>>DATA,DLM=some 2 char string (JES3)
>>
>Does either of these or any alternative, permit a "//" record to appear within 
>SYSIN?
Yes, either of the constructs using DD DATA,DLM=

>Otherwise, SYSIN could be a concatenation, with each part specifying a 
>different DLM.
Yes, it can be. I have used that sort of thing lots of times, particularly when 
working over NJE.

>>When the first is used any JCL statement will terminate the data. The second 
>>requires whatever the DLM value is.
>>
>>You may consider all this bad design. However, it was designed for use with 
>>punched cards back in the early 1960s. Since then, compatibility requirements 
>>have maintained it from being changed in any incompatible manner. 
>>Compatibility has been a major factor in the longevity of IBM mainframe 
>>technology.
>>
>I have no sympathy with maintaining compatibility with a deleterious feature.
It is possible your employers may have a different view. Throwing this out for 
some other design would cause thousands of jobs to fail around the world. I 
don't think IBM want to do that.

>If it's garbage, throw it out.  Alternatively, provide a PEDANTIC JOB 
>statement option as some C compilers have, disabling questionable constructs, 
>prohibiting >anything documented as "unpredictable".
You are free to raise such an "idea". Maybe you can suggest something which 
will improve things. Please see here,
https://www.ibm.com/support/pages/welcome-ibm-ideas-portal 


>--
>gil

Lennie

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to