SCRPBK2 ;MJK/ALB - RPC Broker Utilities ; 27 FEB 96
Source file <SCRPBK2.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| SAVE(SCDATA,SCQDEF) | ; -- save query definition
|
|
| SAVEQ | ||
| SAVEREC(SCQREC,SCIENS,SCERR) | ; -- actual save process
|
|
| SAVERECQ | ||
| SAVFLD(SCQREC,SCFDA,SCDFDA,SCERR,SCNEW) | ;
; -- determine which fields were changed or deleted |
|
| SAVSEL(SCQREC,SCFDA,SCDFDA,SCERR,SCNEW) | ;
; -- determine which file selections were changed or deleted |
|
| DELETE(SCDATA,SCQDEF) | ; -- delete a query record
|
|
| DELCHK(SCLOG,SCQREC) | ; -- check to see if query can be deleted
; -- is the query being used as a default by any user? |
|
| DELCHKQ | ||
| DELREC(SCQREC) | ; -- actually delete query record
|
|
| NAME(SCDATA,SCQNAME,SCUSER) | ;
; -- check to see if user has a query with same name ; ; input: SCQNAME -> query name ; SCUSER -> user id (DUZ) |
|
| NAMECHK(SCQNAME,SCUSER,SCERR,SCDUP) | ; -- actuallt scan xref for query name
|
|
| STRIP(SCQREC) | ; -- strip out inappropriate data for report type
|
|
| GETFLDS(RPTID,SCAN) | ; -- build array of fields used/needed by report
|
|
| GETYPE(RPTID,SCAN) | ; -- build array of files used/needed by report
|
|
| CHKTYPE(SCTYPE) | ; -- special checks to see if file type is ok to use
|
| RPC Name | Call Tags |
|---|---|
| SCRP QUERY SAVE | SAVE |
| SCRP QUERY DELETE | DELETE |
| SCRP QUERY CHECK NAME | NAME |
| FileNo | Call Tags |
|---|---|
| ^SD(404.95 - [#404.95] | Classic Fileman Calls |
| 404.9502 | FDA^DILF |
| 404.9503 | FDA^DILF |