IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Reading VB record using COBOL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ashok4u_it

New User


Joined: 12 Mar 2008
Posts: 53
Location: Chennai

PostPosted: Fri Sep 05, 2008 7:00 pm
Reply with quote

Hi,

Can anyone please code me to read a VB record with a record length of 20. Please code me only the File section ASAP.

Regards
Ashok.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Sep 05, 2008 7:04 pm
Reply with quote

ashok4u_it wrote:
Hi,
Can anyone please code me to read a VB record with a record length of 20. Please code me only the File section ASAP.
Regards
Ashok.

Errrrm, excuse me, but this is a help forum, not a get it done for free forum.

ASAP - do you really think that others have spare time to do your work for you ?

What have you coded yourself so far but need help with, help that you can not find in the manuals ?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sat Sep 06, 2008 4:04 am
Reply with quote

Hello,

Do you have code that is working now?

If not, post your code and your question or problem with it.

Someone here will be able to offer suggestions.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Sep 08, 2008 1:13 pm
Reply with quote

ashok4u_it wrote:
Can anyone please code me to read a VB record with a record length of 20. Please code me only the File section ASAP.
For Variable Block File -

Use ORGANISATION IS SEQUENTIAL.
Use RECORDING MODE IS V,
BLOCK CONTAINS 0.

Do not code the 4 bytes for record length in FD. i.e. JCL record length will be max record length in program + 4.

Sorry I was not ASAP available.. icon_razz.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top