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 are the default system and catalog libraries in JCL?

2 Answers   Infosys,


A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)

1 Answers   IBM,


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?

1 Answers   Thomson,


what is the resolution for sb37 error

2 Answers   TCS,






How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?

1 Answers  


I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?

2 Answers  


i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

0 Answers   CGI, Verizon,


What are the jcl procedures?

0 Answers  


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

0 Answers   IBM,


How do you find which GDG is using which dataset?

3 Answers   Patni,


Categories