GeekInterview.com
Series: Subject: Topic:

Mainframe Interview Questions

 
Sub Categories (+ View)
Subject Name
Questions
Answers
Last updated
25
63
Dec
3rd,
2012
233
941
Feb
20th,
2014
207
440
Mar
10th,
2014
43
29
Oct
31st,
2013
151
529
Aug
6th,
2013
44
123
May
20th,
2013
Showing Questions 1 - 20 of 70 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

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

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

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.

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=N1233

am i right

   

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

How to test the given dataset is empty (or) not through jcl in mainframes?

Asked By: ANIL | Asked On: Jun 16th, 2006

Answered by: Srinivas reddy Polepalli on: Jul 23rd, 2012

Here we can verify the empty data set using the utility IDCAMS. For example: "jcl //SYSIN DD * PRINT INDATASET(INPUT DATA SET NAME) - CHARACTER COUNT(1). He...

Answered by: Uday Suthapalli on: Jul 4th, 2012

We can do it using sort aswell.. //EMPTYCHK EXEC PGM=SORT //SYSOUT DD SYSOUT=* //SORTIN DD DSN=INPUT.FILE,DISP=SHR ...

What is the difference bet iewl & hewl linking pgms?

Asked By: hema | Asked On: Oct 7th, 2006

Answered by: Karthikeyan Santhanam on: Jul 23rd, 2012

Not necessarily the same. Some installations do not allow HEWL as well as they do IEWL. With the same Parms passed, Ive had IEWL give me good results, whereas HEWL failed with the message "A valid entry point could not be found"

Answered by: ofcourseman on: Oct 17th, 2006

Nothing difference.

How to use start keyword in index(ksds) file ? Explain with real time situation where you would use this.

Asked By: naveen | Asked On: Jun 28th, 2007

Answered by: Uday Suthapalli on: Jul 4th, 2012

EXEC CICS STARTBR(datasetname) RIDFLD(readkey) REQID(0) GTEQ END-EXEC

Answered by: prasadmalleboina on: Feb 19th, 2012

start command is used to dynamic read per pus use in vsam ksds files.

A cics pgm 'p1' has t1,t2,t3 transactions. If there is a t1 transaction can be invoked in the system at that time. How many tasks are available in the system?

Asked By: bashamfs | Asked On: Jul 19th, 2007

Answered by: Uday Suthapalli on: Jul 4th, 2012

There will be only one task initiated per transaction.

Based on which scenario , we can prefer static or dynamic call for our program?

Asked By: praveen_s | Asked On: Apr 5th, 2012

Based on which scenario , we can prefer static or dynamic call for our program?

Answered by: Mangesh K on: Jun 20th, 2012

There are various scenarios based on which we can go for either static or dynamic:
1. When module is big then (i.e. module contains lot of lines) static is better.
2. Simplicity is achieved via static call
3. Dynamic call is prefer when module size is less and modules being frequently compiled

Comp variables

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

How to view the value of comp variables?

Answered by: Shyam Sundar M S on: Jun 6th, 2012

Move the comp variable to the variable with datatype numeric. Then you could be able to display this variable."cobol WORKING-STORAGE SECTION. 05 COMP-VAR PIC 9(4) COMP VALUE 5000. ...

What is retrofit analysis?

Asked By: taratanaya | Asked On: Nov 5th, 2006

Answered by: vasundara on: May 21st, 2012

Rate analysis of retrofitting

Answered by: biswajeet kumar on: Feb 21st, 2007

Retrofit is nothing but, adding the misiing code when (when version is in producton and the 2nd you are working in development region)2nd case arrises when two differeng region codes are to be merged ...

Combining first two rec as one rec in third file.

Asked By: mannurusrinivasulareddy | Asked On: Mar 23rd, 2012

I am having file1 and file2, and result should be as follows in file3 file1 file2 file3 1 11 111 2 12 212 3 13 313 4 14 414 5 15 ...

Answered by: gandikotasiva on: Apr 27th, 2012

Here you need to go for a counter variable assume(ws-count) read FILE-1 count the length of that record and store it in ws-count move the values from FILE-1 to FILE-3(1:) (make use of referen...

How can I execute a particular job from no. Of jobs?

Asked By: rohit | Asked On: Aug 30th, 2006

Answered by: praveen_s on: Apr 5th, 2012

Yes.. we can exec a particular job using IKJEFT01 utility. A single job can have any number of jobs and 1 job can trigger another job..

Answered by: Hemantha on: Mar 30th, 2012

//jobname job notify=&sysuid,restart=step3 //step1 exec pgm=sort, //step2 exec pgm=sort //step3 exec pgm=sort //setp4 exec pgm=sort,cond=(4,noteq,step3) or cond=(4,gt,step3) //step5 exec pg...

How to use /n , /m , /p infoman tickets ?

Asked By: UNIVERSE | Asked On: Feb 28th, 2012

When navigating in mvs, how and when I need to use /m, /n, /m tickets?

What is fba? For what purpose it is used?

Asked By: its_saru | Asked On: Oct 18th, 2006

Answered by: Jay Walker on: Feb 27th, 2012

I keep seeing FBA defined as "Fixed Block Architecture" all over the internet. Lets think about this for a minute... Times up... F = Fixed = length of each record is identical (e.g., 133 characte...

Answered by: deepalakshmi.s on: Oct 27th, 2006

To my knowledge FBA is Fixed Block Attribute. Whenever you use "After Advancing" in the cobol program for reports,  the mode should be FBA. If it is wrong please let me know.

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.