You will probably have to write code for this. Nothing I know of from IBM will take a PARM value and make it available to the invoked program to write with.
Rexx is your friend for this, very simple to achieve using IRXJCL to execute it. HTH Peter -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bill Ashton Sent: Tuesday, February 02, 2016 1:58 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Convert a Parm into a control card Hello friends! I have a teammate working on a z/OS 1.12 system and is trying to make a proc fairly foolproof for his user. He wants to know the easiest way to convert a SET statement or JCL Parm into a control card. This proc needs a DSN and a couple other values as part of a SYSIN for the program, and since we can't use symbolics in pre-z/OS 2.1, I would like a way using standard IBM utilities to take a PARM symbolic and create an output file that I can use as input to the program. The parm input would only be one line, and not longer than 50 chars. Does anyone have any good ideas? Sort? Gener? Thank you and best regards, *Billy Ashton* -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN