while running the jcl i got an error in copyprof step..it showed that
"the following reserved datasets are noy available "
and a message asking to freee that dataset ws also shown i tried the same usin rexx but was of no use
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Please post the diagnostic information provided by the system. This will be in one or more of the jes sysout datasets for the job.
Whatever ddname/dsn is named is most likely in use by some other process - maybe even your own tso session that has the file open.
When you post a problem, it is best to post all of the information - especially any and all message numbers and their text - not just type in some of the text info. The more you provide, the more someone can help.
Also, when you post jcl & control statements, it is good to use the "Code" tab at the top of the reply panel. I'll change your post to "Code" and you will see the difference.