Hi Lindy,

You asked "How do I code the PARM= in JCL such that each parm gets its own
address?"

Unfortunately the PARM field as supplied via JCL, does not work in a similar
way to parameters passed from one program to another.

>From a JCL perspective the PARM field is always considered a single entity
of up to 100 characters, and hence has a single pointer. It is just the way
the system is designed.

A possible quick method of segmenting the PARM field in the way you require
with each element between commas being treated as a separate entity would be
to front end the program on the EXEC statement with a REXX routine, which
PARSEs the JCL PARM, and uses LINKPGM or some such to invoke the original
program.

Kind regards - Terry

Terry Sambrooks
Director
KMS-IT Limited
228 Abbeydale Road South
Dore, Sheffield, S17 3LA, UK

Tel: +44 (0)114 262 0933
WEB: www.legac-e.co.uk

Company Reg: 3767263 at the above address

All outgoing E-mail is scanned, but it remains the recipient's
responsibility to ensure their system is protected from spy-ware, trojans,
viruses, and worms.  

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

Reply via email to