View previous topic :: View next topic
|
Author |
Message |
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Hi ,
I have one data set , which i was created , but while copying from created date set to another data set i was getting error saying "data set not cataloged". if i give the file name in single quotes then i was able to copy the dataset.
I think in ISPF options there is one option to copy the file with out giving file name in single quotes.
thanks,
pavan. |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Adding to previous queery,
here i would like to know the option in ISPF which i supposed to change, so that i can copy data set with giving in single quote. |
|
Back to top |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
When you dont give quotes, your TSO Id is prefixed with the dataset name.
For eg. if dataset is <YOUR ID>.ABCD , when you ignore quotes the dataset name will be taken as <YOUR ID>.<YOUR ID>.ABCD |
|
Back to top |
|
|
Pavankumar.m Warnings : 1 New User
Joined: 28 Nov 2010 Posts: 53 Location: Mumbai
|
|
|
|
Hi Ranjith,
Yes that is true, I think to over come this there will be some option in ISPF settings (i mean to copy the the file without gving name in quotes).
Could you please share me if you have any idea on this. In my previous shop i am able to copy the files with out giving name in quotes, here i dont remeber that option now.
Thanks and regards,
Pavan Kumar.m. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Pavan, it is not clear what you are wanting to do. How are you doing the copy?
If you want to copy a data set, depending upon what you are copying and how, single quote marks may -- or may not -- be optional. For example, if you are copying a PDS named TEST.JCL with a high-level qualifier of your TSO user id to a different high level qualifier ('APPL.DEV.JCL' for example), then you WILL be using single quote marks -- period. Single quotes will be required whenever you are copying from one high-level qualifier to a different high-level qualifier.
If you are wanting to copy a data set with a high-level qualifier of your TSO user id to a different data set name (still under your TSO user id), then single quotes are not required. The same applies as long as you are copying a data set without changing the high-level qualifier (as long as you use PREFIX as suggested by Akatsukami). |
|
Back to top |
|
|
|