I don't know what the purpose of your JCL parser is, but treating them like instream data sounds reasonable to me. I'm not PSF Development, so I don't know for sure all the details of that interface, but I think that the subsystem does not have to parse the JCL-like statements themselves. I think the subsystem gets passed a control block with the values in it. I'd probably start with looking at the book z/OS V1R9.0 MVS Using the Subsystem Interface SA22-7642-06 for more details.
--Roger IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU> wrote on 09/22/2008 12:10:37 PM: > On Mon, 22 Sep 2008 12:02:44 -0600, Roger Bolan <[EMAIL PROTECTED]> wrote: > > >John, > > > >Terry is right. Strictly speaking, PRINTDEV is a program control > >statement for a subsystem, not a job control statement. See > >http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp? > topic=/com.ibm.zos.r9.ieab500/iea2b540181.htm > > > >--Roger > > > > I stand (or sit) corrected. But, in my JCL parser, how would I process such > a thing? If subsystems can dynamically add what appear to be control > statements, what should be done with them? In this case, the easiest thing > would be to process them more like "instream data" than JCL. Is that the > correct thing to do? > > How do these "program control statements" get processed by the JCL converter > / intepreter? Are they converted into internal text? > > -- > John McKown > > ---------------------------------------------------------------------- > 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 > ---------------------------------------------------------------------- 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