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 |
In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?
Name the divisions, which are available in a cobol program?
Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?
i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
hi. This is Ram.i have one doubt.why can't we display comp-3 variables directly? let me answer quickly plez........
Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.
Without using move verb how to move one variable to another.
which is better either static call or dynamic call? and why?
how the control comes back from subprogram to mainprogram
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
What is tne need to use sub programs in Cobol?