IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JCL & VSAM interview Questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
t1nt1n

New User


Joined: 08 Jul 2005
Posts: 31

PostPosted: Tue Jan 10, 2006 6:39 pm
Reply with quote

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
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Tue Jan 10, 2006 7:53 pm
Reply with quote

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
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Tue Jan 10, 2006 8:01 pm
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Jan 14, 2006 7:19 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top