View previous topic :: View next topic
|
Author |
Message |
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
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 |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
i am seeing this at the EOF. I dont want this character at the end of the file. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Code tags and hex display; you know better. |
|
Back to top |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
I am not getting what you are trying to see. You want some details . |
|
Back to top |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
Please any one help me out to solve my problem. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
- 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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
What commands did you use to FTP the file? |
|
Back to top |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
XXXXXXXX.XXXXX.COM
ID
password
CD folder
BINARY
PUT 'XXXXXXXXX.XXXXXXXXX' Filename.CSV
CLOSE
QUIT |
|
Back to top |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
waiting for your assistance. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
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 |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
It's a shame that there's no way to display hex values on toy computers |
|
Back to top |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
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 |
|
|
nallaperumal
New User
Joined: 19 Nov 2007 Posts: 23 Location: Chennai
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Akatsukami wrote: |
It's a shame that there's no way to display hex values on toy computers |
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Akatsukami wrote: |
It's a shame that there's no way to display hex values on toy computers |
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 |
|
|
|