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: 1772
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: 8132
Location: East Dubuque, Illinois, USA

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 Match two files using multiple keys a... santoshks1987 SYNCSORT 10 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm


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