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 does the jcl specify the job to os?
What are the 2 types of parameters in dd statement?
How would you understand error(execution phase)?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Is their any limit for data sets?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
In job processing, what happens in execution stage?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Can I share my data with other jobs? How?
What do you understand by the term notcat 2 – gs?
How can the disposition of sysout datasets be set for an entire jobstream?
Explain the purpose of dd * statement in jcl?
What is multithreading in jcl?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?