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 |
What is the use of symbol // in jcl?
List the different components of jcl statement?
Explain the function of the dd dcb keyword?
What is the syntax of JCL statement?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Explain about Cobol Subroutines
How to empty the records in jcl
What is the max blocksize for a Tape file?
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?
which utility is used to sort a file in jcl?
how can we override data definitions in jcl. can any one give detailed example