PKUNZIP Utility.



All other tools like QACenter, Strobe, Endevor, Telon, APAS, Scheduler, Auditor, DATA-XPERT, CoolGen, Intertest, AdvantageGen, COBTEST etc.

PKUNZIP Utility.

Postby Vineet » Tue Aug 21, 2012 11:02 am

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
Vineet
 
Posts: 86
Joined: Tue Jun 19, 2007 11:38 am
Has thanked: 0 time
Been thanked: 0 time

Re: PKUNZIP Utility.

 

Re: PKUNZIP Utility.

Postby NicC » Tue Aug 21, 2012 11:34 am

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
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: PKUNZIP Utility.

Postby mongan » Tue Aug 21, 2012 12:44 pm

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)?
User avatar
mongan
 
Posts: 212
Joined: Tue Jan 11, 2011 8:32 pm
Has thanked: 1 time
Been thanked: 5 times

Re: PKUNZIP Utility.

Postby Vineet » Tue Aug 21, 2012 7:59 pm

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
Vineet
 
Posts: 86
Joined: Tue Jun 19, 2007 11:38 am
Has thanked: 0 time
Been thanked: 0 time

Re: PKUNZIP Utility.

Postby Robert Sample » Tue Aug 21, 2012 8:05 pm

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).
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: PKUNZIP Utility.

Postby dick scherrer » Tue Aug 21, 2012 11:43 pm

Hello,

Posting a few records in hex may point out something . . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: PKUNZIP Utility.

Postby Vineet » Wed Aug 22, 2012 12:24 am

Hi,

Find Below the HEX Format of the File.

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
 -----------------------------------------------------------------------------------------------------------------------------------------------------------------
Code'd

Special Char.: ÇÖs , Ø., Ø. Øñ Ìí غ
Note: It's a Portion of File, for which I am facing issue.

Thanks
Kind Rgd's
Vineet
 
Posts: 86
Joined: Tue Jun 19, 2007 11:38 am
Has thanked: 0 time
Been thanked: 0 time

Re: PKUNZIP Utility.

Postby dick scherrer » Wed Aug 22, 2012 1:29 am

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?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: PKUNZIP Utility.

Postby Ed Goodman » Thu Aug 23, 2012 12:55 am

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.
Ed Goodman
 
Posts: 342
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times


Return to All Other Tools