Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8593
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: 10254
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: 4648
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: 10254
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: 10254
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 SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us