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
 

 

What is the diff between PASS and KEEP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
neelesht

New User


Joined: 24 Jul 2006
Posts: 99
Location: Los Angeles

PostPosted: Mon Sep 04, 2006 4:28 pm    Post subject: What is the diff between PASS and KEEP
Reply with quote

Hi All,

1. What is the diff between PASS and KEEP.

2. How many extents are possible for a sequential file?
16.
18
Both
None of the above

3. How many extents are possible for a VSAM file?
121
123
125
None of the above.

Thanks in advance.

WARNING: TITLE EDITED
Back to top
View user's profile Send private message

mani_jnumca

New User


Joined: 18 Jan 2006
Posts: 16
Location: PUNE

PostPosted: Mon Sep 04, 2006 5:35 pm    Post subject: Re: Interview qns
Reply with quote

1. What is the diff between PASS and KEEP.
Generally disposition PASS is used for temprory File which u want to use in the susequent step but there is no any append or modification for ur temp file.

While KEEP used for temprory File which u want to use in the susequent step and there is some modifiction for that temp file.


2. How many extents are possible for a sequential file?
16.

3. How many extents are possible for a VSAM file?
121
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Sep 05, 2006 12:15 am    Post subject: Re: What is the diff between PASS and KEEP
Reply with quote

Quote:
1. What is the diff between PASS and KEEP.
Generally disposition PASS is used for temprory File which u want to use in the susequent step but there is no any append or modification for ur temp file.

While KEEP used for temprory File which u want to use in the susequent step and there is some modifiction for that temp file.


Is it... I think system is automatically consider KEEP as PASS for temp datasets. Only difference can be made by DELETE.
Back to top
View user's profile Send private message
mani_jnumca

New User


Joined: 18 Jan 2006
Posts: 16
Location: PUNE

PostPosted: Tue Sep 05, 2006 10:00 am    Post subject: Re: What is the diff between PASS and KEEP
Reply with quote

priyesh.agrawal wrote:
Quote:
1. What is the diff between PASS and KEEP.
Generally disposition PASS is used for temprory File which u want to use in the susequent step but there is no any append or modification for ur temp file.

While KEEP used for temprory File which u want to use in the susequent step and there is some modifiction for that temp file.


Is it... I think system is automatically consider KEEP as PASS for temp datasets. Only difference can be made by DELETE.


ya
Delete is performed automatically ...whenever job complete the temp file is automatically deleted..
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Wed Sep 06, 2006 7:01 am    Post subject: Re: What is the diff between PASS and KEEP
Reply with quote

mani_jnumca,

Quote:
ya
Delete is performed automatically ...whenever job complete the temp file is automatically deleted..

I didn't mean to say that... I said it doesn't make any difference for TEMP datasets when you code PASS or KEEP.
Its DELETE which can be differentiate with PASS.

Even though you code frequent KEEP on TEMP Dataset, its going to be deleted at the end of the job.

Quote:
Generally disposition PASS is used for temprory File which u want to use in the susequent step but there is no any append or modification for ur temp file.

While KEEP used for temprory File which u want to use in the susequent step and there is some modifiction for that temp file.

Do you mean to say, TEMP Datasets cant be modified until specified KEEP ???
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 JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts Is it possible to pass variables of s... Csongor CLIST & REXX 2 Fri Jun 10, 2016 7:33 pm
No new posts how to pass data from a rexx program ... Akshay Yadav TSO/ISPF 8 Mon Feb 15, 2016 12:05 pm
No new posts How to pass a structure to external p... Pedro PL/I & Assembler 8 Tue Jan 19, 2016 7:05 am


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