Update Application id Status from Active to Pending via Batch

Post Reply
o1283c
Nouveau
Nouveau
Posts: 3
Joined: 14 Jun 2016 3:41

Update Application id Status from Active to Pending via Batch

Post by o1283c » 22 Oct 2017 2:31

Hi all,

I'm new in TWSz 9.1 and I would like to find a way to update Application id (with selections, not all Application id) Status from Active to Pending via Batch.

I've searched the information about Batch Command Interface (EQQYCAIN), OCL but it seems no such function directly.

Mass Update function thru Panel (then submit as a batch Job) seems fine, however, no Application id selection, it has to be all Application id.

Currently, I started looking at EQQYCOM (PIF), not tried yet.

Anyone knows the way?

Paul

ptessiersetd
Nouveau
Nouveau
Posts: 2
Joined: 05 Jan 2018 10:35

Re: Update Application id Status from Active to Pending via Batch

Post by ptessiersetd » 05 Jan 2018 12:39

Hi

You can use SOE in 9.1 or WAPL ( new version of SOE ) in 9.3 using dbupdate option.

Philippe TESSIER

ptessiersetd
Nouveau
Nouveau
Posts: 2
Joined: 05 Jan 2018 10:35

Re: Update Application id Status from Active to Pending via Batch

Post by ptessiersetd » 05 Jan 2018 5:39

Hi

Please find out the SOE JCL

//JOBNAME JOB CLASS=O,MSGCLASS=O,
//* RESTART=STEP3,
// REGION=0M,NOTIFY=&SYSUID
// JCLLIB ORDER=SOE.V3R3M00.JCL
//STEP1 EXEC TWS8601,
// FILESPEC=FILEALL,
// SUBSYS=XXXX,VER=V910
//OUTDATA DD SYSOUT=*,LRECL=4096
//SYSIN DD *
OPTIONS ACTION(UPDATE)
ADSTART ADID(*) ADSTAT(A) NEW_ADSTAT(P)

Philippe TESSIER

Post Reply