DD DATA,DLM='xx'' suppresses recognition of a null statement, but I suspect that a /*EOF on the internal reader will terminate the job prematurely. BAD.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List on behalf of Paul Gilmartin Sent: Wednesday, May 7, 2025 2:42 PM To: [email protected] Subject: Re: Check for ENQ at GDG level from rexx (non-ispf) External Message: Use Caution 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? >/* 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? Otherwise, SYSIN could be a concatenation, with each part specifying a different DLM. >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. 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". -- gil ---------------------------------------------------------------------- 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
