The native AS400 commands works fine with the Agent but any S36 mode command fails from AutoSys 11.3.
Server: Workload Automation AE r11.3 run on Linux
Client: WAA r11.3 run on i5/OS V7R1
We can run normal AS400 jobs on the agent. The s36 mode command via AutoSys fails to run.
In the agent log we get to see the following message:
Statement . . . . . . . . . : 50
Message . . . . : Function S/36 environment not allowed.
Cause . . . . . : Function S/36 environment is not allowed in a job which
is capable of running with multiple threads.
Modify the Job as follows:
insert_job: AS400_JOB12 job_type: I5
i5_name: STRS36PRC PRC(CATALOG) PARM('ALL,F1')
The most important option in the AutoSys Job definition is:
Multithreaded program startup commands
To call a multithreaded program, the job in which the program is called must be capable of supporting multiple threads (multithread-capable).
In the OS/400 kernel threads support, only a subset of the supported job types can create threads.
Interactive and communication jobs do no provide multithread-capable support.
The parameter Allow Multithread (ALWMLTTHD), which is located in the Create Job Description (CRTJOBD) and Change Job Description (CHGJOBD) commands, controls whether the job supports multiple threads. OS/400 examines all job types except communications jobs and interactive jobs for the ALWMLTTHD parameter. The Add Prestart Job Entry (ADDPJE) and Change Prestart Job.