Control Language (CL) Concepts

Commands operating on multiple objects

In addition to the commands that operate on single object types, there are commands that operate on several object types. These commands are more powerful because they can operate on several objects of different types at the same time. For example:

Start of change See the Commands Operating on Multiple Object Types (where object identified by object name, library and type) and Commands Operating on Multiple Object Types (where object identified by path name) (page Commands Operating on Multiple Object Types (where object identified by path name)) tables to see a list of the commands that perform an action on many of the object types. End of change Some of the commands, such as the Move Object (MOVOBJ) command, operate on only one object at a time, but that object can be any one of several OS/400(R) object types. For example, the MOVOBJ command can move a file or a job description.

You can also refer to the Object Types Used by Commands Containing the OBJTYPE Parameter (page ***) table in OBJTYPE parameter to see how these multiple-object commands affect specific object types.

For additional information, see Commands operating on OS/400 objects.

Commands Operating on Multiple Object Types (where object identified by object name, library and type)


Item Actions Identifier
Object ALC, CHK, CPR, DCP, DLC, DMP, MOV, RNM, RST, SAV, WRK, CRTDUP, SAVCHG OBJ
Object Access SET OBJACC
Object Auditing CHG OBJAUD
Object Authority DSP, EDT, GRT, RVK OBJAUT
Object Description DSP OBJD
Start of changeObject Journaling
CHG, END, STR JRNOBJ End of change
Object Lock WRK OBJLCK
Object Owner CHG, WRK OBJOWN
Object Primary Group CHG, WRK OBJPGP


Commands Operating on Multiple Object Types (where object identified by path name)


Item Actions Identifier
Object CPY, MOV, RNM, RST, SAV not applicable
Object Auditing CHG AUD
Object Authority CHG, DSP, WRK AUT
Object Description DSP, WRK LNK
Object Integrity CHK OBJITG
Object Journaling END, STR JRN
Object Owner CHG OWN
Object Primary Group CHG PGP

End of change


[ Top of Page | Previous Page | Next Page | Table of Contents ]