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
how to compare two datasets without using superce because output is limited to 133 bytes
What is the function of the dd avgrec keyword in sms datasets?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
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?
What is the function of the dd dcb keyword?
Are there any set of rules for the names of the steps used in a job?
What does a disposition of (new,catlg,keep) for a dsn mean?
Explain the function of //cntl statement?
In sms datasets, what is the function of the dd avgrec keyword?
What statement can be used to send data to another mvs jes3 node?
How do you submit a job for execution?
How dummy is used in jcl?
What is the difference between the positional and keyword parameters? Give examples.
What are the jcl procedures?
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