I am sending some data to a assembler program from a cobol. so the address of address of parm list will be stored in register one(R1). suppose after doin some changes how to retrieve the data back to the cobol program. i have used the following code for getting the data in assembler to map the address of parms in register 5. Then used a "dsect" to get the data.
L R5,0(R1)
USING VALDSECT,R5
.
.
.
VALDSECT DSECT
DATAS 0CL20
DATA1 CL10
DATA2 CL10
.
.
Now I have to send this data back to the cobol. can anyone plz give me the piece of code to do so.