How do pass the values to the parameters in cobol

Answer Posted / sushant kumar mohanty

1) PARM (Receive in Linkage Section)
2) SYSIN DD* (Receive with ACCEPT statement)
3) Files ( Declare/Define/Open in the program)

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For rewrite, why is it mandatory that file needs to be opened?

621


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5061


Name some of the examples of COBOl 11?

2684


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588


What is the problem of ordered sequential files access?

698






Why would you use find and get rather than to obtain?

683


How arrays can be defined in COBOL?

663


What are declaratives and what are their uses in cobol?

714


What are the different types of condition in cobol and write their forms.

658


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2112


What the difference is between continue and next sentence?

658


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10608


What is amode(31)

722


how do you reference the variable block file formats from cobol programs

686


what is difference between cobol and cobol/400

21562