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

Junk EOF character while using PKZIp


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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
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: 1788
Location: Bloomington, IL

PostPosted: Thu May 05, 2011 11:17 pm
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
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri May 06, 2011 2:12 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri May 06, 2011 4:53 am
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri May 06, 2011 7:54 am
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
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
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri May 06, 2011 11:32 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri May 06, 2011 2:41 pm
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri May 06, 2011 9:26 pm
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
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
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: 1788
Location: Bloomington, IL

PostPosted: Fri May 06, 2011 10:47 pm
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri May 06, 2011 10:47 pm
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
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
nallaperumal

New User


Joined: 19 Nov 2007
Posts: 23
Location: Chennai

PostPosted: Fri May 06, 2011 10:51 pm
Reply with quote

It's a shame that there's no way to display hex values on toy computers


I cant able to get you.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri May 06, 2011 11:51 pm
Reply with quote

Three damn minutes. It is hex 1A. Do a google for - ftp hex 1a - and you'll come up with a discussion on this site from last year. See where you get then, please.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat May 07, 2011 12:26 am
Reply with quote

nallaperumal wrote:
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


To re-state your original request:

I am getting an PC-standard end-of-file character (hex 1a) at the end of the file I have FTP'd from a mainframe to a PC.

Oh, I'm not sure what the question is now.

Since you seem to be doing a lot of FTP'ing to PCs, I suggest you now work out how to look at hex values when they arrive on the PC, as suggested earlier. Think. Search. Let us know.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Sat May 07, 2011 1:01 am
Reply with quote

Akatsukami wrote:
It's a shame that there's no way to display hex values on toy computers icon_rolleyes.gif


There is. DEBUG.EXE. It's been a part of DOS and Windows since their inception, although it was finally dropped in Windows 7 (see my topic here about that). But, there are other tools (I use HexDump32).
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat May 07, 2011 1:04 am
Reply with quote

Akatsukami wrote:
It's a shame that there's no way to display hex values on toy computers icon_rolleyes.gif


I couldn't find the "irony" BBcode either.

Normally the 1A is displayed as either right-arrow or Control-Z (^Z). How did it get to be a square. Was it a square where you saw it originally.
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 -> All Other Mainframe Topics Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts String has hex character need to conv... COBOL Programming 3
No new posts Output LREC based on specific character DFSORT/ICETOOL 22
No new posts Replacing character string in file th... JCL & VSAM 9
Search our Forums:

Back to Top