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 |
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
I have a File that has duplicate records. I need only those records that occur more than thrice.
can a job be submitted through jcl only? is there another way to submit a job?
what are the options in file-aid to edit vsam dataset and to compare data sets.
How do you access a file that had a disposition of KEEP?
how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.
please could u tell me the difference between SORT, SYNCSORT,CA-SORT, DFSORT,
how to convert fb to vb in jcl ?
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
How is a GDG base created?
how to allocate a dynamic dataset in jcl ?