u have passed sme charecters thru parm parameter in jcl. how do u
code in cobol to recieve the values u gave in parm ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / gangadhara.m
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 ? | 0 Yes | 0 No |
COMP field occupy ?
WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.
how to transfer the file from pc to mainframe??
Name some of the examples of COBOl 11?
Why would you use find and get rather than to obtain?
WHAT IS SOC3?HOW IT CAN BE RESOLVED?
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
Describe the cobol database components?
How do you set a return code to the JCL from a COBOL program?
input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.
How is sign stored in a COMP field ?
There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.