how to count the number of members in pds?
Answers were Sorted based on User's Feedback
Answer / sonika
We can get the count of members in pds by typing I in front
of the PDS
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / harshita
BY a simple formula i.e. (6n - 1) where 'n' is the directory
blocks that we specify.
ex: If we specify directory blocks = 1 i.e. n = 1,then
6n - 1 = 5 members can be created in a pds.
| Is This Answer Correct ? | 4 Yes | 8 No |
is there any utility for restarting a particular step in jcl reply soon ?
Can we delete the data using IEFBR14 , IEBGENER??
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?
can we bowse or edit the GDG dataset if it is a tape entry?
List some valid operation codes in JCL
what is instream data
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
What is order of searching of the libraries in a JCL?
If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.
which parameter is use to declare the name of dataset in dd statement?