First of all, I don't know if I'm placing this question in the right place, and if I'm not I apologize.
I've been working on a COBOL CICS Program to READ/WRITE in a VSAM ESDS.
I had some problems with the read but with the help of good people in this forum they were solved.
Today, I tested the Write operation and it also works well.
STATUS: COMMAND EXECUTION COMPLETE
EXEC CICS WRITE FILE
FILE ('CARSDD ')
FROM ('22-10-2016EOPEL ACORSA 25-33-XQ MARCUS W 0 '...)
LENGTH (200)
RIDFLD (200)
RBA
OFFSET:X'00116C' LINE:00224 EIBFN=X'0604'
RESPONSE: NORMAL EIBRESP=0
ENTER: CONTINUE
EXEC CICS WRITE FILE
FILE ('CARSDD ')
FROM ('22-10-2016EOPEL ACORSA 25-33-XQ MARCUS W 0 '...)
LENGTH (200)
RIDFLD (200)
RBA
OFFSET:X'00116C' LINE:00224 EIBFN=X'0604'
RESPONSE: NORMAL EIBRESP=0
ENTER: CONTINUE
But now I have another problem.
In the BMS Basic Map Support I define the IC in the OPT field.
OPT DFHMDF POS=(3,10),INITIAL=' ', X
LENGTH=18,ATTRB=(UNPROT,IC),HILIGHT=UNDERLINE
DFHMDF POS=(3,29),INITIAL=' ', X
LENGTH=1,ATTRB=ASKIP
LENGTH=18,ATTRB=(UNPROT,IC),HILIGHT=UNDERLINE
DFHMDF POS=(3,29),INITIAL=' ', X
LENGTH=1,ATTRB=ASKIP
But in the COBOL program, I change the positioning of the cursor to the INFO field with:
MOVE -1 TO INFOL.
When I do the debug of the program in the CICS with CEDF after I do "SEND MAP" it shows the MAP with the cursor in the same OPT field.
I don't know what I'm doing wrong and I need your help.
Thank you,
Roger