

Data Manipulation Language Statements › #DELSCR—deletes scratch records › #DELSCR Syntax
#DELSCR Syntax
►►─┬─────────┬─ #DELSCR ──────────────────────────────────────────────────────►
└─ label ─┘
►─┬────────────────────────────────────────────┬─────────────────────────────►
└─ PLIST= ─┬─ SYSPLIST ◄ ───────────────────┬┘
└─ parameter-value-list-pointer ─┘
►─┬─────────────────────────────────┬────────────────────────────────────────►
└─ ,SAID=scratch-area-id-pointer ─┘
►─┬────────────────────────────────────────────────┬─────────────────────────►
└─ ,LOC= ─┬─ Next ◄ ───────────────────────────┬─┘
├─ Current ──────────────────────────┤
├─ First ────────────────────────────┤
├─ Last ─────────────────────────────┤
├─ Prior ────────────────────────────┤
├─ All ──────────────────────────────┤
└─ (SRID,scratch-record-id-pointer) ─┘
►─┬───────────────────────────────────────────┬──────────────────────────────►
└─ ,RTNSRID= ─┬─ (1) ◄ ────────────────────┬┘
└─ return-scratch-record-id ─┘
►─┬───────────────────────────────┬──────────────────────────────────────────►
└─ ,COND= ─┬── NO ◄ ───────────┬┘
├── ALL ────────────┤
│ ┌─── , ─────┐ │
└─(─▼─┬─ NAID ─┬┴─)─┘
├─ NIRD ─┤
├─ IOER ─┤
└─ INVP ─┘
►─┬─────────────────────────────────────┬────────────────────────────────────►
└─ ,NAIDXIT=no-scratch-area-id-label ─┘
►─┬───────────────────────────────────────┬──────────────────────────────────►
└─ ,NRIDXIT=no-scratch-record-id-label ─┘
►─┬─────────────────────────────┬────────────────────────────────────────────►
└─ ,IOERXIT=i/o-error-label ─┘
►─┬─────────────────────────────────────────┬────────────────────────────────►
└─ ,INVPXIT=invalid-parameter-list-label ─┘
►─┬──────────────────────┬───────────────────────────────────────────────────►◄
└─ ,ERROR=error-label ─┘
Copyright © 2014 CA.
All rights reserved.
 
|
|