COBOL Interview Questions
Questions Answers Views Company eMail

Can we move X(7) to S9(7) COMP?

1 1072

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

697

Which is not true about evaluate statement

1566

INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

411

2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2099

How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1923

How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

579


Post New COBOL Questions

Un-Answered Questions { COBOL }

What is report-item in COBOL?

704


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8152


What is the Purpose of Pointer in the string?

639


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2327


What is an in line perform? When would you use it? Anything else you wish to say about it.

641






What is difference between static and dynamic call in cobol?

770


In COBOL programming, what is PERFORM? What is VARYING?

667


What is perform what is varying?

701


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

815


What are 77 levels used for?

654


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1866


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.

2001


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17025


For rewrite, why is it mandatory that file needs to be opened?

618


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1918