View previous topic :: View next topic
|
Author |
Message |
poobalen
New User
Joined: 17 May 2006 Posts: 18 Location: malaysia
|
|
|
|
I'm sending a file which is in RECFM=VB and LRECL=967 from an ASCII system to the HOST. But The uploaded file is not in sequence.
I created the file first with RECFM=VB and LRECL=967, after this I performed the transfer.
Thanks. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Usually use the BLOCK method for VB files, of do a VB >>> FB conversion |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
But The uploaded file is not in sequence.
|
Please clarify this. I do not understand how the transfer would affect the sequence.
How did the vb file get created on the pc? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
just a hint...
if on the pc the file is ascii text, when converting to ebcdic text ...
the collating sequence will be different |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I too am confused.
The ASCII file will contains end-of-line (EOL) characters in the form of a Carriage-Return/Line-Feed (CR/LF) pair. An upload using ASCII will convert the EOL to an EBCDIC Inter-Record-Seperator (IRS) value of 1E. This process will be done record-by-record, so the chances of losing a record or of them being stored out-of-sequence is virtually nil. |
|
Back to top |
|
|
poobalen
New User
Joined: 17 May 2006 Posts: 18 Location: malaysia
|
|
|
|
Hi ,
The Vb file was uploaded to the pc from mainframe, And then later we send back the file from pc to Mainframe.
i managed to upload the file ,but i have change format to fb before uploading the file to pc and mainframe. In mainframe then i convert in back to Vb format. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
again ...
in ASCII ( pc ) numbers come before the letters
in EBCDIC ( mainframe) the numbers come after the letters ...
in ASCII numbers and letters are a contiguos set
in EBCDIC they are not ( thanks to Hollerith )
provide the proper sorting before processing the data |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
in EBCDIC they are not ( thanks to Hollerith ) |
If memory serves, the Hollerith code pre-dated ascii. . .
I seem to remember from "way back" that other system creators worked hard to be different from IBM. See how much fun it has been. . . |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
depends the meaning of pre-date
not certainly in the predator sense
ascii origin is an offspring of punched tape architecture
EBCDIC is an offspring of punched card conventions ( Hollerith, BCD and so on ) |
|
Back to top |
|
|
|