i) Difference between ps, esds,
ii) Difference between lrecl, blksize among PS, PDS issues?
i.e in jcl at dcb
Answers were Sorted based on User's Feedback
Answer / tanmay
(i)Ps stands for Physical sequential data set and ESDS is a
VSAM data set defined as Entry sequenced data set.In ESDS
records are processed one at a time in the order which they
were loaded.
(ii)lrecl stands for logical record length and blocksize
will be the multiple of lrecl.Lrecl gives the actual length
of the record and block size tells what unit of bloch has
been assigned on the DASD for that record.In DCB of JCL the
diference between PS and PDS are that the PDS will contain
one extra quantity called "directory blocks" alongwith
primary and secondary quantity whereas Physical Sequential
(PS) will contain only the primary and secondary quantity.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sush
PS IS THE NONVSAM DATASET AND ESDS IS THE VSAM DATASET.
LRECL IS THE LENGTH OF THE RECORDS IN PS OR PDS.
WHERE AS THE BLOCK SIZE IS THE AMOUNT OF VOLUME WHIH THE
JOB CAN OCCUPY ON THE DASD.
SYNTAX FOR DCB=(TRK,(PRIMARY,SECONDARY,BLOCK
SIZE),RLSSE,ROUND)
IN DCB PARAMETER FOR PS WE DONT GIVE DIRECTORY BLOCK SIZE
AS WE CANNOT ADD MEMBER IN PS WHERE AS IN PDS IT IS
MANDATORY AS IT DEFINES THE NO NUMBER OF MEMBERS THAT CAN
BE ADDED IN THE PDS BY FORMULA (6*N)-1 WHERE N= NO IN
DIRECTORY BLOCK FIELD
| Is This Answer Correct ? | 2 Yes | 1 No |
how to concatenate datasets
what are the types of abends that occur on job failure? And explain the possible causes of these
What are s0c1, s0c4, s0c5, s0c7 and socb?
which parameter is use to declare the name of dataset in dd statement?
how are instream data terminated?
Which storage devices are grouped under DASD and SYSDA ?
which parameter is used to check the syntax of a jcl without executing it?
How to get cursor position from system in CICS environment ?
I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K
Name a few IBM utility programs, and explain its function.
What is the function of a dd statement?
what is fixed length and variable length and difference between them