Previous Topic: @ACCEPT STATS Status CodesNext Topic: #ACCEPT—retrieves system task-related information


@ACCEPT STATS Example

The following statements establish currency for the sets in which a new EMPLOYEE record will participate as a member, store the EMPLOYEE record, and move statistics regarding the stored EMPLOYEE record to the DBSTATS location in main storage:

MVC     DEPTID,INDEPTID
@FIND   CALC,REC='DEPARTMENT'
MVC     OFFCODE,IOFFCODE
@FIND   CALC,REC='OFFICE'
@STORE  REC='EMPLOYEE'
@ACCEPT STATS=DBSTATS