This is a nice illustration of some general rule that probably deserves a psychological study.
First, there was JCL. Then, SYSIN data, which (naturally) was terminated by the next JCL card (which always start with //). Then, some wanted a way to put JCL in SYSIN data. So, DD DATA was invented. But wait, how do you stop DD DATA? So, /* was invented. But wait, now I want to read in a few /* cards too! So, DLM= was created. Now, the JCL team declared the next complaint would get the requestor a punch in the face. So, naturally every SYSIN stream ever created has a useless /* at the end, and DD DATA without DLM has only been coded once since 1969. sas On Wed, Oct 14, 2020 at 3:15 PM Sri h Kolusu <[email protected]> wrote: > > (I would have used IEBGENER. "New Hammer" phenomenon.) > > Old habit :) > > >>> What does the "$$" after the "/*" do? > > It is terminating the >//SORTIN DD DATA,DLM=$$ > > Since I am building the JCL in-line, I had to use the DLM > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
