AS400 secdump and secload

, ,

secdump and secload AS400 error: “Command Not Found”

In order to have your command run successfully, you need to set up your Environment variables and library BEFORE you try to run any commands in Qshell.

 

Here are a couple of syntax examples for running the secdump and secload commands from Qshell to copy the security setup from test to production on AS400:

Dumping all security classes from a test Environment to a production Environment

CALL PGM(LAWENV) PARM(LAWTEST)

STRQSH

secdump lawapptest /home/secclasses.dmp

 

CALL PGM(LAWENV) PARM(LAWPROD)

STRQSH

secload -o /home/secclasses.dmp lawappprod

 

Dumping a single security class from a test Environment to a production Environment

CALL PGM(LAWENV) PARM(LAWTEST)

STRQSH

secdump lawapptest /home/hrclerks.dmp hrclerk

 

CALL PGM(LAWENV) PARM(LAWPROD)

STRQSH

secload -o /home/hrclerks.dmp lawappprod

 

Additional Information:

The two options outlined above are just two of the more common options used with secdump and secload; there are other options you can use. The complete syntax information for secdump and secload are provided below. See these syntax rules for information on other command options.