Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Uploading Recfm=VB to Mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
poobalen

New User


Joined: 17 May 2006
Posts: 18
Location: malaysia

PostPosted: Thu May 22, 2008 11:34 am    Post subject: Uploading Recfm=VB to Mainframe
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8620
Location: Back in jolly old England

PostPosted: Thu May 22, 2008 11:41 am    Post subject:
Reply with quote

Usually use the BLOCK method for VB files, of do a VB >>> FB conversion
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu May 22, 2008 11:05 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu May 22, 2008 11:30 pm    Post subject: Reply to: Uploading Recfm=VB to Mainframe
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Thu May 22, 2008 11:30 pm    Post subject: Reply to: Uploading Recfm=VB to Mainframe
Reply with quote

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
View user's profile Send private message
poobalen

New User


Joined: 17 May 2006
Posts: 18
Location: malaysia

PostPosted: Thu May 29, 2008 12:37 pm    Post subject: Reply to: Uploading Recfm=VB to Mainframe
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu May 29, 2008 12:44 pm    Post subject: Reply to: Uploading Recfm=VB to Mainframe
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu May 29, 2008 7:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu May 29, 2008 7:42 pm    Post subject: Reply to: Uploading Recfm=VB to Mainframe
Reply with quote

depends the meaning of pre-date icon_smile.gif

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
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
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mainframe Blocks to Tracks conversion upendrasri JCL & VSAM 1 Sat Nov 18, 2017 10:52 am
No new posts NDM 300 files from mainframe to linux shreya19 All Other Mainframe Topics 2 Thu Oct 26, 2017 11:40 am
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us