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
 

 

What is BLOCK CONTAINS 0 RECORDS

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

New User


Joined: 08 Jun 2006
Posts: 45
Location: Trumbull, CT

PostPosted: Thu Oct 11, 2007 12:57 pm    Post subject: What is BLOCK CONTAINS 0 RECORDS
Reply with quote

Hi,

I am in a prodcution support team.
Many of our old cobol programs have been coded with

BLOCK CONTAINS 0 RECORDS.

and some program are coded with

BLOCK 0 RECORDS.

are they both equivalent?
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Oct 11, 2007 1:09 pm    Post subject:
Reply with quote

Yes, and they both allow SDB, which is good....
Back to top
View user's profile Send private message
kaleelahamed

New User


Joined: 08 Jun 2006
Posts: 45
Location: Trumbull, CT

PostPosted: Thu Oct 11, 2007 2:24 pm    Post subject: Reply to: BLOCK 0 RECORDS.
Reply with quote

Thanks for info.
but what is SDB?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Thu Oct 11, 2007 3:07 pm    Post subject:
Reply with quote

Kaleel,

SDB stands for 'system-determined block '.
Back to top
View user's profile Send private message
kaleelahamed

New User


Joined: 08 Jun 2006
Posts: 45
Location: Trumbull, CT

PostPosted: Thu Oct 11, 2007 5:22 pm    Post subject:
Reply with quote

Thanks for the info again icon_biggrin.gif
Back to top
View user's profile Send private message
kaleelahamed

New User


Joined: 08 Jun 2006
Posts: 45
Location: Trumbull, CT

PostPosted: Fri Oct 12, 2007 11:03 am    Post subject: One more info needed.
Reply with quote

Hi as I already intoduced my, I am tuning our programs in my support work.
We have Easytrieve programs also in our scope.
Can any thing like BLOCK CONTAINS 0 RECORDS can be coded in them too. I am somewat new to Easytrieve.
I think I should have started this topic in that Easytrieve forum. But still since this requires both COBOL and Easytrieve information, I have put it here.
can any one suggest me something?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Oct 12, 2007 3:13 pm    Post subject:
Reply with quote

Just specify zero for the blocksize in the file statement....as in:
FILE SEQFILE FB(80 0)
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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