WRKSPLFBRM (Work with Saved Spooled Files Using BRM) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec >>-WRKSPLFBRM---------------------------------------------------> >--+----------------------------------------------------+-------> | .-*ALL---------------------------------. | | | .-*ALL/---------. | | '-OUTQ(--+-+-library-name/-+--output-queue-name-+--)-' >--+-------------------------+--+-----------------------+-------> | .-*ALL------. | | .-*ALL-----. | '-FILE(--+-file-name-+--)-' '-JOB(--+-job-name-+--)-' >--+-------------------------+--+---------------------------+---> | .-*ALL------. | | .-*ALL------. | '-USER(--+-user-name-+--)-' '-USRDTA(--+-user-data-+--)-' (1) >--+--------------------------------------------+---------------> | .-*ALL--------------------------. | '-ASP(--+-*SYSTEM-----------------------+--)-' +-auxiliary-storage-pool-name---+ '-auxiliary-storage-pool-number-' >--+-----------------------------------------------------+------> | .-*BEGIN---------. .-*END-----------. | '-SLTDATE(--+-*CURRENT-------+--+-*CURRENT-------+--)-' +-from-date------+ +-to-date--------+ '-number-of-days-' '-number-of-days-' >--+--------------------------+--+---------------------+--------> | .-*ALL-----. | | .-*DATE-. | '-SAVSTS(--+-*NOERROR-+--)-' '-SORT(--+-*JOB--+--)-' '-*ERROR---' '-*FILE-' >--+------------------------------------------------+-----------> | .-*LCL--------------------------. | | | (2) | | '-FROMSYS(--+-location-name-----------------+--)-' | (2) | '-network-id.location-name------' >--+------------------------+---------------------------------->< | .-*------. | '-OUTPUT(--+-*PRINT-+--)-'
Notes: