>//SYSIN DD * >----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 >
> That fails with: IEB339I COMMAND MISSING PRECEDING COL.71 IEB345I CONTINUATION NOT STARTED IN 4-16 Paul, Seriously? That COLS line was for demonstration purposes to show that both the Control cards and Comments are within the first 72 bytes. It is NOT part of the control cards nor is it a comment. > And I was looking for a form where SYSIN contains no commands, only comments. What is the purpose of this? When you are invoking a program/utility, you can pass parameters to the program/utility via a PARM statement or SYSIN. In your case you chose NOT to pass any parameters via SYSIN. That brings us to the question "what is the purpose of having comments?" Comments are coded/added with the purpose of making the Control cards/Source code easier for humans to understand and anyone who is taking over of maintaining it will have a basic idea about what the JCL/PGM is doing. What is stopping you from coding a COMMENTS dd and you can have all your comments in there? //STEP0100 EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SORTDIAG DD DUMMY //SYSUT1 DD DISP=SHR,DSN=Your Input file //SYSUT2 DD SYSOUT=* //SYSIN DD DUMMY //COMMENTS DD * The next million lines describe how the utilities should function and process the data ....... or having duplicate SYSIN DD where the first SYSIN is treated as input to the program/utility //SYSIN DD DUMMY //SYSIN DD * The next million lines describe how the utilities should function and process the data ....... Thanks, Kolusu Sri Hari Kolusu DFSORT Development IBM Corporation Email: [email protected] Phone: 520-799-2237 Tie Line: 321-2237 IBM Mainframe Discussion List <[email protected]> wrote on 12/20/2016 04:28:10 PM: > From: Paul Gilmartin <[email protected]> > To: [email protected] > Date: 12/20/2016 04:28 PM > Subject: Re: IEBGENER SYSIN Comments? > Sent by: IBM Mainframe Discussion List <[email protected]> > > On Tue, 20 Dec 2016 11:35:55 -0700, Sri h Kolusu wrote: > > >o Simple copy; no editing; no Alias, plus > > > >Not sure what you tried but here is an example of having comments for > >IEBGENER Sysin control cards. Took the example documented in the manual > >and copied a 80 byte file. > > ... > >//SYSIN DD * > >----+----1----+----2----+----3----+----4----+----5----+----6---- > +----7----+----8 > > > That fails with: > IEB339I COMMAND MISSING PRECEDING COL.71 > IEB345I CONTINUATION NOT STARTED IN 4-16 > > > GENERATE MAXFLDS=3,MAXLITS=11 $ COMMENT LINE # 1 > > > And I was looking for a form where SYSIN contains no commands, only comments. > > -- 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
