R.,

1. JCL EXEC ...,PARM='parameter'
Can I read data from PARM field in EXEC statement ?
Any ACCEPT ?

It is accessible from the LINKAGE-SECTION:

LINKAGE SECTION.
01  PARM.
    05  PARM-LENGTH    PIC 9(4)   COMP.
    05  PARM-STRING    PIC X(999).

PROCEDURE DIVISION USING PARM.
A00-BEGINN.
    DISPLAY 'PARM IS ' PARM-LENGTH ' BYTES LONG'
    DISPLAY 'PARM=' PARM-STRING(1:PARM-LENGTH)



2. Dynamic allocation
Can I use permanent dataset without DDNAME ?
In other words can I specify dataset name instead of ddname ?

AFAIK, no.


Bye,
Michael

----------------------------------------------------------------------
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