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?
Answers were Sorted based on User's Feedback
Answer / priya
The above code does not work. It gives a compilation error.
Is there any other solution?
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / kb
yes , its right the above code gives compilation errors. I
have checked this
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / bv
It cannot be called directly . Control should go to
section A and start of that section A, perform CALC-INT.
Perform SECTION-A.
SECTION-A
Perform CALC-INT.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / priya
Any para in a section can be called directly. There is no
need to call the section. In this case, the paragraph name
is the same in both the sections, so there should be some
way by which the paragraph can be called directly by using
the section name as the qualifier but now sure how.
| Is This Answer Correct ? | 0 Yes | 0 No |
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
Can we use redefine clause in occurs clause?
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
in how many mode we can open a file ?
hai friends ,i have HSBc exam on this sunday,my platform is Mainframe,i have 1 year exp,pls any one send me placement papers of Hsbc and technical questions on mainframe
6 Answers Citi Bank, CitiGroup, HSBC, iNautix, Wipro,
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?
How can you add a particular field in copybook?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
State the various causes of s0c1, s0c5 and s0c7.
What will happen if we generate GDG (+2) version without generating (+1) version?
what is call by value and call by reference ?
3 Answers Infosys, ITC Indian Tobacco Company,
can any one help -s806