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

Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3 only when step2 of proc executes successfully

3 Answers  


How does jcl act on a cobol code?

0 Answers  


What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?

2 Answers   IBM,


Explain about CBL/PROCESS statement syntax

1 Answers  






If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?

1 Answers   IBM,


how to edit a tape dataset ? asked in wipro

1 Answers   Wipro,


How to get the last but one duplicate record of the file using Sort?

2 Answers   Fidelity,


Explain about LMCOPY -

1 Answers  


Explain the function of dd disp parameter?

0 Answers  


I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.

2 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


Categories