Wow.... Cool !

Will check it out.

All the best,
Scott T. Harder

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu]on Behalf
Of Clement Clarke
Sent: Wednesday, April 29, 2009 10:17 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Possible new SYSTEM symbols in JCL.

The Jol Universal Command language (which can be used as a replacement
for JCL and Clists, and which can run jobs in Batch or TSO) has quite a
few symbolic variables preset.

Furthermore, User Exits or Macros can be used to set additional
Symbolics at startup, or later.  Symbolic Variables can be tested, or
changed, and full arithmetic expressions (similar to PL/I) can be
performed on them.

These are some of the Symbolic Variables that are set at startup:

%SYSDATE       The current date in Julian format e.g. 09290
%DAY           MONDAY, TUESDAY, etc.
%MONTH         JANUARY, FEBRUARY, etc.
%MONTHNO       01, 02 Through 12
%DAYNO         01 through 31
%YEAR          2009, 2010, etc.
%HOURS         0 through 23
%MINS          0 through 59
%SECS          0 through 59

%SYSUID        System user identification
%SYSPREF       Dataset prefix
%SYSPFK        Program function key number from PANELs

%SYSTEM        MFT, MVT, VS1, VS2, VM, etc.
%SPOOL         HASP, ASP, JES1, JES2, JES3, or Blank

Jol is a free form scripting language similar to PL/I and Rexx.

It is available for Z/OS and a Windows version can create JCL to be
submitted to the mainframe.


Clement Clarke



Scott T. Harder wrote:
> John,
>
> You are not the only one.  I've always found it frustrating that &SYSUID
is
> the only available symbol/variable that is available for use in batch.
> Seems to me that there should be many more.  Aside from the temp data set
> names you can use - and this is no news to everyone - we have to hardcode
> EVERYTHING in JCL.  IBM should start to look at JCL like more of a
scripting
> language, IMO, and provide a lot more of what you originally posted about.
>
> All the best,
> Scott T. Harder
>
>


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

____________________________________________________________
Looking for insurance?  Click to compare and save big.
http://thirdpartyoffers.netzero.net/TGL2241/fc/BLSrjpYVv6vtKLTM9AIrKwmPYyaMZnK8PMtei4cMfUGcJF3rxBIdmnfl9Ak/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to