IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

How to copy the file with giving name in single quote


 
IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Thu Jun 13, 2013 12:28 pm
Reply with quote

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
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Thu Jun 13, 2013 12:30 pm
Reply with quote

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
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Thu Jun 13, 2013 12:36 pm
Reply with quote

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
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Thu Jun 13, 2013 2:13 pm
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Jun 13, 2013 3:59 pm
Reply with quote

Read about the PREFIX operand of the TSO PROFILE command.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8566
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 13, 2013 5:42 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts COBOL VS SORT Utility for file format... COBOL Programming 6
No new posts How to find which file contains my se... DFSORT/ICETOOL 6
No new posts Need to split single line into two li... DFSORT/ICETOOL 7
No new posts IGZ0035S THERE WAS AN UNSUCCESSFUL OP... COBOL Programming 3
No new posts Hex Value - vb file replace old date ... DFSORT/ICETOOL 14

Back to Top