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 |
What care has to be taken to force program to execute above 16 Meg line?
Explain what you understand by passing by value.
s9(18) comp-3:: What is the size of memory it takes internally?
what is the diff b/w select stsmt and cursor ?
How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
how you read control card into array?
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?
what is ASRA, AEY9?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?