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 6024

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 9936

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 4928

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 6298

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 8391

what is the coding difference between COBOL and CICS.

Cap Gemini,

8 20349

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

2 6770

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 7366

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.

1824

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

4 5798

what is a null indicator in db2?

Fiserv, IBM,

5 20554

In COBOL "BEFORE" advancing is there or not ?

3 6369

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.

1865

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

1 4909

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

4 8477


Un-Answered Questions { IBM MainFrame }

What is db2? Explain.

692


Explain about record currency?

573


What is task control?

693


What is the term “where” for?

652


Explain the difference between the xctl and link commands?

594






What is a system catalog table in db2?

689


How are data passed from jcl parm to assembler program?

662


Write in brief about clusters?

659


Define cobol?

986


How can we read records for specific member in CL? AND rpg?

326


how to compare two datasets without using superce because output is limited to 133 bytes

1624


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 ......

11164


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

925


What is plan and package in mainframe?

601


what is “Cond= even” and “Cond=only”?

858