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 is the function of the steplib dd statement?
How jcl is used for testing batch programs?
Where & How Do You Code Identifier In Jcl?
when can a job time-out occur? How to overcome that?
What is jcl in mainframe?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What are the utility programs in jcl?
What is the format of comment statement?
What is the significance of addrspc parameter in exec statement?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
how to do automated restart when a job abends?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What is use of restart and how to use it?
Must tape dataset definitions include vol=ser specifications?