Scheduler Usage
http://scheduler-usage.com/

Update Application id Status from Active to Pending via Batch
http://scheduler-usage.com/viewtopic.php?f=39&t=4290
Page 1 of 1

Author:  o1283c [ 22 Oct 2017 2:31 ]
Post subject:  Update Application id Status from Active to Pending via Batch

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

Author:  ptessiersetd [ 05 Jan 2018 12:39 ]
Post subject:  Re: Update Application id Status from Active to Pending via Batch

Hi

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

Philippe TESSIER

Author:  ptessiersetd [ 05 Jan 2018 5:39 ]
Post subject:  Re: Update Application id Status from Active to Pending via Batch

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

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/