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

SB37 with temporary dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nickyboy

New User


Joined: 26 Aug 2005
Posts: 16

PostPosted: Sat Feb 04, 2006 8:02 pm
Reply with quote

Can a temporary datset can reside in multiple volumes ..?

This is how I defined my temporary dataset

Code:
     
SORTOUT  DD  DSN=&&TEMP,                                 
                DISP=(NEW,PASS,DELETE),                         
                SPACE=(10,(100,50),RLSE),AVGREC=U,         
                DCB=(LRECL=15,BLKSIZE=0,RECFM=FB) 


After this i am using &&TEMP in the next step, and deleting it after use.

I got SB37 error for this step where the above creation happened.

But when I used a physical filename with the same PASS disposition it

went fine.

Please give me your comments..

Thanks,
Nick
Back to top
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Mon Feb 06, 2006 9:47 am
Reply with quote

you need not to delete the temp dataset

it will automatically deleted after the execution



pawan
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top