what is the Difference between SYSIN and PARM ?
Answer Posted / anjaneyulu javisetty
there are two ways to send data to the application prog.
1)parm (for small amount of data)
2)sysin(for large amount of data)
1)parm: is used to send the data to application prog
(eg;.cobol)
upto 100 characters.
2)sysin:is used to send the data to application prog
(eg;.cobol)
large amounts.
examples:
1) using JCL with sysin. //sysin dd *here u code the parameters(value) to pass in to cobol program /* and in program
you use accept variable name(one accept will read one row)/.another way.
2) in jcl using parm statement ex: in exec statement parm='whatever' in cobol pgm u have to code linkage section in that for first value you code length variable and variable name say, abc pic x(4).it will take john inside to read next value u have to code another variable in the same way above mentioned.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
List in order the hierarchical levels of jcl?
Explain the purpose of dd dummy statement?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
what is JCL?
What are steplib and joblib?
how would you create a temporary dataset? And where will you use them?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
how do you access an uncataloged dataset in a jcl?
How jcl is used for testing batch programs?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
what is DSN parameter and DISP parameter is used for?
what is use of disp parameter in dd statement?