View previous topic :: View next topic
|
Author |
Message |
senthilarumugam
New User
Joined: 09 May 2006 Posts: 19 Location: chennai
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
There is no such built-in functionality in ISPF. In your previous shop, it was probably a home-written command.
O. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
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?
As described, it works perfectly here on a standard z/OS 01.09.00 system with ISPF level 5.9.0. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1248 Location: Richfield, MN, USA
|
|
|
|
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 |
|
|
senthilarumugam
New User
Joined: 09 May 2006 Posts: 19 Location: chennai
|
|
|
|
Terry,
I am getting the same error msg again . |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
senthilarumugam
New User
Joined: 09 May 2006 Posts: 19 Location: chennai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
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 |
|
|
senthilarumugam
New User
Joined: 09 May 2006 Posts: 19 Location: chennai
|
|
|
|
'Data set not cataloged' |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
And would that be the input dataset or the output dataset
Oh for the return of psychic day |
|
Back to top |
|
|
senthilarumugam
New User
Joined: 09 May 2006 Posts: 19 Location: chennai
|
|
|
|
Expat,
This msg is related to only the output dataset as i am trying to copy to a new file. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Do you have the authority to create a dataset with the different HLQ |
|
Back to top |
|
|
senthilarumugam
New User
Joined: 09 May 2006 Posts: 19 Location: chennai
|
|
|
|
Yes. I have authority to create file with HLQ as TEST.* |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Seems to work OK for me. |
|
Back to top |
|
|
wcorsar
New User
Joined: 15 Jul 2006 Posts: 6 Location: Florida
|
|
|
|
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 |
|
|
|