what is the Difference between SYSIN and PARM ?

Answers were Sorted based on User's Feedback



what is the Difference between SYSIN and PARM ? ..

Answer / saisankar

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

what is the Difference between SYSIN and PARM ? ..

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

what is the Difference between SYSIN and PARM ? ..

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

what is the Difference between SYSIN and PARM ? ..

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

what is the Difference between SYSIN and PARM ? ..

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

Post New Answer

More JCL Interview Questions

what is use of dsn parameter in dd statement?

0 Answers   IBM,


How to check empty file in jcl?

4 Answers   Infosys,


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..........

2 Answers  


We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?

2 Answers  


what are the options in file-aid to edit vsam dataset and to compare data sets.

2 Answers   Ocwen,






what are JCLLIB and STEPLIB in JCL?

0 Answers  


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


proc1,proc2,up to proc5 is there if i want to call proc1 and proc5how can u write the code

2 Answers  


Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?

3 Answers   TCS, Tech Mahindra,


wht do u mean by internal reader in jcl ? wht is the use of internal reader ?

1 Answers   Syntel,


if we compile the cobol+ db2 program now ofter 5 years we need to compile again?

1 Answers   TCS,


Categories