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

Trying to copy a file(in HEX format) from tape to disk


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Velmurugan_j

New User


Joined: 04 Aug 2005
Posts: 49

PostPosted: Wed Jul 23, 2008 4:23 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Jul 23, 2008 4:44 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jul 23, 2008 4:55 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Jul 23, 2008 5:03 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jul 23, 2008 5:18 pm
Reply with quote

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
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Wed Jul 23, 2008 6:12 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jul 23, 2008 8:39 pm
Reply with quote

Hello,

It may also help if you describe how the tape was created.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Wed Jul 23, 2008 8:49 pm
Reply with quote

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
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Wed Jul 23, 2008 9:59 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Fri Jul 25, 2008 2:50 pm
Reply with quote

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
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Fri Jul 25, 2008 2:59 pm
Reply with quote

better we don't need to waste our time until Velmurugan_j responds. Seems he's busy, but not us icon_cool.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 7
No new posts Populate last day of the Month in MMD... SYNCSORT 2
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top