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



i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e..

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

i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e..

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

Post New Answer

More JCL Interview Questions

how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

0 Answers   IBM,


what is use of dcb parameter in dd statement?

0 Answers   IBM,


What is Backward Referencing ?

3 Answers   HSBC,


01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

1 Answers  


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

0 Answers  






what is the purpose of coding notify parameter in job statement?

0 Answers   IBM,


How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.

10 Answers   Lehman Brothers,


There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.

1 Answers   IBM,


what is check pending option

1 Answers   Fujitsu,


if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?

5 Answers   Accenture,


jcl is like a complier....?

6 Answers  


//step#3 exec pgm = hkbc762 what is wrong with the syntax?

3 Answers  


Categories