MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Spaces in VB file
Goto page Previous  1, 2
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
nova127
Beginner


Joined: 16 Oct 2004
Posts: 5
Topics: 1
Location: Rensselaer, New York

PostPosted: Mon Oct 18, 2004 9:49 am    Post subject: Reply with quote

superk wrote:
Ultraedit works well, since it can represent the raw data in hexadecimal format.

Even better, have one of your Windows programmers take a dump of the data and look at the hexadecimal representation of the data, and count the number of bytes between Carriage-Return/Line Feeds. Look for a continuous string of characters that would indicate that the records are being padded (such as blanks, which are an ASCII x'20').
We have verified the file using Ultraedit.

Ok, now that I believe you understand our problem, what is the solution?

Thanks!
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Oct 18, 2004 1:12 pm    Post subject: Reply with quote

I couldn't replicate the same problem using some random data in a VB, LRECL 1000 dataset, so I'm wondering if this may be unique to your site (maybe the Windows FTP server is causing this?).

I think, to progress any further, that we'll need to see one record, in hex, of the EBCDIC data, and the same record, in hex, in the ASCII format after the FTP.

Here is an example of results that I got:
Code:

1IDCAMS  SYSTEM SERVICES                                           TIME: 14:06:59        10/18/04     PAGE      1
0RECORD SEQUENCE NUMBER - 1
 000000  F1D540F0 F0F0F0F0 F0F040E2 E8E2C240   40404040 F0F4F2F8 F340F0F6 7AF3F27A   *1N 0000000 SYSB     04283 06:32:*
 000020  F3F54BF6 F9404040 40404040 404040F0   F0F0C1F0 F2F9F440 40C9C5C6 F1F9F6C9   *35.69          000A0294  IEF196I*
 000040  40C9C5C6 F2F3F7C9 40D1C5E2 F240C1D3   D3D6C3C1 E3C5C440 E3D640E2 E8E2D3D6   * IEF237I JES2 ALLOCATED TO SYSLO*
 000060  C7F0F7                                                                      *G07                             *

Code:

C:\temp>debug vb1000.txt
-d
177F:0100  31 4E 20 30 30 30 30 30-30 30 20 53 59 53 42 20   1N 0000000 SYSB
177F:0110  20 20 20 20 30 34 32 38-33 20 30 36 3A 33 32 3A       04283 06:32:
177F:0120  33 35 2E 36 39 20 20 20-20 20 20 20 20 20 20 30   35.69          0
177F:0130  30 30 41 30 32 39 34 20-20 49 45 46 31 39 36 49   00A0294  IEF196I
177F:0140  20 49 45 46 32 33 37 49-20 4A 45 53 32 20 41 4C    IEF237I JES2 AL
177F:0150  4C 4F 43 41 54 45 44 20-54 4F 20 53 59 53 4C 4F   LOCATED TO SYSLO
177F:0160  47 30 37 0D 0A 20 4E 20-30 30 30 30 30 30 30 20   G07.. N 0000000
177F:0170  53 59 53 42 20 20 20 20-20 30 34 32 38 33 20 30   SYSB     04283 0
-q
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group