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
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Write the code implementing the perform … varying.
What is the difference between goback, stop run and exit program in cobol?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What type of SDLC u followed? Why?
how do you reference the ksds vsam file formats from cobol programs
what is search and searchall?what is the diffrence between them?give an best example?
explain sorting techniques in cobol program?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the difference between next sentence and continue in cobol programing language?
Why did you choose to work with ibm mainframe cobol programming?
how do you reference the variable block file formats from cobol programs
What is an in line perform? When would you use it? Anything else you wish to say about it.