how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?
Answers were Sorted based on User's Feedback
Answer / ankur
If the Program is having 'USING' clause with procedure
division then it will be Sub-program.
Eg - PROCEDURE DIVISION USING DFHCOMMAREA.
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / guest
for mainprogram it ends with stoprun,subprogram ends with
exit
Is This Answer Correct ? | 5 Yes | 3 No |
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
Write a program to explain size error.
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
When is a scope terminator mandatory?
What are the different rules for performing sort operation?
How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??
At the minimum, which division of COBOL is enough to be coded?
IF I mention stop run in CICS what happens?
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?