If I am using a PL/1 - IMS DB program, and if my PL/1 program strictly needs one value through the PARM, which it will use it somewhere in the program.
Now, Please let me know where do I enter the PARM parameters for DFSRRC00?
Yes, I am running a PL/1 - IMS DB program, which includes DL/I calls. Your EXEC statement is perfect when I am executing my PL/1-IMS DB program.
But my question is that, in this case, if I also have the need to pass some values through PARM for my program (just any value, where we use get that in the PL/1 procedure statement and then declare it as char varying), In this case, how would I manage to code my PARM parameter in the JCL?
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
Suggest you consider using SYSIN for the data to be provided to the program. As this is new, it should not cause any problem to change the source of the value.
APARM=
Specifies the 1 to 32-character parameter that is passed to the application program as part of the information returned in the INQY call with the ENVIRON subfunction. The parameter must be enclosed in single-quotes (') if special characters are used. Embedded commas (,) are not allowed.