Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

COBOL Interview Questions
Questions Answers Views Company eMail

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

1360

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

1371

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

1 3778

If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

Accenture,

4 14439

I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??

HCL,

2 7534

How to solve SOC7. I have the cobol coded as below 01 A PIC 9(4). 01 AIN REDEFINES A. 05 AIN1 PIC S9(4) 01 B PIC 9(4)V99. 01 BIN REDEFINES B. 05 BIN1 PIC S9(4)V99. PROCEDURE DIVISION. START-PARA. INITIALIZE A AIN B BIN. ACCEPT A B. DISPLAY 'VALUE OF A=' A. DISPLAY 'VALUE OF B=' B. DISPLAY 'VALUE OF BIN1=' BIN1. DISPLAY 'VALUE OF AIN1=' AIN1. COMPUTE AIN1 = BIN1 - AIN1. DISPLAY 'VALUE OF AIN1=' AIN1. When i'm executing this code i'm getting SOC7 for A = 12 & B=34. Can someone explain SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE 0 COLUMNS 02- 81 COMMAND INPUT ===> SCROLL ===> CSR ********************************* TOP OF DATA ********************************** VALUE OF A=12 VALUE OF B=34 VALUE OF BIN1=34 VALUE OF AIN1=12 CEE3207S The system detected a data exception (System Completion Code=0C7). From compile unit PROG1 at entry point PROG1 at statement 29 at compile +000004CE at address 00007ECE. Please address how to solve this issue Thanks in advance.

1 5705

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?

1388

How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.

TCS,

5 15587

i have a file which contains records like 10,30,90,50,20,40,80,60,70 i want to display these records in reverse order like 70,60,80,40,20,50,90,30,10 please give me the cobol code (do not sort the records)

Cap Gemini, Mind Tree,

3 11099

Following questions were asked in Capegemini on 8th sep,2012 mainframe test 1.)Condition code for dul recors in VSAM- 2.) Is NULL or =NULL in Select statement 3.)max size of CI 4.)What happens after CI is full 5.)Ques on COND parameter 6.)which among following can not be rolled back a)delete table b.)droptable c)Update d.)insert 7.)groupby and orderby sql querries 8.)Max extents in VSAM file 9.)quesn on DPRTY=(1,10) 10.)range of condition codes in COBOL 11.)occurs clase can not be used at which level? 12.)delimiter in jcl 13.)sort card for file in PGM=SORT 14.)PIC(6) value 120056 possible? 15)question on BLKSIZE Is (20,20) and (20,10) possible? 16.)number of bytes in RDF 17.)Can we use index in WS-section or LK-section 18.)Verify command in IDCAMS used for? 19.)question on Alternate Index 20.)Return code of file attribute mismatch 21.)In which format COBOL variables stored? 22.)what is Alternate of HANDLE? 23.)can SUM,AVG,MIN,ROUND used in numeric and char variable data types? 24.)What is the datatype of FILE STATUS codes in WS-section?

Cap Gemini,

2 6775

01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

IBM,

2 7255

TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr

MNC,

1 6623

I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

L&T,

1 9323

What is Control Break processing ?

iGate,

1 8354

Without using move verb how to move one variable to another.

5 10499


Post New COBOL Questions






Un-Answered Questions { COBOL }

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

1380


What is the difference between a binary search and a sequential search what are the pertinent cobol?

180


What do you understand by psb and acb?

152


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.

3004


What are the pertinent COBOL

1542






What are 77 levels used for?

178


What are the different rules for performing sort operation?

232


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

1324


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

195


explain sorting techniques in cobol program?

200


I have a File that has duplicate records. I need only those records that occur more than thrice.?

6676


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

1105


What is link edit in cobol?

141


What is the difference between PIC 9.99 and 9v99 in COBOL?

183


What is rmode(24)

177