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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Trying to copy a file(in HEX format) from tape to disk
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

Senior Member


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

PostPosted: Wed Jul 23, 2008 4:44 pm    Post subject:
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: 7997
Location: Bellevue, IA

PostPosted: Wed Jul 23, 2008 4:55 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Jul 23, 2008 5:03 pm    Post subject:
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: 7997
Location: Bellevue, IA

PostPosted: Wed Jul 23, 2008 5:18 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Jul 23, 2008 8:39 pm    Post subject:
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: 755
Location: Germany

PostPosted: Wed Jul 23, 2008 8:49 pm    Post subject:
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: 500
Location: USA

PostPosted: Wed Jul 23, 2008 9:59 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Jul 25, 2008 2:50 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts How to pick only YYMMDD from DATE1P (... atulbaviskar SYNCSORT 7 Wed Mar 22, 2017 11:39 am
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us