Page 1 of 1

Update Application id Status from Active to Pending via Batch

Posted: 22 Oct 2017 2:31
by o1283c
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

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

Posted: 05 Jan 2018 12:39
by ptessiersetd
Hi

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

Philippe TESSIER

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

Posted: 05 Jan 2018 5:39
by ptessiersetd
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