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
 
Reading VB record using COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Reading VB record using COBOL
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: 8631
Location: Back in jolly old England

PostPosted: Fri Sep 05, 2008 7:04 pm    Post subject: Re: Reading VB record using COBOL
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

Site Director


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

PostPosted: Sat Sep 06, 2008 4:04 am    Post subject:
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

Senior Member


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

PostPosted: Mon Sep 08, 2008 1:13 pm    Post subject: Re: Reading VB record using COBOL
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm

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