what is the Difference between SYSIN and PARM ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is their any set of rules for dd? Explain.

664


which utility is used to sort a file in jcl?

750


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1732


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

854


how you can access an uncataloged dataset in a JCL?

656






What does a disposition of (new,catlg,keep) for a dsn mean?

617


What is the purpose of dd dummy statement?

944


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

945


How to execute 2nd and 4th steps among 5 steps in jcl proc?

748


which utility is used to run a cobol-db2 program?

810


What parameter of the job statement is used to limit the cpu time consumed by the job?

840


In sms datasets, what is the function of the dd mgmtclas keyword?

863


Name the parameters which can be used to limit the number of records written to a sysout dataset?

654


Is condition checking possible in jcl? If yes, how?

737


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1751