IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copy and allocate PS file using 3.4


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Wed Jul 29, 2009 9:02 am
Reply with quote

Hi,

I have used to copy the data from a PS file to a new file through 3.4 option as below.

3.4---> before the file name, option '/' ---> option '17' --> enter new file name ---> panel for selecting 'allocate with the same attributes' ---> file will be created.

In my new org, I am not getting the panel to choose 'allocate with the same attributes' instead it is showing 'Data set not cataloged'.

Could anyone help me how to set this on, so that I can copy and allocate the files in the same screen instead going back to 3.2.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Jul 29, 2009 10:45 am
Reply with quote

There is no such built-in functionality in ISPF. In your previous shop, it was probably a home-written command.

O.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Jul 29, 2009 11:05 am
Reply with quote

ofer71 wrote:
There is no such built-in functionality in ISPF. In your previous shop, it was probably a home-written command.

You obviously could be bothered to actually try it? icon_sad.gif

As described, it works perfectly here on a standard z/OS 01.09.00 system with ISPF level 5.9.0.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Jul 29, 2009 11:34 am
Reply with quote

I did give it a try: In my z/OS 1.09 there is no such option. Also, in my other machine with z/OS 1.07 it is not existed.

O.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Jul 29, 2009 12:52 pm
Reply with quote

I believe Prino(Robert) is right, once in 3.4, in front of DSN "/" or not when you hit enter "Data Set List Actions" window is popped up... are we missing something here. I believe it's a standard functionality of ISPF.
Code:
Data Set List Actions
   Menu  Options  View  Utilities  Compilers  Help                   
 s EsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssN
 D e                    Data Set List Actions                      e
 C e                                                               e
   e Data Set: XXXXXX.FIRST.FILE                                  e
 C e                                                               e
 - e DSLIST Action                                                 e
   e __  1.  Edit                     14. Print Index              e
   e     2.  View                     15. Reset                    e
   e     3.  Browse                   16. Move                     e
   e     4.  Member List              17. Copy                     e
   e     5.  Delete                   18. Refadd                   e
   e     6.  Rename                   19. Exclude                  e
   e     7.  Info                     20. Unexclude 'NX'           e
   e     8.  Short Info               21. Unexclude first 'NXF'    e
   e     9.  Print                    22. Unexclude last 'NXL'     e
   e     10. Catalog                  23. SuperC 'SC'              e
   e     11. Uncatalog                24. SuperCE 'SCE'            e
   e     12. Compress                 25. Search-For 'SF'          e
   e     13. Free                     26. Search-ForE 'SFE'        e
   e                                                               e
   e Select a choice and press ENTER to process data set action.   e
   DsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssM
and "option 17" is the concern of OP.

Hope this helps...
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Jul 30, 2009 6:54 am
Reply with quote

Try using CO as a line command on a 3.4 data set list screen. After keying the output data set name, I believe you will get the "allocate with same attributes?" option for an unallocated output data set.
Back to top
View user's profile Send private message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Thu Jul 30, 2009 9:22 am
Reply with quote

Terry,

I am getting the same error msg again icon_sad.gif .
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 30, 2009 9:41 am
Reply with quote

Hello,

What happens if you try to copy the file in 3.3? Does this prompt for the allocation attributes?

What happens if you use a file with a different hlq in 3.4?
Back to top
View user's profile Send private message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Thu Jul 30, 2009 10:57 am
Reply with quote

Sch,

In 3.3 i am getting the option to allocate with the same attributes. But when i try copy from/to a different qualifier, I am getting error msg.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 30, 2009 11:27 am
Reply with quote

senthilarumugam wrote:
In 3.3 i am getting the option to allocate with the same attributes. But when i try copy from/to a different qualifier, I am getting error msg.

And the error message is .......................................
Back to top
View user's profile Send private message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Thu Jul 30, 2009 11:41 am
Reply with quote

'Data set not cataloged'
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 30, 2009 11:53 am
Reply with quote

And would that be the input dataset or the output dataset

Oh for the return of psychic day icon_confused.gif
Back to top
View user's profile Send private message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Thu Jul 30, 2009 12:12 pm
Reply with quote

Expat,

This msg is related to only the output dataset as i am trying to copy to a new file.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 30, 2009 12:31 pm
Reply with quote

Do you have the authority to create a dataset with the different HLQ
Back to top
View user's profile Send private message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Thu Jul 30, 2009 12:36 pm
Reply with quote

Yes. I have authority to create file with HLQ as TEST.*
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Jul 30, 2009 3:20 pm
Reply with quote

Hi,

Maybe there was not enough space I guess.. not sure. maybe..
What is the size of the dataset you are trying to copy.?

In our shop, If a user tries to allocate > 400 cylinders in 3.2 it will not be possible.

But through a batch job with its possible. Since it was a site specific restriction.

Thanks & Regards,
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 30, 2009 4:03 pm
Reply with quote

Seems to work OK for me.
Back to top
View user's profile Send private message
wcorsar

New User


Joined: 15 Jul 2006
Posts: 6
Location: Florida

PostPosted: Thu Jun 09, 2011 3:22 am
Reply with quote

this is a bit of an old post but I ran across it trying to find the same answer. And actually I did find out how to create the output file as new .

As mentioned earlier, enter 'CO' next to the dataset you wish to copy.

Then when you get to the 'COPY ENTRY PANEL' make sure that your Options (Sequential Disposition) located near the bottom left, shows OLD (2). If it says MOD (1), change it. Enter your dataset name as you normally would and hit enter.

Select whichever option you want to specify the attributes of the new dataset. You should have now created a new dataset. It worked for me once I changed from MOD to OLD.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top