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
 

 

Copy and allocate PS file using 3.4

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Copy and allocate PS file using 3.4
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: 2360
Location: Israel

PostPosted: Wed Jul 29, 2009 10:45 am    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Wed Jul 29, 2009 11:05 am    Post subject:
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: 2360
Location: Israel

PostPosted: Wed Jul 29, 2009 11:34 am    Post subject:
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

Senior Member


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

PostPosted: Wed Jul 29, 2009 12:52 pm    Post subject:
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: 1238
Location: Richfield, MN, USA

PostPosted: Thu Jul 30, 2009 6:54 am    Post subject:
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    Post subject: Reply to: Copy and allocate PS file using 3.4
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

Site Director


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

PostPosted: Thu Jul 30, 2009 9:41 am    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 30, 2009 11:27 am    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 30, 2009 11:53 am    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 30, 2009 12:31 pm    Post subject:
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    Post subject:
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: 1445
Location: Azeroth

PostPosted: Thu Jul 30, 2009 3:20 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 30, 2009 4:03 pm    Post subject:
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    Post subject:
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    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