ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

offsets of the various fields/Tables and other tables and I believe a DSECT would provide that information

book

Article ID: 108611

calendar_today

Updated On:

Products

Datacom DATACOM - AD CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services Datacom/AD CA ecoMeter Server Component FOC EASYTRIEVE REPORT GENERATOR FOR COMMON SERVICES INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA On Demand Portal CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware

Issue/Introduction



However I would like to know more about the offsets of the various fields in that Table PERSON  and other tables and I believe a DSECT would provide that information. Perhaps you know of another way to get this type of information. ?

Environment

Release:
Component: DB

Resolution

You may find something close to what you are asking for by using DDUTILTY: 
https://docops.ca.com/ca-datacom/15-1/en/using/ca-datacom-datadictionary-batch-facilities/ddutilty-producing-reports-and-source-language-statements/ddutilty-sample-job-streams-and-output 

For example, for our Table PERSON: 
//SYSIN DD * 
+USR DATACOM-INSTALL,NEWUSER 
-UTL LIBRARY,OS 
-UTL LANGUAGE,COBOL,DESCRIPTION 
-UTL COPY,TABLE,PERSON(PROD),PER-TBL 
-END 

However the above does not give the offsets. But gives a full copybook layout. 
Replace DESCRIPTION by NONE to get a easier output to read, 

But using DR instead of COBOL will give the offsets. 
Offset starting at 301, see docops for further information. 
Several language are supported. 

Additional Information

Language ALC will give you the assembler equivalent. 
More like the DSECT you were asking.