what is the Difference between SYSIN and PARM ?
Answers were Sorted based on User's Feedback
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.
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / swathi
Also, in SYSIN we can give the data directly. But when you
are using PARM, the data is passed with the help of linkage
section to corresponding program.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / vinay sonar
Maximum length of data that can be given using parm is 100
chatachers for more length use sysin.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / muttaiah
Parm: is used to send only 100 chars max
Sysin: we can pass large amount of data. Say even a file.
when passing data from parm, there should be a linkage
section in cobol program.
whereas in case of sysin there should be an accept stmt for
each line in sysin.
Please do correct me if i'm wrong.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
what are the options in file-aid to edit vsam dataset and to compare data sets.
how would you create a temporary dataset? And where will you use them?
What is COND=EVEN ?
What u mean by include statement in JCL ?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Which statement is used to identify the private libraries in job?
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?
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
wht do u mean by internal reader in jcl ? wht is the use of internal reader ?
Can we give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ?