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
 

 

Junk EOF character while using PKZIp
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Thu May 05, 2011 9:04 pm    Post subject: Junk EOF character while using PKZIp
Reply with quote

I am getting a Junk EOF character while using PKZIp. Is there any paramenter to avoid such Junck End of File Character after PKZIP - ing .
Aprreciate your help
Back to top
View user's profile Send private message

nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Thu May 05, 2011 10:34 pm    Post subject: PKZIP Help 2
Reply with quote



i am seeing this at the EOF. I dont want this character at the end of the file.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Thu May 05, 2011 11:17 pm    Post subject:
Reply with quote

icon_rolleyes.gif Code tags and hex display; you know better.
Back to top
View user's profile Send private message
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Fri May 06, 2011 12:34 am    Post subject: PKZIP Help 2
Reply with quote

I am not getting what you are trying to see. You want some details .
Back to top
View user's profile Send private message
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Fri May 06, 2011 1:38 am    Post subject: PKZIP Help 2
Reply with quote

Please any one help me out to solve my problem.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Fri May 06, 2011 2:12 am    Post subject: Re: PKZIP Help 2
Reply with quote

nallaperumal wrote:
I am not getting what you are trying to see. You want some details .


Yes, the same sort of stuff which was wrung out of you bit by bit (sic) over the last few days. Formatted, with the code tags (that's the grey oblong above this box where I'm typing with the word "code" on it) and including the HEX display of the so-called "junk".
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Fri May 06, 2011 4:53 am    Post subject:
Reply with quote

What are you calling a "junk EOF chaaracter"? Every byte has a hexadecimal value -- what is the value for the byte you say is junk (it's not but that's a different story)?
Back to top
View user's profile Send private message
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Fri May 06, 2011 7:47 am    Post subject: PKZIP Help 2
Reply with quote

 - Last Junk field present in the CSV file.

PRMJ2D - Last character present in the mainframe file
DDDDFC4
7941240

I FTP ied the Zipped Mainframe file to the CSV at the end of the file one more character as above is appended i dont want this characater to be apendded at the last after FTP ing .

I thought some of the parameters through PKZIP will make to solve the problem. I am not sure of the parameters.

Sorry for making you in trouble and request not to get irrirated of my questions i am new to PKZIP utility.

Below is my Parameters used for PKZIP.



* PANEL INPUT COMMANDS:
-ARCHIVE_DSN(r1ZBXXXX.XXX.XXXXX.ZIP)
-ARCHIVE_DSORG(PS)
-ACTION(ADD)
-DATA_TYPE(TEXT)
-ZIPPED_DSN(XXXX.XXXX.XXXXXX,YYYY.CSV)
XXXXXX.XXXXX.XXXXX.XXXX


Appreciate your help in advance.

Thanks
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Fri May 06, 2011 7:54 am    Post subject:
Reply with quote

What commands did you use to FTP the file?
Back to top
View user's profile Send private message
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Fri May 06, 2011 8:41 am    Post subject:
Reply with quote

XXXXXXXX.XXXXX.COM
ID
password
CD folder
BINARY
PUT 'XXXXXXXXX.XXXXXXXXX' Filename.CSV
CLOSE
QUIT
Back to top
View user's profile Send private message
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Fri May 06, 2011 11:04 am    Post subject: PKZIP Help 2
Reply with quote

waiting for your assistance.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Fri May 06, 2011 11:32 am    Post subject: Reply to: PKZIP Help 2
Reply with quote

stop soliciting for replies

remember
answering on a forum is
on voluntary basis
on our own time
free of charge
interest of the question asked
benevolence factor
when and if we feel like

pestering the way You are doing will take You nowhere
if You have time constraints hire a paid consultant who
for a proper fee will be glad to adhere to Your specifications and schedules
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Fri May 06, 2011 2:41 pm    Post subject:
Reply with quote

If you are creating a ZIP file on the mainframe, why are you doing the FTP on the CSV file? I would expect that you would FTP the ZIP file you created.

Since you are not clear about what you are doing, there's no way we can help you. I recommend consulting your site support group for assistance, or paying a consultant to come in and resolve your issue(s).
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Fri May 06, 2011 9:26 pm    Post subject: Re: PKZIP Help 2
Reply with quote

nallaperumal wrote:
 - Last Junk field present in the CSV file.

PRMJ2D - Last character present in the mainframe file
DDDDFC4
7941240


[...]


You still haven't done a hex display, or otherwise located its value, for the square symbol.

Until we know it's value, this is going nowhere, and we've already been waiting since yesterday, whereas you've just been moaning we haven't been quick enough, instead of providing us with this information.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri May 06, 2011 9:30 pm    Post subject: Re: PKZIP Help 2
Reply with quote

nallaperumal wrote:


i am seeing this at the EOF. I dont want this character at the end of the file.


You do know that you have to unzip the file before it is usable?
Back to top
View user's profile Send private message
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Fri May 06, 2011 10:43 pm    Post subject:
Reply with quote

Hi i tried the below FTP process.

XXXXXXXX.XXXXX.COM
ID
password
CD folder
BINARY
PUT 'XXXXXXXXX.XXXXXXXXX' Filename.ZIP
CLOSE
QUIT


 - this square box is present in the CSV file and not in the mainframe file. so i cant able to give you the HEx value of the Square box.
sorry for late response

Let me know if you need more information.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Fri May 06, 2011 10:47 pm    Post subject:
Reply with quote

It's a shame that there's no way to display hex values on toy computers icon_rolleyes.gif
Back to top
View user's profile Send private message
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Fri May 06, 2011 10:47 pm    Post subject: PKZIP Help 2
Reply with quote

Sorry Again.

I have unzipped the file and then only i am getting the Square box at the EOF in the CSV file.

But i am not able to see this in the Mainframe file the last character in the mainframe file is

PRMJ2D - Last character present in the mainframe file (Zipped Mainframe file)

DDDDFC4 - Equivalent Hex value.
7941240
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7223

PostPosted: Fri May 06, 2011 10:47 pm    Post subject:
Reply with quote

If you want to get rid of it, you'll have to know what it is first, unless you just fire-up an editor, jump to the end of the file, press backspace, then save.

If you want more of a solution than that, find out what the value is. I don't know, I suspect I could find out, but I don't have time, and I suspect you can as well if you do a little thinking/searching.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri May 06, 2011 10:50 pm    Post subject:
Reply with quote

Code:
DDDDFC4 - Equivalent Hex value.
7941240


If you code it it is much easier to view.

What are the last 5 or 6 character of the unzipped file?
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts Continuation Character ballaswaroop SYNCSORT 8 Thu Aug 25, 2016 4:46 pm
No new posts Adding a descending character to a file Steve Ironmonger DFSORT/ICETOOL 3 Fri Jul 15, 2016 4:57 pm
No new posts Moving character data to smallint in db2 rikdeb DB2 5 Thu Jul 14, 2016 12:38 am
No new posts character setting configuration into ... sakthikumarT DB2 5 Thu Nov 05, 2015 11:37 am


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