View previous topic :: View next topic
|
Author |
Message |
t1nt1n
New User
Joined: 08 Jul 2005 Posts: 31
|
|
|
|
1) When you create a loadlib, what should be the characteristics ?
2) what should be the characteristics of the datasets given in concatenation libraries ? (Is there any common characteristics of the datasets mentioned)
3) For what all file types can IDCAMS utility used for copying???
4) when you define DD statement in the jcl for a file, is it mandatory to select it in the cobol code ??
5) if you have 3 output files in jcl, if iam not using one what would you do ? |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
HI,
Quote: |
2) what should be the characteristics of the datasets given in concatenation libraries ? (Is there any common characteristics of the datasets mentioned) |
Both the files DCB must be same.
Quote: |
4) when you define DD statement in the jcl for a file, is it mandatory to select it in the cobol code ?? |
Yes, You should mention in Select in Cobol.
Hope this helps
Regards
Rupesh |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi t1nt1n,
Quote: |
5) if you have 3 output files in jcl, if iam not using one what would you do ? |
What do u mean actually?? y should u open that file if u dont need.. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Quote: |
1) When you create a loadlib, what should be the characteristics ? |
The ideal answer is to use the same characteristics as the other loadlibs in the environment. Use DCB=(old.loadlib.name) when creating yours.
Or you can use dcb=(recfm=u,blksize=half-track-size).
Quote: |
2) what should be the characteristics of the datasets given in concatenation libraries ? (Is there any common characteristics of the datasets mentioned) |
LRECL and RECFM the same (i.e. don't mix v/vb with f/fb). You can mix blocked/unblocked.
At one time you had to define the largest blksize 1st. I think that restriction has been lifted.
Quote: |
3) For what all file types can IDCAMS utility used for copying??? |
All file types (PS,PDS,VSAM), but not databases.
Quote: |
4) when you define DD statement in the jcl for a file, is it mandatory to select it in the cobol code ?? |
No
Quote: |
5) if you have 3 output files in jcl, if iam not using one what would you do ? |
It depends. If you sometimes feed that file to a downstream job, that means (probably) that the job attemps to open that file ALL the time.
If you don't open/close the file in the prev job, the downstream job will abend or not execute properly.
If the empty file will not be used you don't have to do anything with it. |
|
Back to top |
|
|
|