COBOL Interview Questions
Questions Answers Views Company eMail

why we are using set in searchall?

IBM,

4 3180

i need a program by giving input as a abcd in any randem order but i need a output as 1234 related to abcd. i.e,. a for 1,b=2,c.....etc..

IBM,

5 3394

why we are using picture clause in the cobol programs?

2 3504




i need a small 3d program using inline and outline.

567

i want a program using by if, evaluate , string, unstring, perform, occurs?

1 2203

How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.

2 4888

suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.

IBM,

2 4387

How do u know what version of cobol u are using?

3 10082




How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.

Accenture,

6 10200

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

Accenture,

4 4404

Why we need to use redefine clause when we can define the variable seperately... what is actual need....

Accenture,

5 5939

copy 100 records without using ibm utilities

3 4109

record length in spool?

Infosys,

967

what is the use of outrecord?

576

what is a zoned decimal data type and how it will be stored?

IBM,

2 4094


Post New COBOL Questions






Un-Answered Questions { COBOL }

how can i see junk values in dclgen or in hostvariable of comp ?

1469


What are the pertinent COBOL

929


i need a small 3d program using inline and outline.

567


IF I mention stop run in CICS what happens?

785


record length in spool?

967


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

810


Can we change the password using ALTER? anyone tried and changed?

597


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

840


If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

255


Name some of the examples of COBOl 11?

1517


What type of SDLC u followed? Why?

492


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?

195


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.

883


How do u write test cases?

624


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

2165