REWRITE
| COBOL |
Java |
| EXEC CICS REWRITE |
ibmCics.rewrite |
Syntax
ibmCics.rewrite(new RewriteOptions.Builder()
.fileName(<Filename>)
.from(<From>)
[.length(<Length>)]
[.noHandle(true)]
.build());
Parameters
- <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.
Examples
| COBOL |
Java |
EXEC CICS
REWRITE
FILE('CUSTFILE')
FROM(WS-DATA)
END-EXEC.
|
ibmCics.rewrite(new RewriteOptions.Builder()
.fileName("CUSTFILE")
.from(locDef.ws_Data)
.build());
|