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
 

 

difference between temp and permanent data sets -reg

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sonu_winks

New User


Joined: 23 Nov 2005
Posts: 23

PostPosted: Thu Feb 23, 2006 12:51 pm    Post subject: difference between temp and permanent data sets -reg
Reply with quote

can anyone plz tell me what is the difference between giving a
DISP=(NEW,PASS) in a temparory DS and a permanent one.
will the permanent one be created on the device before passing it and stay uncataloged after the job?
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu Feb 23, 2006 2:23 pm    Post subject: Re: difference between temp and permanent data sets -reg
Reply with quote

Hi Sonu,

The funda for Temp and Perm dataset is

Temp dataste is use if teh dataset is used in that job only
Perm dataset is used if dataset may refer in another job and may refer after some days.

Teh temp dataset is basically used for space constrain.

Hope it is clear..

Regards
Rupesh
Back to top
View user's profile Send private message
sonu_winks

New User


Joined: 23 Nov 2005
Posts: 23

PostPosted: Thu Feb 23, 2006 2:29 pm    Post subject:
Reply with quote

Hi rupesh,
my concern is like .. if i give DISP=(new ,pass) for permanent DS is almost acts like a temp one...in this case will the data set be available after the run.
Back to top
View user's profile Send private message
prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Thu Feb 23, 2006 2:35 pm    Post subject: Re: difference between temp and permanent data sets -reg
Reply with quote

Hi,
Irrespective of Temporary or Permanent Datasets, if the Disp position is supposed to be (,pass) it would be deleted at the end of that job.
Back to top
View user's profile Send private message
smiley
Warnings : 1

New User


Joined: 08 Feb 2006
Posts: 27

PostPosted: Thu Feb 23, 2006 2:46 pm    Post subject:
Reply with quote

Ys...the datasets,(both temp and permanent) willnot be retained after the job..when it is 'PASS'.


Correct me if i am wrong!!!
Back to top
View user's profile Send private message
tarunflash

New User


Joined: 15 Oct 2005
Posts: 25

PostPosted: Thu Feb 23, 2006 5:20 pm    Post subject: hi guys,
Reply with quote

when ur creating a dataset (temp or perm) u can't give PASS option.

if u give PASS option while creating it will give error.


correct me if am wrong.

vasu from chennai
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu Feb 23, 2006 5:46 pm    Post subject: Re: difference between temp and permanent data sets -reg
Reply with quote

Hi,
Quote:

when ur creating a dataset (temp or perm) u can't give PASS option.

if u give PASS option while creating it will give error.


We can give pass parameter, the dataset will be created and will not catlog after job finished.

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
vishal_a

New User


Joined: 24 May 2005
Posts: 45
Location: Noida

PostPosted: Fri Feb 24, 2006 12:20 am    Post subject: Re: difference between temp and permanent data sets -reg
Reply with quote

hi ,

We can give pass in both temp as well as permanent. only the thing is it will not get catalouged and will be deleted after the job is completed.It's used for space constraints and also to pass data on to the next step.

If anything wrong pls correct

thanks
Back to top
View user's profile Send private message
sonu_winks

New User


Joined: 23 Nov 2005
Posts: 23

PostPosted: Fri Feb 24, 2006 11:50 am    Post subject:
Reply with quote

Hi tarunflash,
u r wrong..we can use PASS for creating..
prakash kathiresan is absolutely rite... i was wondering y we need these two kind of approch like (NEW,PASS) in temp as well as perm' if both acts the same way. both the DS willnot be available after the run .but will the data set be physically written and deleted if i use permanent..that was my concern.
Back to top
View user's profile Send private message
kumaresh.M

New User


Joined: 17 Feb 2006
Posts: 64
Location: Bangalore

PostPosted: Sat Feb 25, 2006 10:04 am    Post subject:
Reply with quote

hi sonu,

i think that if u code (,pass) it will create a temp dataset,
(temp datasets are like scrach pads,we can use it for steps)

omit the DSN name,&DSN name,&&DSN name also create the temp datasets,

corrections welcome,

with regards,
kumaresh.m
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


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