GeekInterview.com
Answered Questions

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

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

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

Answered by: mannurusrinivasulareddy on: Aug 31st, 2012

SD37 - no secondary allocation was specified.
SB37 - end of vol. and no further volumes specified.
SE37 - Max. of 16 extents already allocated.
All indicate dataset out of space.

How to find the total record occurrence count ?

Asked By: katar_s | Asked On: May 5th, 2011

Answered by: mannurusrinivasulareddy on: Oct 5th, 2011

Here is the answer for your question "cobol IDENTIFICATION DIVISION. PROGRAM-ID. RECCNT. ENVIRONMENT DIVISION. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT IN-FILE1 ASSIGN TO DD1...

Redefine

Asked By: rajcandoit | Asked On: Sep 20th, 2010

What is redefine in cobol?

Answered by: Karthik on: Sep 24th, 2012

Truncation happens from left to right.

Answered by: mannurusrinivasulareddy on: Sep 1st, 2012

Its Just like a type conversion If we are having a field in database as alphanumeric and we want to superate the $ symbol and superate the numeric value for calculation as follows ...

Pass values from cobol to jcl

Asked By: sudhakarvunnam | Asked On: Aug 17th, 2010

How can we pass values from cobol to jcl?

Answered by: mannurusrinivasulareddy on: Mar 15th, 2012

we can pass values from COBOL to jcl is only through Files
through return-code we can pass only return code through COBOL to jcl

synt:- Move 16 to Return-code and this can be access in jcl through cond parameter of the jcl step.

Answered by: madhavi on: Jan 19th, 2012

The above 2 ways are to send data from JCL to COBOL not from COBOL to JCL

Read sequential file

Asked By: vijaysimha | Asked On: Jan 21st, 2009

How to read sequential file in reverse order?

Answered by: mannurusrinivasulareddy on: Oct 10th, 2011

open file in reverse

i.e OPEN input file-name Reverse

Answered by: mf.vannan on: Aug 12th, 2010

Hi guys

input file
======

a
n
d

to get outupt
==========

d
n
a


if you use the desc sort, output will be display as z to a

if you insert the sequence no on file, than sort to get reverse order.

syntax is

OUTREC = (1, 5, SEQNUM, 5, ZD)

sequence no will be stored in 6 to 10



Regards
Rasipuram Manivannan M

What will happen if a cursor is opened again before closing?

Asked By: Manish Lalwani | Asked On: Sep 13th, 2007

A cursor is opened.After fetching few rows. It is opened again before closing it.What will be the result?

Answered by: mannurusrinivasulareddy on: Sep 1st, 2012

It give -502 error code i.e already the cursor was opened

Answered by: mf.vannan on: Jun 25th, 2010

If cursor is opened again before closing The error will be happen as Cursor already opened. Error code is 501

Rgds


Rasipuram Manivannan M
Contact: =91-9486115495
 

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

There are 100 steps in a job card.If we want to execute 100th step,what to do? And but remaining 99 steps should not execute

Asked By: sireesha | Asked On: Feb 28th, 2006

Answered by: Natrayan on: Mar 5th, 2013

Using IEBEDIT utility to run a particular step with out use of COND Parameter

Answered by: mannurusrinivasulareddy on: Sep 2nd, 2012

In job-card place "Restart=step100,cond=(0,LE)"

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

   

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

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: