How to get field offsets for Endevor assembler macros like C1BRXPAK
search cancel

How to get field offsets for Endevor assembler macros like C1BRXPAK

book

Article ID: 248533

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Need to know what the positions of the fields are in the assembler macro C1BRXPAK in the CSIQOPTN library?

 

Environment

Release : All Support versions

Component : Endevor  

Resolution

The following job can be used to get the offsets of the fields in any assembler macro:

 

//ASMDSECT EXEC PGM=ASMA90,                                 
//             PARM='NODECK,OBJECT,NOTERM,LIST,XREF(SHORT)' 
//SYSLIB   DD  DISP=SHR,DSN=hlq.mlq.CSIQOPTN         < 1  
//         DD  DISP=SHR,DSN=SYS1.MACLIB                     
//         DD  DISP=SHR,DSN=SYS1.AMODGEN                    
//SYSUT1   DD  UNIT=SYSDA,SPACE=(1700,(600,100))            
//SYSUT2   DD  UNIT=SYSDA,SPACE=(1700,(600,100))            
//SYSUT3   DD  UNIT=SYSDA,SPACE=(1700,(600,100))            
//SYSTERM  DD  SYSOUT=*                                     
//SYSPRINT DD  SYSOUT=*                                     
//SYSPUNCH DD  DUMMY                                        
//SYSLIN   DD  SYSOUT=*                                     
//SYSIN    DD  *                                            
GETDSCT   CSECT                                          
*                                                           
        xxxxxxxx < 2 & 3                                       
        END                                               < 3
/*                                                          
//                                                          

 

1 -  specify the Endevor CSQIOPTN library name

2 -  specify the name of the Endevor macro

3 -  the macro name and END statements must begin between columns 10 and 15

 

Note - assembler macros start with the following MACRO and &DSECT=YES statements:

*****************************
         MACRO               
         C1BRXPAK &DSECT=YES,