REWRITE
| COBOL |
Java |
| EXEC CICS REWRITE |
ibmCics.rewrite |
Syntax
ibmCics.rewrite(new RewriteOptions.Builder()
.fileName(<Filename>)
.from(<From>)
[.length(<Length>)]
[.noHandle(true)]
.build());
Parameter(s)
<Filename>
The name of the file to write to.
<From>
The data to be written to the file.
<Length>
Optional length of the data to be written.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
Example(s)
| COBOL |
Java |
EXEC CICS
REWRITE
FILE('CUSTFILE')
FROM(WS-DATA)
END-EXEC.
|
ibmCics.rewrite(new RewriteOptions.Builder()
.fileName("CUSTFILE")
.from(locDef.ws_Data)
.build());
|