The DDMCNV parameter is a job-related parameter that controls whether
Advanced Program-to-Program Communication (APPC) or iSeries™ conversations in the job that
is allocated for DDM use (that is, DDM conversations) are to be automatically
dropped or kept active for the source job.
The default is to keep the conversation active.
This parameter can drop a conversation when it has no active users.
The conversation is unused when:
- All the DDM files and remote files used in the conversation are closed
and unlocked (deallocated).
- No other DDM-related functions (like the Submit Remote Command
(SBMRMTCMD) command or the Display File Description (DSPFD) command
to access the target server) are being done.
- No DDM-related function has been interrupted (by a break program, for
example) while running.
The DDMCNV parameter values are:
- *KEEP
- Specifies that once each DDM conversation is started for the source job
it is kept active at the completion of a source program request, and it waits
for another request to be received from the same or another program running
in the job. This is the default value.
- *DROP
- Specifies that each DDM conversation started in the source job is to be
automatically dropped when both of the following items are true: no request
from the source server program(s) running in the job is being processed in
the conversation, and all the DDM files are closed and all objects that were
allocated are now deallocated.
The DDMCNV parameter is changed by the Change Job (CHGJOB) command
and is displayed by the Work with Job (WRKJOB) command.
Also, if the Retrieve Job Attributes (RTVJOBA) command
is used, you can get the value of this parameter and use it within a CL program.