Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to copy the file with giving name in single quote

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to copy the file with giving name in single quote
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    Post subject: Reply to: How to copy the file with giving name in single qu
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: 94
Location: India

PostPosted: Thu Jun 13, 2013 12:36 pm    Post subject: Reply to: How to copy the file with giving name in single qu
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    Post subject: Reply to: How to copy the file with giving name in single qu
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: 1738
Location: Bloomington, IL

PostPosted: Thu Jun 13, 2013 3:59 pm    Post subject:
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: 7914
Location: Bellevue, IA

PostPosted: Thu Jun 13, 2013 5:42 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us