I have an assembly module that reads any kind of file (V,VB,F,FB,U) and returns it to a COBOL caller.
To process the record inside my COBOL program I need some information about the record obtained inside my Assembly program.
Anyone else know an easy way to get it when I execute my GET macro.
here is my DCB:
*
DS 0F
HARQVO DS F
ARQORIG DCB DDNAME=ARQORIG,DSORG=PS,MACRF=GM,DCBE=ARQORIGE
ARQORIGE DCBE EODAD=CLOSARQ,RMODE31=NONE
READ MODELDECB,SF,,,'S',MF=L
READLEN EQU *-MODELDECB
LLARQORIG EQU *-ARQORIG
*
LTORG
SPACE 1
DS 0F
HARQVO DS F
ARQORIG DCB DDNAME=ARQORIG,DSORG=PS,MACRF=GM,DCBE=ARQORIGE
ARQORIGE DCBE EODAD=CLOSARQ,RMODE31=NONE
READ MODELDECB,SF,,,'S',MF=L
READLEN EQU *-MODELDECB
LLARQORIG EQU *-ARQORIG
*
LTORG
SPACE 1
I'm trying to use the RDJFCB macro after Opening file:
L R6,HARQVO
OPEN ((R6),INPUT),MODE=31
LTR R15,R15
BNZ ERROPEN
RDJFCB (ARQORIG,INPUT) > S0C4 HAPPENS HERE
*
LH R5,JFCLRECL > LOAD LRECL FROM RDJFCB
CVD R5,WSPACK
UNPK WSZON8,WSPACK
OI WSZON8+7,X'F0'
*
But i'm getting S0C4:
IEC190I USER01,TSO@PROC.TSO@PROC,ARQORIG INVALID DCBE: DCBE ID IS NOT 'DCBE'
I can provide more information if needed.
Any help is apreciated...
Thanks in advance.