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: 8593
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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