ALCOBJ (Allocate Object) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: Conditional; See Restrictions. >>-ALCOBJ--OBJ(-------------------------------------------------> .------------------------------------------------------------------------------------------. V .-*LIBL/--------. (1) (2) .-*FIRST------. (3) | >----+---------------+--object-name--object-type-------+-*SHRRD--+-------+-member-name-+------+--> +-*CURLIB/------+ +-*SHRUPD-+ '-library-name/-' +-*SHRNUP-+ +-*EXCLRD-+ '-*EXCL---' (4) >--)--+-------------------------------+-------------------------> | .-*CLS------------. | '-WAIT(--+-seconds-to-wait-+--)-' >--+-----------------------------+------------------------------> | .-*JOB----. (5) | '-SCOPE(--+-*LCKSPC-+--)------' '-*THREAD-' >--+-----------------------------+----------------------------->< | .-*NORQSRLS-. | '-CONFLICT(--+-*RQSRLS---+--)-'
Notes:
- For a list of the valid OS/400 object types for this command see the Object Information table in the command description.
- Refer to the Object Information table in the command description for the lock states that are valid for each object type.
- A maximum of 50 repetitions.
- All parameters preceding this point can be specified in positional form.
- To determine if an object type supports thread-scoped locks refer to the Object Information table in the command description for the lock states that are valid for each object type.