can we declare occurs in 01 level?
Answers were Sorted based on User's Feedback
Answer / sreenath
occurs clause cannot be used in '01' level because it is
used to repeat the elementary data item
| Is This Answer Correct ? | 7 Yes | 0 No |
what is the difference between Normal vaiable and comp variable.
Explain what you understand by passing by value.
how to run sub programs using static and dynamic call ...
study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10
Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.
What should be the sorting order for SEARCH ALL?
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
what are the error codes in cobol, db2, cics, vsam , and jcl
Name the divisions, which are available in a cobol program?
What are the different forms of EVALUATE statement?
Write the syntax of a two dimensional array?
wht is the diff b/w if and evaluate stmts ?