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 |
Is acct parameter mandatory?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is Backward Referencing ?
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
how to create a member or sequential dataset through tso command??
How to use COND Parameter in jcl
How can values be passed from the job stream to an executable program?
At what stage, operator can change the class and priority of a submitted job?
How to compare 2 files using File-Aid?
What are the valid DSORG values ?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?