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 |
How can the submitting users racf authority be overridden in a job stream?
How to change default PROCLIB?
Is condition checking possible in jcl?
For what purpose steplib and joblib are used ?
Explain about ISPF/TSO Commands
How can a fb file convert to vb file using sort program?
What statement can be used to send data to another mvs jes3 node?
How can a job send a status message to a tso user at the completion of a job?
how would you create a temporary dataset? And where will you use them?
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........