IBM MainFrame Interview Questions
Questions Answers Views Company eMail

if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario

4 8088

a cursor normally gets closed once we provide a commit . If u try to close the same cursor with close cursor command later after providing the commit will there be any sql-error.

3 6372

in the CURSOR declare statement, if i am using an where clause and trying to compare the value with a host-varialble. EXEC SQL DECLARE C1 CURSOR FOR SELECT DEPTNO, DEPTNAME, MGRNO FROM DEPARTMENT WHERE ADMRDEPT = :ADM-DEPT Where would i need to provide value to this host-variable in the where clause. how could i pass value to this host-variable to check it.

iGate,

2 7652

Suppose you are adding a new field in a map, and that field should also be added as a new column in DB2 table. How do you implement this? what is the impact analysis u will do?

Thomson,

2 6917

Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?

Thomson,

1 7605

I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

Syntel,

2 10673

I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.

Mascon,

10 19201

What are the parameter in the job card wihtout which job won't run........

IBM,

10 19160

how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........

Wipro,

4 9074

how can we find nth max salary from A table

IBM,

5 23665

how to take the back up of the DB2 table.

7 19577

I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.

9 10050

Please let me know at which Scenarios we will go for STATIC call or DYNAMIC

IBM,

3 5858

In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference

IBM,

3 9495

Can a array declared with an index be displayed(readable format) in spool?

Syntel, UST,

4 5782


Un-Answered Questions { IBM MainFrame }

How do you stop a db2 database in linux?

570


Can you explain primary aspect of cics?

690


Explain the benefits you can get from mainframe connect?

522


How to do automated restart when a job abend?

791


Does Disconnect and Connect creates page lock in IDMS ?

1022






Write about the self-referencing constraint?

588


Tandem COBOL Interview questions (on TACL,SCOBOL,ENSCRIBE,PATHWAY0

22831


What is the advantages of using IDMS compared to other database systems?

998


How scary is it to write code for a bank?

572


Can I redefine an x(100) field with a field of x(200)?

543


Define psb?

571


What does a ROLLBACK do?

1132


How do you reference the fixed block file formats from cobol programs

709


How do you eliminate duplicate values in db2?

688


What guidelines should be followed to write a structured cobol prgm?

673