GeekInterview.com
Series: Subject: Topic:

Mainframe Interview Questions

 
Sub Categories (+ View)
Subject Name
Questions
Answers
Last updated
24
65
Jul
16th,
2014
233
957
Oct
14th,
2014
207
456
Sep
22nd,
2014
43
29
Oct
31st,
2013
148
539
Sep
15th,
2014
44
131
Sep
24th,
2014
Showing Questions 1 - 20 of 178 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Flat file with header and trailer

Asked By: chennadi | Asked On: Jun 29th, 2014

I have 1 flat file with header and trailer. I want to get the average sal ( sal is 1 column). Please provide me the correct answer with explanation. thanks in advance sharath

Enable ssl encryption in mainframe

Asked By: AlanLeung | Asked On: Jun 9th, 2014

How to configure pcomm and mainframe to enable ssl encryption? how to import the certificate to pcomm & mf?

Ieb vs iem

Asked By: niharsahani_infy | Asked On: Sep 20th, 2008

What does ieb and iem refer to when it comes to ibm utilities?

Answered by: Rashmi on: May 21st, 2014

IEB - dataset utilities
IEM- os 360 pl/i
IEH - system utilities

How to import a text file from windows to mainframe ps?

Asked By: shivani | Asked On: Apr 17th, 2007

I want to know that is it possible by using cobol programming?

Answered by: PRADEEP..CR on: Apr 16th, 2014

After opening mainframe, by default it ill show start menu. In start menu select command option, now goto TOOL bar-> there you can able to see one symbol with message" send file to host". Click on that->you will one window. enter your input file and ps in single quoted and click on Receive button.

Answered by: Rajiv Mohapatra on: Jul 16th, 2007

Not going by the previous complicated ways u can check ur emulator software for file uploading facility.Go into the option 6 in the TSO screen then in ur emulator's menu select Transfer File ->...

Program name discrepancy

Asked By: psmadhusudhan | Asked On: Dec 22nd, 2009

What will happen when there is a discrepancy between program name and program-id name?

Answered by: pradeep on: Apr 9th, 2014

It ill not give any compilation error, it ill execute successfully. But when u are mention in link edit you have to give correct program-id name or else it ill give error.

Answered by: RAHUL on: Jan 22nd, 2014

Both should be same, else it will throw error while compiling

Finding cobol or cobol - db2

Asked By: clrMFint | Asked On: Feb 20th, 2014

How to find a program whether it is a cobol or cobol-db2 program by looking at jcl?

Answered by: saransh on: Mar 14th, 2014

The JCL must have a DBRM module in the JCL.

How will you solve se37, sb37 and sd37 abends (insufficient disk space abends)?

Asked By: Nishapriyanka | Asked On: Aug 28th, 2012

Answered by: PAVAN on: Jan 13th, 2014

What is unit parm

Answered by: Muttaiah on: Oct 12th, 2012

Im working in a support project..I used to encounter SB37 & SE37.. SB37: When ever you get this abend. Try to increase the primary and secondary space as per the number of records in input file.. One...

Types of procs in jcl

Asked By: ramya05 | Asked On: Apr 30th, 2008

What are the different types of procs available in jcl?

Answered by: Amar on: Dec 16th, 2013

There are 2 types of procs is there.
1.Instream proc
2.catalog proc

Answered by: guraddiv on: Apr 30th, 2008

Hi ramya,   There are 2 types of procs in jcl    1. Instream Procedure    2. Cataloged Procedure

(1)how many bytes will take the redefine in this situation 01 a pic 9(2). 01 b redefines pic 9(2).(2)what is null & not null value in db2?(3)what is changeman tool in the mainframes environment...

Asked By: sumanth | Asked On: Jul 14th, 2007

Answered by: Ananh on: Nov 26th, 2013

2 byes only

Answered by: sadiq on: Sep 21st, 2013

Changeman tool is a version control tool..it is used to update or edit the existing program.. In the below program here if we want to update or to add or else to edit any snippet then in the real tim...

Ims query

Asked By: Vishy007 | Asked On: Sep 21st, 2013

I have a file to read ( which has many records ) & to insert the records in a database. if I encounter a record which is already inserted in ims database ( which is a double insert , ims code = ii ), then I need to skip that record & continue reading the next good records in the file to insert into...

How to combine two gdg 's into a single gdg?

Asked By: praveena | Asked On: Jun 14th, 2006

Answered by: vinod.thete on: Aug 31st, 2013

we can achieve using ICEGENER Utility also "jcl //step EXEC PGM = ICEGENER //SYSUT1 DD DSN=AISSTMP.MILN.TEST(0), // DISP=SHR // DD DSN=AISSTMP.MILN...

Answered by: jvsamycts on: Oct 10th, 2009

Use IEBGENER and give the two gdg's in SYSUT1 and concatenated gdg will be created in SYSUT2. SYSIN should be DD DUMMY.

Vsam related

Asked By: gandikotasiva | Asked On: Apr 27th, 2012

How to change the key field in a vsam file?

Answered by: Robert on: May 9th, 2013

You have to delete and redefine the vsam file using the new key definition with IDCAMS

Answered by: Prasad on: May 14th, 2012

You cannot change the key in a VSAM file. Key is defined while defining the file, so the starting position and length remain the same and there is no alter command to change the key.

How to turn off mouse?

Asked By: Utsav Kumar | Asked On: Dec 18th, 2012

Hello geeks, actually I download a lot of torrents and that means my desktop is on most of the times. So for power saving purposes I do switch off my monitor using hotkeys. Recently I was thinking that maybe I can turn off my mouse too which may save a little more power. (if anything can be saved, it...

What is the difference between plan & packagewhat is difference between views & joinswhat is db2 stored procedures? How to work it in mainframehow to calculate n th maximum valueif the error code -811...

Asked By: latha | Asked On: Aug 22nd, 2007

Answered by: mannurusrinivasulareddy on: Sep 1st, 2012

1. Plan is executable,Pakage is non-executable and Plan contains packages. n No. of pgms contains n No. of packages but only one plan. 2. View is Just a logical table to Base tables for ex: if we are...

Answered by: viji.mumbai on: Oct 3rd, 2007

Hi Latha,I could suggest you to refer DB2-SQL Red books And online help while working with mainframe.Anyhow, I will answer to few of your questions.Plan is executable code and it contains access path ...

Explain the process of resolving soc4& soc7 errors?

Asked By: satish_j10 | Asked On: Dec 6th, 2005

Answered by: mannurusrinivasulareddy on: Aug 31st, 2012

Hi friends, just keep the disposition as DISP=( , CATLG,CATLG) your file will process the up to the good record and from the abended record wont processes. i.e if the file contains 5000 records and t...

Answered by: Blackframe on: Jan 14th, 2009

The only simple solution i can think of is, try expediting the code and press F12. Its should abend and stop at the problem statement.This would give you the record details and values you need to iden...

Under what special condition can we use exec statement in procedures?

Asked By: Ruchir | Asked On: Feb 20th, 2006

Answered by: mannurusrinivasulareddy on: Aug 31st, 2012

When we are doing any manipulations on files like sorting,merging,copying....etc with a file using a utility or pgm in a catalog proc we use EXEC

Code
  1. //PROCNAME PROC
  2. //STEP1 EXEC PGM=SORT
  3. //DDNAM DD DSN=XXX.YYY.ZZZ......
  4. //               ........................
  5. //

Answered by: siva on: Jul 18th, 2006

While you want execute a program inside a procedure we can use           Exec Pgm=N1233am i right   

Passing data dynamically

Asked By: sprabodhini | Asked On: May 21st, 2008

How data can be passed to a dynamically called module without using linkage section?

Answered by: ahobalanag on: Aug 25th, 2012

Here are some of the methods I can think of:- 1. Write the data you want to pass from the called program to a temp file. In the called program, read the temp file and get the data. 2. You can use MQs ...

Run a job

Asked By: prabhakar.shanmugam | Asked On: Jul 22nd, 2008

How to run a job without using ispf?

Answered by: ahobalanag on: Aug 25th, 2012

At the TSO "READY" prompt, type SUB . Once you hit enter your job will be submitted. To monitor the job, at the TSO prompt, type SDSF. SPOOL opens up and you can monitor your job.

Answered by: vjjammi on: Feb 18th, 2009

Without submitting the job through the ISPF Facility, we could schedule the same job through CA-7 schedular which makes the job run automatically at the provided schedule. 

Creating dclgen

Asked By: sandyko07 | Asked On: Feb 11th, 2009

How to create a dclgen using tso? How do we include it in cobol-db2 program?

Answered by: ahobalanag on: Aug 25th, 2012

You can run a job like this:-
//DCLGEN EXEC PGM=IKJEFT1B
//SYSTSIN DD *
DSN SYSTEM()
DCLGEN TABLE() +
LIBRARY (

How to prepare for mainframes to clear interview?

Asked By: vardhan.frd | Asked On: Jan 20th, 2012

Tell me any real time error codes ,file status codes in cobol,jcl db2.It will be useful for me in interviews.

Answered by: srinivas on: Aug 8th, 2012

Ya what he said is right,because i have attended 2 interviews till now and faced few same questions from both the companies......and presently i am looking for a change if there are any interviews on mainframes for 2+ years of experience plz mail me srinu.myindia@gmail.com thanks in advance

Answered by: kvenkat2010 on: Feb 2nd, 2012

Very simple. You have to prepare all the modules like JCL, COBOL, VSAM and DB2. Most of the companies repeats same questions upto 60%. So prepare well for those 60%. One simple idea is.. Whenever yo...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Question Categories

CICS Interview Questions

COBOL Interview Questions

DB2 Interview Questions

IDMS Interview Questions

JCL Interview Questions

VSAM Interview Questions

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.