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 do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
what is use of dcb parameter in dd statement?
What is Backward Referencing ?
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
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
what is the purpose of coding notify parameter in job statement?
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.
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.
what is check pending option
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?
jcl is like a complier....?
//step#3 exec pgm = hkbc762 what is wrong with the syntax?