Table Action Set: Syntax

Provides actions for accessing and managing data

addCaslibSubdir Action

Creates a subdirectory in an existing caslib.

Add a Subdirectory in a Caslib
table.addCaslibSubdir <result=results> <status=rc> /
name="string",
required parameter path="string",
permission="GROUPREAD" | "GROUPWRITE" | "GROUPWRITEPUBLICREAD" | "PRIVATE" | "PUBLICREAD" | "PUBLICWRITE" | integer
;
indicates a required parameter

Parameter Descriptions

name="string"

specifies the caslib to add the subdirectory to.

Aliaseslib
caslib

* path="string"

specifies the subdirectory to add. The path is relative to the caslib.

permission="GROUPREAD" | "GROUPWRITE" | "GROUPWRITEPUBLICREAD" | "PRIVATE" | "PUBLICREAD" | "PUBLICWRITE" | integer

specifies the host access controls for the new subdirectory. By default, the permissions are set according to the umask of the session process.

Aliasperms
GROUPREADRead access is granted to the owning group with Read and Write access to the owner of the file or directory.
GROUPWRITERead and Write access are granted to the owner of the file or directory and to the owning group.
GROUPWRITEPUBLICREADRead access is granted to everyone with Read and Write access granted to the owner of the file or directory and the owning group.
PRIVATERead and Write access are granted only to the owner of the file or directory.
PUBLICREADRead access is granted to everyone with Read and Write access to the owner of the file or directory.
PUBLICWRITERead and Write access are granted to everyone.

addCaslibSubdir Action

Creates a subdirectory in an existing caslib.

Add a Subdirectory in a Caslib
results, info = s:table_addCaslibSubdir{
name="string",
required parameter path="string",
permission="GROUPREAD" | "GROUPWRITE" | "GROUPWRITEPUBLICREAD" | "PRIVATE" | "PUBLICREAD" | "PUBLICWRITE" | integer
}
indicates a required parameter

Parameter Descriptions

name="string"

specifies the caslib to add the subdirectory to.

Aliaseslib
caslib

* path="string"

specifies the subdirectory to add. The path is relative to the caslib.

permission="GROUPREAD" | "GROUPWRITE" | "GROUPWRITEPUBLICREAD" | "PRIVATE" | "PUBLICREAD" | "PUBLICWRITE" | integer

specifies the host access controls for the new subdirectory. By default, the permissions are set according to the umask of the session process.

Aliasperms
GROUPREADRead access is granted to the owning group with Read and Write access to the owner of the file or directory.
GROUPWRITERead and Write access are granted to the owner of the file or directory and to the owning group.
GROUPWRITEPUBLICREADRead access is granted to everyone with Read and Write access granted to the owner of the file or directory and the owning group.
PRIVATERead and Write access are granted only to the owner of the file or directory.
PUBLICREADRead access is granted to everyone with Read and Write access to the owner of the file or directory.
PUBLICWRITERead and Write access are granted to everyone.

addCaslibSubdir Action

Creates a subdirectory in an existing caslib.

Add a Subdirectory in a Caslib
results=s.table.addCaslibSubdir(
name="string",
required parameter path="string",
permission="GROUPREAD" | "GROUPWRITE" | "GROUPWRITEPUBLICREAD" | "PRIVATE" | "PUBLICREAD" | "PUBLICWRITE" | integer
)
indicates a required parameter

Parameter Descriptions

name="string"

specifies the caslib to add the subdirectory to.

Aliaseslib
caslib

* path="string"

specifies the subdirectory to add. The path is relative to the caslib.

permission="GROUPREAD" | "GROUPWRITE" | "GROUPWRITEPUBLICREAD" | "PRIVATE" | "PUBLICREAD" | "PUBLICWRITE" | integer

specifies the host access controls for the new subdirectory. By default, the permissions are set according to the umask of the session process.

Aliasperms
GROUPREADRead access is granted to the owning group with Read and Write access to the owner of the file or directory.
GROUPWRITERead and Write access are granted to the owner of the file or directory and to the owning group.
GROUPWRITEPUBLICREADRead access is granted to everyone with Read and Write access granted to the owner of the file or directory and the owning group.
PRIVATERead and Write access are granted only to the owner of the file or directory.
PUBLICREADRead access is granted to everyone with Read and Write access to the owner of the file or directory.
PUBLICWRITERead and Write access are granted to everyone.

addCaslibSubdir Action

Creates a subdirectory in an existing caslib.

Add a Subdirectory in a Caslib
results <– cas.table.addCaslibSubdir(s,
name="string",
required parameter path="string",
permission="GROUPREAD" | "GROUPWRITE" | "GROUPWRITEPUBLICREAD" | "PRIVATE" | "PUBLICREAD" | "PUBLICWRITE" | integer
)
indicates a required parameter

Parameter Descriptions

name="string"

specifies the caslib to add the subdirectory to.

Aliaseslib
caslib

* path="string"

specifies the subdirectory to add. The path is relative to the caslib.

permission="GROUPREAD" | "GROUPWRITE" | "GROUPWRITEPUBLICREAD" | "PRIVATE" | "PUBLICREAD" | "PUBLICWRITE" | integer

specifies the host access controls for the new subdirectory. By default, the permissions are set according to the umask of the session process.

Aliasperms
GROUPREADRead access is granted to the owning group with Read and Write access to the owner of the file or directory.
GROUPWRITERead and Write access are granted to the owner of the file or directory and to the owning group.
GROUPWRITEPUBLICREADRead access is granted to everyone with Read and Write access granted to the owner of the file or directory and the owning group.
PRIVATERead and Write access are granted only to the owner of the file or directory.
PUBLICREADRead access is granted to everyone with Read and Write access to the owner of the file or directory.
PUBLICWRITERead and Write access are granted to everyone.
Last updated: November 18, 2025