How will you solve se37, sb37 and sd37 abends (insufficient disk space abends)?
How to find the total record occurrence count ?
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...
What is redefine in cobol?
Truncation happens from left to right.
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 ...
How can we pass values from cobol to jcl?
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.
The above 2 ways are to send data from JCL to COBOL not from COBOL to JCL
How to read sequential file in reverse order?
open file in reverse
i.e OPEN input file-name Reverse
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?
A cursor is opened.After fetching few rows. It is opened again before closing it.What will be the result?
It give -502 error code i.e already the cursor was opened
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
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...
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 ...
Using IEBEDIT utility to run a particular step with out use of COND Parameter
In job-card place "Restart=step100,cond=(0,LE)"
Under what special condition can we use exec statement in procedures?
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
//PROCNAME PROC //STEP1 EXEC PGM=SORT //DDNAM DD DSN=XXX.YYY.ZZZ...... // ........................ //
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?
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...
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...
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...
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.