DELETE
| COBOL |
Java |
| EXEC CICS DELETE |
ibmCics.delete |
Syntax
ibmCics.delete(new DeleteOptions.Builder()
.fileName(<Filename>)
[.ridFld(<Ridfld>)]
[.numRec(<Numrec>)]
[.keyLength(<Keylength>)]
[.generic(true)]
[.noHandle(true)]
.build());
Parameter(s)
<Filename>
The file to delete the records from.
<Ridfld>
Optional record identification field.
<Numrec>
Optional variable that will hold number of records that were deleted.
<Keylength>
Optional length of the record key.
generic
Optional Boolean. Set to true when the search key is a generic key, default is false.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.
Example(s)
| COBOL |
Java |
EXEC CICS
DELETE
FILE('INVOICES')
RIDFLD(WS-RIDFLD)
KEYLENGTH(18)
GENERIC
END-EXEC.
|
ibmCics.delete(new DeleteOptions.Builder()
.fileName("INVOICES")
.ridFld(locDef.ws_Ridfld)
.keyLength(18)
.generic(true)
.build());
|