IBM MainFrame Interview Questions
Questions Answers Views Company eMail

input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

4 5700

input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.

6 9525

input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 4767

what we will give in the ATI after reaching the trigger level eaither transation or program. EXEC CICS TRANSID() TERMID() TRIGGERLVL() what we have to code eaither TRANSATION OR PROGRAM

TCS,

2 6102

01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name

TCS,

5 8083

what is the coding difference between COBOL and CICS.

Cap Gemini,

8 19788

A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?

2 6610

There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?

3 7167

I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1742

What is the difference between these two parameters? -> accounting information -> class how would it bring the differrence to a program?

4 5507

what is a null indicator in db2?

Fiserv, IBM,

5 20159

In COBOL "BEFORE" advancing is there or not ?

3 6104

input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1795

WHEN I TRIGGER A TRANSACTION (COBOL-CICS-DB2 PROGRAM)WHAT IS THE EXECUTION? (I MEAN THE PURPOSE OF CICS-CONTROL TABLES &CONTROL PROGRAMS)

1 4765

why we go for SPUFI for creating tables or for sql queries?

4 8172


Un-Answered Questions { IBM MainFrame }

What will happen if both steplib and joblib are determined?

502


What is a run unit?

999


Name the sections present in data division.

712


In the EIB block of CICS, highlight the names of few of the important fields?

590


how do you reference the variable unblock file formats from cobol programs

767






i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

907


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

866


How do you pull up a query which was previously saved in qmf?

688


Explain associator in adabas?

493


Explain the maximum number of levels allowed in ims db?

3357


Where is the vsam ksds placed?

566


what is the facility that allows mainframes to be partitioned into lapars? A.z/os b.pr/sm c.vitual storaged.coupling facility

766


Explain in DD statement what is the use of DCB parameter?

674


Give the definition of COMMAREA ?

633


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

830