|
|
| Author |
Message |
Velmurugan_j
New User
Joined: 04 Aug 2005 Posts: 49
|
|
|
|
Hi,
I am trying to copy a file from TAPE to DISK
The file in TAPE is in HEX format
I am using the SYNCSORT
I am getting an error U00012
RECFM is U as message
I also tried changin the RECFM with U and tried but the error is the same
Can anyone help me in solving this |
|
| Back to top |
|
 |
References
|
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2219 Location: Phoenix, AZ
|
|
|
|
Hi,
Please post the JCL used & the complete diagnostic information to get better replies. U00012 doesn't help much to suggest something. |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 936 Location: Atlanta, GA
|
|
|
|
| And what do you mean by HEX format? Data is EBCDIC, or ASCII, and a specific code page can be needed to properly display the data, but "HEX format" is a meaningless phrase. |
|
| Back to top |
|
 |
Garry Carroll
Active User
Joined: 08 May 2006 Posts: 171 Location: Dublin, Ireland
|
|
|
|
| Quote: |
| I also tried changin the RECFM with U |
How did you try this? Did you IEBGENER (or other utility) the file to another RECFM or did you just specify a different RECFM in the JCL? RECFM=U, which is what it would seem you have anyway is "undefined" format.
| Quote: |
| The file in TAPE is in HEX format |
This is irrelevant, HEX may be how you view the data, it's not a format in this sense. Do you mean it's unpacked on the tape to a printable representation? In any case, a copy operation shouldn't care.
Regards,
Garry. |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 936 Location: Atlanta, GA
|
|
|
|
| Something else important to know is how was the tape file created? If an application program created the file, SYNCSORT will probably be able to copy it to disk. If a system utility such as ADRDSSU or IEBCOPY created the tape, unloading it to disk using SYNCSORT probably will not give you access to the data in the way you want. |
|
| Back to top |
|
 |
Itanium
Active User
Joined: 22 Jan 2006 Posts: 57 Location: India
|
|
|
|
Velmurugan_j,
Please post the code you used to copy from Tape to Disk, this would help others to analyze and find the issue.
Thanks. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8724 Location: 221 B Baker St
|
|
|
|
Hello,
It may also help if you describe how the tape was created. |
|
| Back to top |
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 625 Location: Germany
|
|
|
|
Hi Velmurugan_j !
Check if DITTO is installed in your shop. If yes, you could copy the file using the Ditto-Functions. |
|
| Back to top |
|
 |
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 249 Location: USA
|
|
|
|
Velmurugan_j,
As Anuj and Itanium requested, please post your JCL. Also post the SyncSort critical error message that was produced when you tried to run this job (WERnnnA ...message text). This will help us to better address the issue. Thank you. |
|
| Back to top |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2219 Location: Phoenix, AZ
|
|
|
|
Hi,
BTW, is U00012 a valid abend code ? Might be I'm missing something, but I think I've faced "U0012 (with two zeros)" if I've ever ... |
|
| Back to top |
|
 |
Itanium
Active User
Joined: 22 Jan 2006 Posts: 57 Location: India
|
|
|
|
better we don't need to waste our time until Velmurugan_j responds. Seems he's busy, but not us  |
|
| Back to top |
|
 |
|
|