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 Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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