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

We are facing a problem "FREE DATASET" whie using


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

New User


Joined: 22 Sep 2009
Posts: 2
Location: Chennai

PostPosted: Fri Sep 25, 2009 10:58 am
Reply with quote

We are getting a error message
00:04:41 DTM7108I Please free data set ABC.XXX.JCL CN(INTERNAL
)
00:04:41 DTM7109I Needed by <JOBID> <JOBNAME> NODE <NODENAME> CN(INTERNAL).

The below code resides in a PDS ABC.XXX.JCL. Everytime while opening this PDS even in View mode to submit the job, I'm getting the above error msg, eventhough the output is written to another PDS(CDE.XXX.JCL).

Code:
//JS001000  EXEC PGM=IEBEDIT                                   
//SYSPRINT DD  SYSOUT=*                                       
//SYSUT1   DD  DSN=ABC.XXX.JCL(COPYJCL),       
//             DISP=(OLD,KEEP),                               
//             UNIT=DISK                                       
//SYSUT2   DD  DSN=CDE.XXX.JCL(OUTSTRM),       
//             UNIT=DISK,                                     
//             DISP=(OLD,KEEP)                                 
//SYSIN     DD *       
//*       
       EDIT START=JOBNAME,TYPE=INCLUDE,STEPNAME=(STEP1)
//*   


Please help us in resolving the above issue.[/code]
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Sep 25, 2009 11:35 am
Reply with quote

Have you considered using a DISP of SHR
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Sep 25, 2009 11:42 am
Reply with quote

Hello Sarala,

You code has been written tosmae pds as SYSUT1. Please change the disp parameter & try again.
Back to top
View user's profile Send private message
Sarala Punithavelan

New User


Joined: 22 Sep 2009
Posts: 2
Location: Chennai

PostPosted: Fri Sep 25, 2009 12:17 pm
Reply with quote

Thanks it works perfectly icon_smile.gif
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 PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top