MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DCB OF DEB VS DCB OF JFCB

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Oct 28, 2004 10:30 am    Post subject: DCB OF DEB VS DCB OF JFCB Reply with quote

What is the difference b/w the DCB which is available in JFCB control block and that available in the DEB control block. I recently downloaded a COBOL program to read the job information (Jobname, step,...,LRECL, BLKSIZE, VOL, RECFM, DSORG...). The author had adopted the following procedure to retrieve the RECFM, LRECL, BLKSIZE, DSORG... for all the datasets.

PSA -> TCB -> TIOT -> JFCB -> DEB -> DCB.

When the DCB (DSNAME, DSORG, RECFM, LRECL, BLKSIZE, VOL...) is already available in JFCB control block why should we take the overhead of reading the DEB control block and then access the DCB from there ? What is the reason for this redundancy ? Does the DEB block contain some additional information that is not available in JFCB ?

Also, could someone please provide me the layout for DEB control block ? (The DEB Map). I searched the Data Area manuals for the DEB control block but didn't find the information that I was looking for.

Thanks a lot,
Phantom
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Oct 28, 2004 10:52 am    Post subject: Reply with quote

Phantom,

Check this link for Data Extent Block (DEB) Fields

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Thu Oct 28, 2004 11:58 am    Post subject: Reply with quote

Thanks for the immediate response Kolusu,

I will look at the document and get back to you,

Thanks a lot,

Phantom
Back to top
View user's profile Send private message
bablack
Beginner


Joined: 04 Dec 2002
Posts: 71
Topics: 0
Location: Little Falls, NJ

PostPosted: Thu Nov 18, 2004 3:12 pm    Post subject: Reply with quote

Quote:
When the DCB (DSNAME, DSORG, RECFM, LRECL, BLKSIZE, VOL...) is already available in JFCB control block why should we take the overhead of reading the DEB control block and then access the DCB from there ? What is the reason for this redundancy ? Does the DEB block contain some additional information that is not available in JFCB ?


Two different purposes. The JFCB is created at step initiation from information in your JCL. It may be updated with additional information when the dataset is opened. The DEB describes an open dataset and is only created when it is opened. It has the address of the device UCB, the extents of the dataset on the disk, and other info.
_________________
Bruce A. Black
Senior Software Developer
Innovation Data Processing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group