Hi All,
I am Not Sure this is a Right Forum to Raise the Issue Related To PKUNZIP. I am facing Issue with PKUNZIP Utility.Issue is. After Unzip I am Getting some Special Characters in the O/P File which is Cause of Concern. Please Suggest what Need to be Done. I am Providing the PKUNZIP Card Along with O/P file.
//STEP01 EXEC PGM=PKUNZIP
...................
...................
Parameters Use for UNZIP:
-METHOD(SUPERFAST)
-CRLF(C)
-ECHO
-ARCHINDD(INARCH)
-OUTDD(OUTFILE)
-TEXT
-DATA_TYPE(TEXT)
O/P File:
8¦1¦238¦4¦2150¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
8¦1¦238¦4¦2151¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
8¦1¦238¦4¦2152¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
8¦1¦238¦4¦2153¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
8¦1¦238¦4¦2154¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
8¦1¦238¦4¦2155¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
8¦1¦238¦4¦2156¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
File Parameter: LRECL - 3296, RECFM - FB.
Special Char.: ÇÖs , Ø., Ø. Øñ Ìí Øº
Please Suggest do I need to Set any Additional Parameter to UNZIP.
Note: If Any Additional Info. is Required Please do let me know.
Thanks
Kind Rgd's
Vineet Anand
PKUNZIP Utility.
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: PKUNZIP Utility.
Unless IBM have bought out PKWARE recently this is not an IBM tool. Moved to a more suitable place.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
- mongan
- Posts: 211
- Joined: Tue Jan 11, 2011 8:32 pm
- Skillset: System Programmer
- Referer: Google searches
Re: PKUNZIP Utility.
I do not think your problem is PKUNZIP, I think your problem is with different code pages. Where is the data coming from (before zipped, on what system), where are you unzipping it (on what system)?
Re: PKUNZIP Utility.
Hi Mongan,
File I am Recieving from 3rd Party. Using PGP Process we are Uploading the File. 3rd Party is having OS = AIX & To Zip the File using : GZIP. The Mainframe File we are Unzipping on the Mainframe having OS: Z/oS Version 1.13. Not Sure the Reason. Can U provide me some suggestion what Changes to be made.
Thanks
File I am Recieving from 3rd Party. Using PGP Process we are Uploading the File. 3rd Party is having OS = AIX & To Zip the File using : GZIP. The Mainframe File we are Unzipping on the Mainframe having OS: Z/oS Version 1.13. Not Sure the Reason. Can U provide me some suggestion what Changes to be made.
Thanks
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: PKUNZIP Utility.
You -- or somebody at your organization -- needs to talk to whoever sends you the file (third party or not doesn't matter) and find out what code page was used on the source machine. You can then match that code page to the appropriate EBCDIC code page on your mainframe.
Without knowing what the source code page is, nobody can do anything more than guess. The best suggestion is for someone to find out what code page the source came from -- period. If not, then you need to start trying different code pages (assuming you know what the data SHOULD look like) until you find one that produces the desired output (that is, guess).
Without knowing what the source code page is, nobody can do anything more than guess. The best suggestion is for someone to find out what code page the source came from -- period. If not, then you need to start trying different code pages (assuming you know what the data SHOULD look like) until you find one that produces the desired output (that is, guess).
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: PKUNZIP Utility.
Hello,
Posting a few records in hex may point out something . . .
Posting a few records in hex may point out something . . .
Hope this helps,
d.sch.
d.sch.
Re: PKUNZIP Utility.
Hi,
Find Below the HEX Format of the File.
Code'd
Special Char.: ÇÖs , Ø., Ø. Øñ Ìí Øº
Note: It's a Portion of File, for which I am facing issue.
Thanks
Kind Rgd's
Find Below the HEX Format of the File.
Code: Select all
8¦1¦238¦4¦2139¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
F6F6FFF6F6FFFF6FFFFF6C899989906EA4D8894D8A99988A84464DCC4E8AA4644806483484475489
8A1A238A4A2139A19375A8533415588C2095130418655192500004130352300000FB00D00908500B
------------------------------------------------------------------------------------------------------------------------------------------------
8¦1¦238¦4¦2140¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
F6F6FFF6F6FFFF6FFFFF6C899989906EA4D8894D8A99988A84464DCC4E8AA4644806483484475489
8A1A238A4A2140A19375A8533415588C2095130418655192500004130352300000FB00D00908500B
------------------------------------------------------------------------------------------------------------------------------------------------
8¦1¦238¦4¦2141¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
F6F6FFF6F6FFFF6FFFFF6C899989906EA4D8894D8A99988A84464DCC4E8AA4644806483484475489
8A1A238A4A2141A19375A8533415588C2095130418655192500004130352300000FB00D00908500B
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
8¦1¦238¦4¦2142¦19375¦Hellmann.ÇÖs Real Mayonnaise - MAC Test - Ø., Ø. Øñ Ìí Øº
F6F6FFF6F6FFFF6FFFFF6C899989906EA4D8894D8A99988A84464DCC4E8AA4644806483484475489
8A1A238A4A2142A19375A8533415588C2095130418655192500004130352300000FB00D00908500B
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Special Char.: ÇÖs , Ø., Ø. Øñ Ìí Øº
Note: It's a Portion of File, for which I am facing issue.
Thanks
Kind Rgd's
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: PKUNZIP Utility.
Hello,
Your data has been "Code'd" for readability and to preserve alighment. Suggest you do this with data, code, JCL etc to make it easier for everyone to read.
Ask someone for the data definitions of the of the file on the sending system. The "bad numbers" and "special characters" appear to be packed-decimal and/or binary numbers and as such may be usable just as they are. What is your layout for the file?
Your data has been "Code'd" for readability and to preserve alighment. Suggest you do this with data, code, JCL etc to make it easier for everyone to read.
Ask someone for the data definitions of the of the file on the sending system. The "bad numbers" and "special characters" appear to be packed-decimal and/or binary numbers and as such may be usable just as they are. What is your layout for the file?
Hope this helps,
d.sch.
d.sch.
-
- Posts: 341
- Joined: Thu Feb 24, 2011 12:05 am
- Skillset: 30 years on IBM mainframes
- Referer: Searched for Frank Yeager
Re: PKUNZIP Utility.
I'm suspicious that these are smart quotes or something. The leading x'08' may be a shift-out/shift-in. So the x'68ec' may be a special apostrophe. The other special characters might be cr/lf pairs.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
SUM and count of records by key, using SORT utility
by naveenkumar sudha » Mon May 09, 2022 10:11 pm » in DFSORT/ICETOOL/ICEGENER - 2
- 6540
-
by ssbylzh
View the latest post
Sat May 21, 2022 5:10 pm
-