COBOL Interview Questions
Questions Answers Views Company eMail

why we are using set in searchall?

IBM,

4 3026

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 3250

why we are using picture clause in the cobol programs?

2 3422




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

536

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

1 2129

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

2 4722

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 4203

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

3 9783




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 9775

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 4228

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

Accenture,

5 5702

copy 100 records without using ibm utilities

3 3942

record length in spool?

Infosys,

940

what is the use of outrecord?

550

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

IBM,

2 3957


Post New COBOL Questions






Un-Answered Questions { COBOL }

EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

1004


) How do u handle errors in BMS macro?

417


what is the use of outrecord?

550


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

536


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

798


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

1526


How to use the same COBOL program in Batch and CICS on lines? explain with an example

699


IF I mention stop run in CICS what happens?

735


If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....

176


how to know that the file has 300 records how to acess it?

698


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

901


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

1412


How do you get the data to code the BMS macro?

422


Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?

344


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...

4982