How do you get parameter from JCL to PL1?
Answer / Kapil Verma
To pass parameters from JCL (Job Control Language) to PL/1, you can use the PARM statement in your PL/1 program. Here's an example:nn* PARM PARAMETER-LIST.n DCl PARAMETER-LIST S size s.s.n DC FD PARAM-FILE OMITTED USING PARAMETER-LIST.n EXEC SQL OPEN PARAM-CURSOR FOR INPUT READING PARAM-FILE;n EXEC SQL FETCH NEXT FROM PARAM-CURSOR INTO :PARAMETER-LIST;n WHILE (SQLCODE = 0) DO ...; ENDDO;n EXEC SQL CLOSE PARAM-CURSOR;
| Is This Answer Correct ? | 0 Yes | 0 No |
what are the ARRAY operations in rpg/400?
Explain the meaning of spufi?
how to get last 100 records in file-aid?
What is z os in mainframe?
Can we move alphanumeric incentive to the numeric field?
suppose I have two tables a and b. Both tables are connected with ssn number as foreign key. I want to retrieve a column data from b table. How will you write a query?
Is therE anybody who knows about TICKLER FILE of RM.??thank you
What is downtime and what might be the reason?
what is difference between file-aid tool and file-aid utility?
State the maximum number of tables that can be joined?
Can you explain create an empty file by using sort?
Write the difference between hidam and hdam databases?