1. Jol has the ability to read and write files with PL/I or Clist style
statements.
For example:
ALLOC F(INPUT5) SYS1.CONTROL.LIB(%DAY) SHR ;
/* Opens member depending on the day */
OPENFILE INPUT5 INPUT; /* Open the file */
IF ^ EOF(INPUT5) THEN
READ FILE(INPUT5) INTO(A);
further processing ....
2. Jol can read directly from the TSO terminal with the simple READ
instruction, or use a full screen 3270 input with structured fields,
Menu Bars and Pulldown style menus. See the Panel instruction.
http://www.members.iinet.net.au/~mitsu2/JolWebManuals/INS_Panel.html
The 3270 Screen on the Jol Home Page was created with the Panel
instruction. View it here: http://start.oscar-jol.com/home
3. Symbolic Parameter or Variable substitution is available in any Jol
Command.
Jol has most of the inbuilt functions of PL/I. SUBSTR, and so on.
See description at
http://www.members.iinet.net.au/~mitsu2/JolWebManuals/GDE_Compile%20Time%20Facilities.html
4, Jol can create SYSIN card files with SYMBOLIC Variables replaced. So
it is possible and easy to create utility control cards from Symbolic
Variables.
See Declaring Card Image Data Sets here:
http://www.members.iinet.net.au/~mitsu2/JolWebManuals/RefGuide_With_Frames.html
Clem Clarke
Paul Gilmartin wrote:
On Tue, 6 Jun 2017 18:08:54 +0000, Rob Schramm wrote:
That is one surprising thing about Rexx and sort.. that Rexx doesn't have
built in support to call sort without a rigamarole.
This is true of Rexx vis-a-vis many common utilities. Sources of
the surprise:
o Rexx has no construct to connect SYSIN, SORTIN, or SORTOUT to stems;
temporary files are required.
o Rexx has no form of instream data ("here-docments").
o Rexx has no construct like command substitution.
CMS/TSO Pipelines attacks many of these shortcomings. But even that
lacks the ability to connect to inputs and outputs of standard utilities.
Parts of ANSI standard Rexx that IBM has chosen not to implement
provide similar facilities.
-- 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