COBOL Interview Questions
Questions Answers Views Company eMail

why we are using set in searchall?

IBM,

4 3419

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 3629

why we are using picture clause in the cobol programs?

2 3692




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

600

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

1 2338

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

2 5231

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 4665

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

3 10608




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 11051

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 4745

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

Accenture,

5 6402

copy 100 records without using ibm utilities

3 4338

record length in spool?

Infosys,

1033

what is the use of outrecord?

648

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

IBM,

2 4375


Post New COBOL Questions






Un-Answered Questions { COBOL }

How to define a array dynamically.....

4650


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?

907


) How do u handle errors in BMS macro

556


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

760


) how do u code after getting data?

555


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

1266


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

729


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

690


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.

2269


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.

302


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

942


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

4372


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

877


How do get the result of your program directly on your pc?

761


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 ?

789