Vous êtes sur la page 1sur 2

1.

Coding RECFM=F over RECFM=FB


What is the advantage of coding RECFM=F over RECFM=FB why not F.

If you code with RECGM F

Disadvantages:

1) The read and write operations will be slow.

2) It requires more buffer space also.

Advantages:

1) The predecessor job can not see the blocked data.

2.
calculate total space allocated for file
If file is having space parm as SPACE=(CYL,(10,10)) i.e. 10 primary, 10 secondary. So how much
cylinders totally it will take before dataset filled till end?
*the question should be given clearly is it vsam or non vsam data set if it is non vsam it is
having it is having both 16 primary and secondary extents else it is having 123 primary and
secondary extents

*
the question should be given clearly is it vsam or non vsam data set if it is non vsam it is having
it is having both 16 primary and secondary extents else it is having 123 primary and secondary
extents

*In such case the primary space which is 10 in this case used until it is finished then secondary
memory(10) is stated to use but secondary memory can be used 150 times hence 150+10 160 is
total space available on the cylinder.
*Almost correct VSAM and non-VSAM are important but equally important is whether the
allocation is to SMS controlled dasd. Another factor to consider is that allocations can both get
more and less than 10 cylinders. In some cases an extent will be combined with other extents
depending on physically where the extents are. (ie you could get 6 allocations of 10 cylinders
but it would be 1 extent...) Another factor is that you can use up to 3 extents to get either the
primary or secondary quantity. (in this case you might only get 40 cylinders and be out of
extents...). So the short answer is that you can't say without a lot more information.

3.
Space Identifier (ASID)
What is the name of the job that has an address space identifier (ASID) of one?
*ASID 1 is generally assigned to the master scheduler. Most shops will have the basically the
same first 30 or so ASID tasks.

4. How to Run same steps in a jcl 'n' number of time each time with different input files
without repeating the steps n times?
*While this may not be an elegant solution what I would do is to set up a PROC with a
substitution variable. I would then invoke the PROC n times using n EXEC cards with
the file override substitution.

5. how to by pass the step without cond parameter


6. .//jclsmt dd =SYSOUT (*,intdr) says what?
7. Difference between SYSOUT and SYSPRINT
8. What is the difference between PS and PDS ? If a PS file is almost equal to member of a PDS.
Then what is the neccerasy to use a PS file.?
*I would think if your background is in the PC world you could view a PDS as a folder and a PS
as a file. At times it is useful to group things into a folder rather than having a bunch of
separate files.
The advantage of the grouping is that there are utilities that are designed specifically to
handle these PDS. You still have data set size limits and each member of the PDS must have the
same file characteristics. So you could not combine a member with a lrecl of 1000 and another
with an lrecl of 80 (given fixed records).
The main disadvantage that I would consider is that something might tie up that resource and it
could be unavailable to another job. Also the recovery in the event of a problem is double
edged. You only have to back up 1 data set but if you somehow lose that 1 data set you lose
everything...
9. What is refer back condition in JCL? How this condition used?
A. Referback condition is used in JCL to refer or use a parameter from a previous step. Say we
want to use the dataset from the prev step then we give the syntax-
dsn *.stepname.ddname
and if we want to refer to a prev procedure then syntax is-
dsn *.stepname.procstepname.ddname
we can also referback a pgm name as well and any parameter of a dd statement.
10. What are multiple symbolic parameters. Can we have multiple
symbolic parameters in asingle JCL. If so kindly explain with an
example
A. //MYPROC PROC A=USER02, B= 3390
//STEP01 EXEC PGM=IEFBR14
//DD1 DD DSN=KISHORE.KUMAR.JCLS,DISP=(NEW,CATLG,DELETE)
// VOL=SER=&A
// UNIT=&B
// PEND
//.......................
//.......................
//.......................
//STEP05 EXEC PROC=MYPROC, A=USER04,B=3380

From the above example we understand that we override the existing value of A with a new
value that is USER04 instead of USER02.
11.
How do you concatenate odd/even generations in GDG's?

Vous aimerez peut-être aussi