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 5639

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 9475

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 4744

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 6073

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 8038

what is the coding difference between COBOL and CICS.

Cap Gemini,

8 19689

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

2 6573

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 7122

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.

1733

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

4 5455

what is a null indicator in db2?

Fiserv, IBM,

5 20105

In COBOL "BEFORE" advancing is there or not ?

3 6059

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.

1783

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

1 4751

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

4 8129


Un-Answered Questions { IBM MainFrame }

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

717


how can you copy to a vsam cluster?

627


What is the function of the steplib dd statement?

744


What is dynamic transaction backout?

675


Explain db2.

620






How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1801


Why is it required to have a keyed directed retrieval?

561


What is the mainframe testing? Categorize the mainframe manual testing?

528


What is auto status?

1143


What are the functions available in rexx?

529


How can you classify the locks in db2?

636


Explain the maximum number of levels allowed in ims db?

3347


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

628


What are the advantages of vsam over isam?

692


Explain how to move cursor to a particular field when position is not known?

540