Should I use STOP RUN in the sub program??why?
Answer Posted / veni
If STOP RUN is used in the sub program, execution will
terminate there itself and it will never come to main
program. Thats why we have to use only GOBACK in the sub
programs.
Normally, we will code STOP RUN only in main programs not
in sub programs.
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
how do you reference the ksds vsam file formats from cobol programs
What is comp-1 and comp-2?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
How do you reference the following file formats from cobol programs?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
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.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What are the pertinent COBOL
For rewrite, why is it mandatory that file needs to be opened?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Write a cobol program making use of the redefine clause.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
) how do u code after getting data?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is difference between static and dynamic call in cobol?