what is the minimum number of lines a Cobol program should
have to successfully compile and run
Answer Posted / anjibabu
in #2 no need to use display statement.
IDENTIFICATION DIVISION.
PROGRAM-ID. A.
PROCEDURE DIVISION.
STOP RUN.
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is report-item in COBOL?
example for sub strings ? and refernce modifications whit output pls
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.
Why occurs cannot be used in 01 level in COBOL?
What are the access modes of START statement?
How do u write test cases?
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?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Write a program that uses move corresponding.
how do you reference the variable unblock file formats from cobol programs
How many sections are there in data division in COBOL?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?