# How to obtain a command restriction report from all the libraries, in natural security.

**URL:** <https://techcommunity.softwareag.com/t/how-to-obtain-a-command-restriction-report-from-all-the-libraries-in-natural-security/203313>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [March 28, 2019, 8:11am UTC](https://techcommunity.softwareag.com/t/how-to-obtain-a-command-restriction-report-from-all-the-libraries-in-natural-security/203313 "2019-03-28T08:11:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Zarazua\_Vilchis2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/fernando_zarazua_vilchis2/32/7341_2.png) [@Fernando\_Zarazua\_Vilchis2](https://techcommunity.softwareag.com/u/Fernando_Zarazua_Vilchis2)\
**Post date:** [March 28, 2019, 8:11am UTC](https://techcommunity.softwareag.com/t/how-to-obtain-a-command-restriction-report-from-all-the-libraries-in-natural-security/203313/1 "2019-03-28T08:11:35Z")

</div>

Hi,

How to obtain a batch report of the COMMAND RESTRICTIONS from libraries and users, it is evident that it can be obtained through SYSSEC, but I want a report executed in batch.

Can someone help me please.

```
          18:01:38 ***NATURAL SECURITY*** 2019-03-27

                         - Command Restrictions -

```

Library ID … XXXXXXX

AIV … Y EDIT … Y MAIL … Y SAVE … Y  
EDT … Y MAINMENU … Y SCAN … Y  
CATALL … Y NOCOPT … Y SCRATCH … Y  
CATALOG … Y GLOBALS … Y PROFILE … Y SETUP … Y  
CHECK … Y HELP … Y PURGE … Y SHCMD … Y  
CLEAR … Y STOW … Y  
CMS … Y INPL … Y RDC … Y  
COMPOPT … Y ISPF … Y READ … Y TEST … Y  
RENAME … Y UNCATALOG . Y  
DELETE … Y KEY … Y RETURN … Y UPDATE … Y  
DUMP … Y LIST … Y RUN … Y XREF … Y

Enter-PF1—PF2—PF3—PF4—PF5—PF6—PF7—PF8—PF9—PF10–PF11–PF12—

```
   Help PrevM Exit AddOp Restr Flip Canc

```

---

<div class="post-metadata">

**Author:** ![Fernando\_Zarazua\_Vilchis2](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/fernando_zarazua_vilchis2/32/7341_2.png) [@Fernando\_Zarazua\_Vilchis2](https://techcommunity.softwareag.com/u/Fernando_Zarazua_Vilchis2)\
**Post date:** [March 29, 2019, 8:17am UTC](https://techcommunity.softwareag.com/t/how-to-obtain-a-command-restriction-report-from-all-the-libraries-in-natural-security/203313/2 "2019-03-29T08:17:58Z")

</div>

Thanks to all, but I found the solution.

JCL  
% \*  
SYSSEC, USER, PASSWORD  
RETRIEVE  
LI, \*, LIBRARY , XE  
FINISH  
//

AND THE DEPARTURE WE SEND IT TO A DSN

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:42pm UTC](https://techcommunity.softwareag.com/t/how-to-obtain-a-command-restriction-report-from-all-the-libraries-in-natural-security/203313/3 "2021-04-02T15:42:32Z")

</div>

Closed on April 2, 2021, 3:42pm UTC


