> An earlier ply, not quoted here, asserted that column 1 is reserved for 
> carriage
> control.  That seems to conflate source code with SYSPRINT.

Not at all, and more than C'1' in an assembly program makes the source code 
SYSPRINT.

> Does TSO honor "ALLOCATDE DD(SYSUT1)  DSN(*) DLM('xx')  ... ?

No; DLM is for iinstream data sets, not for input from the terminal. BSAM and 
QSAM for TERM only look for /*, although if you can make a business case you 
could submit an RFE.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [0000000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Monday, September 27, 2021 8:42 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: PL/I vs. JCL

On Mon, 27 Sep 2021 15:42:35 -0700, Charles Mills wrote:
.
>
>//SYSIN DD DATA,DLM=xx solves the /* in column 1 problem.
>
+1
In one case I resorted to an exhaustive search to find a digraph
not occurring in a NETDATA sysin.  Ugh!

>PL/I supports specifiable margins, so PL/I source can start in column 1.
>
Which is small solace to the programmer adopting existing sout\rce code.

An earlier ply, not quoted here, asserted that column 1 is reserved for carriage
control.  That seems to conflate source code with SYSPRINT.

A co-worker once supplied some Rexx, all indented one column, presumably
to avoid the "/*" problem.  Didn't work under OMVS, which appears to have
a restriction (undocumented) that "/* Rexx ..." begin in col. 1.

>I recall that the /* is a hardware feature of some card readers. I believe a
>2540 card reader generated some special status (unit exception?) when it
>read a card with /* in the first two columns, so one might ask "which came
>first: JCL or the hardware feature?"
>
Does TSO honor "ALLOCATDE DD(SYSUT1)  DSN(*) DLM('xx')  ... ?

The DLM must be 2 characters in JES3 and up to 8 in JES2 (Conway again).
Underreaching.  It should be long enough to support a random number of
cryptographic strength.

>-----Original Message-----
>From: Phil Smith III
>Sent: Monday, September 27, 2021 3:09 PM
>
>A friend writes:
>
(As in: "Doctor, my friend thinks she might ..."?)

>In a conversation elsewhere I mentioned the oops between JCL using /* as end
>of dataset and PL/I using /* */ for comment brackets - meaning that PL/I had
>to start in column 2 to prevent a comment from being interpreted as JCL.
>Oopsie. Does anyone remember which came first? There was some rumor that I
>no longer remember that one group didn't like the other group so some of
>this done on purpose.
>
Conway's Law, an IBM guiding principle, escalated to bitter conflict.

But, yes, fact checking needed.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to