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
 

 

variable blocked file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Suryyogi

New User


Joined: 17 Jun 2006
Posts: 27

PostPosted: Sat Sep 02, 2006 10:32 am    Post subject: variable blocked file
Reply with quote

i tried some them which are disscussed but yet i am unable to run program successfuly.
what i did :
FD INFILE
RECORD CONTAINS 1 TO 76 CHARACTERS
BLOCK CONTAINS 1 TO 76 CHARACTERS
RECORDING MODE IS VB.
01 INREC.
02 NO1 PIC 99.
02 FILLER PIC X.
02 NAME PIC A(73).

BUT WHILE COMPILING IT GIVES ERROR RECORD IS INVALID
AND RECORDING MODE IS ASSUMED F.
CAN YOU SPECIFY ONE EXECUTABLE VERSION OF PROGRAM.
AND CONDITIONS TO RUN SUCH PROGRAM SUCCESSFULLY.

THNK YOU
YOGESH.
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Sep 02, 2006 7:32 pm    Post subject:
Reply with quote

Hi YOGESH,

Try the link below. If you have any probs implementing that come on back w/your ques. We'll be glad to help.

http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/igyl1101/2.6.5?ACTION=MATCHES&REQUEST=variable+length+records&TYPE=FUZZY&SHELF=&DT=19930312093006&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT
Back to top
View user's profile Send private message
shrinivas_3
Warnings : 1

New User


Joined: 05 Sep 2006
Posts: 34

PostPosted: Tue Sep 05, 2006 12:31 pm    Post subject: Re: variable blocked file
Reply with quote

Suryyogi wrote:
i tried some them which are disscussed but yet i am unable to run program successfuly.
what i did :
FD INFILE
RECORD CONTAINS 1 TO 76 CHARACTERS
BLOCK CONTAINS 1 TO 76 CHARACTERS
RECORDING MODE IS VB.
01 INREC.
02 NO1 PIC 99.
02 FILLER PIC X.
02 NAME PIC A(73).

BUT WHILE COMPILING IT GIVES ERROR RECORD IS INVALID
AND RECORDING MODE IS ASSUMED F.
CAN YOU SPECIFY ONE EXECUTABLE VERSION OF PROGRAM.
AND CONDITIONS TO RUN SUCH PROGRAM SUCCESSFULLY.

THNK YOU
YOGESH.



Hi

block size does not has any affect on vb files.
make BLOCK CONTAINS 0 RECORDS
and
RECORD CONTAINS 1 TO 73 CHARACTERS
here it should be 73 characters , but in jcl you need to mention 4 bytes more for this file i.e in jcl it should be lrecl=77

thanks
shrinivas
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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