The following is an example of using JCL to execute the SHOWPOOL command.
Figure 152. Sample of JCL (VSE) to execute SHOWPOOL
// JOB SHOWPOOL
(1) ---> // LIBDEF *,SEARCH=(PRD2.RCVvrm)
(2) ---> // EXEC PROC=ARIS71DB
(3) ---> // EXEC XTS91001,SIZE=AUTO
(4) ---> SHOWPOOL
/*
Sample Procedure(VM)
Figure 153. Sample VM procedure for running the SHOWPOOL function
/**/
(1) ---> 'FILEDEF SYSPRINT DISK XTS91001 SYSPRINT A'
(2) ---> 'FILEDEF SYSIN DISK SHOWPOOL SYSIN A'
(3) ---> 'XTS91001'
The SYSIN file must contain the following statements:
Figure 154. Sample input file for running the SHOWPOOL function
(4) ---> CONTROL DBNAME=dbname
(5) ---> SHOWPOOL