Sorry, I didn't see Sri's remarks (no pun intended) until after I had replied.
-Original Message-
From: IBM Mainframe Discussion List On Behalf Of
Pommier, Rex
Sent: Thursday, March 7, 2024 3:59 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [EXTERNAL] Line comments in DFSORT
Actually it is documented. They're just not called comments. Look up "remark"
in the DFSort application programming guide.
Rex
-Original Message-
From: IBM Mainframe Discussion List On Behalf Of Bob
Stark
Sent: Thursday, March 7, 2024 2:03 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Line comments in DFSORT
I just did an experiment in DFSORT with JCL-style line comments after INCLUDE,
SORT, and OUTREC, and they work!
The DFSORT doc says that comments are only supported when entered with * on
column 1.
When was this implemented, and why isn’t this documented? Do you think it is
safe to rely on?
I sent this question to dfs...@us.ibm.com but it bounced right back, perhaps
there are DFSORT developers here.
Regards,
Bob Stark
//STEP1EXEC PGM=SORT
//SYSIN DD *
INCLUDE COND=(9,1,CH,EQ,C'3',|, PART NUMBERS ENDING IN 3
9,1,CH,EQ,C'5',|, PART NUMBERS ENDING IN 5
9,1,CH,EQ,C'7') PART NUMBERS ENDING IN 7
SORT FIELDS=(10,30,CH,A)SORT ASCENDING BY DESCRIPTION
OUTREC BUILD=(2X,10,30,3X,1,9,3X,68,10) DESCRIPTION, PARTNO, CATEGORY
//SYSOUTDD SYSOUT=*
//SORTOUT DD SYSOUT=*
//SORTINDD DISP=SHR,DSN=
--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
--
The information contained in this message is confidential, protected from
disclosure and may be legally privileged. If the reader of this message is not
the intended recipient or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any disclosure,
distribution, copying, or any action taken or action omitted in reliance on it,
is strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by replying to this
message and destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
--
The information contained in this message is confidential, protected from
disclosure and may be legally privileged. If the reader of this message is not
the intended recipient or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any disclosure,
distribution, copying, or any action taken or action omitted in reliance on it,
is strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by replying to this
message and destroy the material in its entirety, whether in electronic or hard
copy format. Thank you.
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN