u have passed sme charecters thru parm parameter in jcl. how do u
code in cobol to recieve the values u gave in parm ?

Answer Posted / graham

by using 'USING' keyword in procedure division and dataname.
one restriction is, declaring length variable and dataname
in linkage section of covol program.

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats the difference between search & search ALL?

5831


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5070


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1064


Differentiate between structured cobol programming and object-oriented cobol programming.

825


Can we change the password using ALTER? anyone tried and changed?

1733


What is the local-storage section?

873


What are 77 levels used for?

838


how do you define single dimensional array and multidimensional array in your cobol?

854


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5581


what is the use of outrecord?

1959


Explain how to differentiate call by context by comparing it to other calls?

894


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

850


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

925


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.

5404


what are decleratives in cobol?

1985