Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL & VSAM interview Questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: JCL & VSAM interview Questions
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: 464

PostPosted: Tue Jan 10, 2006 7:53 pm    Post subject: Re: Answers required pls.
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: 680
Location: NJ

PostPosted: Tue Jan 10, 2006 8:01 pm    Post subject: JCL
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us