Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

TWS OPC Batch clonning..

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
RK1

New User


Joined: 15 Jul 2009
Posts: 17
Location: pune

PostPosted: Mon Jul 19, 2010 8:41 pm    Post subject: TWS OPC Batch clonning..
Reply with quote

Hi,

I have batch of around 50 applications including 200 jobs.
Jobs starts with ACCT* generic names. All are running on same workstation AWST.
My requirement is to clone this batch with new naming convention. New batch will be having jobs starting with PROD* & will be running on PWST workstation.
Is there any feature of OPC that helps me to unload this OPC data, modify it (rename job, workstation, special resource, status of application-A or P) & reload this data to OPC again?
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2429
Location: Netherlands, Amstelveen

PostPosted: Tue Jul 20, 2010 10:59 am    Post subject:
Reply with quote

The EQQYCBAG member of the EQQSAMP library provides a sample in which the Batch Command Interface Tool (BCIT) is used to unload a group application, and all applications belonging to it, into a sequential file in batchloader control statement format. The group applications, as well as other applications, can be modified via the batchloader control statements. The sequential file can therafter be used as input to the batchloader run. This sample consists of two jobs: 1. The ’unload’ job, that uses the batch command interface tool 2. The ’load’ job, that uses the batchloader.Before running the job, you need to customize it with correct values for the job card name, data set names, subsystem name, and so on.

See :

TWS Customization and Tuning SH19-4544
Back to top
View user's profile Send private message
RK1

New User


Joined: 15 Jul 2009
Posts: 17
Location: pune

PostPosted: Tue Jul 20, 2010 1:46 pm    Post subject: Reply to: TWS OPC Batch clonning..
Reply with quote

Hi Peter,

Thanks for information. We are using below JCL but it is not listing any output. Can you please correct it if it is wrong or provide sample JCL for this (Unload & Load)

Regards, RK

//WOPS3A JOB 'WOPS3',CLASS=A,MSGLEVEL=(1,1),NOTIFY=&SYSUID
//*
//* Licensed Materials - Property of IBM
//* 5698-A17
//* Copyright IBM Corp. 1990, 2009 All Rights Reserved.
//* US Government Users Restricted Rights - Use, duplication
//* or disclosure restricted by GSA ADP Schedule Contract
//* with IBM Corp.
//*
//*==================================================================*/
//*$MOD(EQQYCBAT) COMP(SAMPLES) PROD(OPC): BCIT execution */
//* */
//*Flag Reason Rlse Date Origin Flag Description */
//*---- -------- ------ ------ ------ -------------------------------*/
//*$01= DCR0145 240.6 010206 VP: Linkedit no more needed 96@01D*/
//*$41= DCR0148 850.7 081212 COND: add CPCOND @41A*/
//* */
//*==================================================================*/
//* */
//* THIS JOB EXECUTES THE EQQYCAIN PROGRAM,
//* THE BATCH COMMAND INTERFACE TOOL (BCIT).
//*
//* THE FOLLOWING STEP IS EXECUTED IN THIS JOB:
//*
//* PIFCMD: INVOKES THE EQQYCAIN PROGRAM TO ACCESS THE TWSz DATA
//*
//* IN ORDER TO USE THIS JOB SUCCESSFULLY YOU SHOULD MODIFY IT
//* AS FOLLOWS:
//* 1. REPLACE THE JOBCARD WITH A VALID JOBCARD FOR YOUR INSTALLATION.
//* 2. LOCATE DATA SET NAMES BEGINNING WITH PROD.INST AND REPLACE WITH
//* DATA SET NAMES VALID FOR YOUR INSTALLATION.
//* 3. LOCATE THE STRING 'OPCA' AND REPLACE WITH THE NAME OF YOUR
//* TWSz SYSTEM.
//* 4. CUSTOMIZE THE SYSIN PARAMETERS.
//*
//* NOTE THAT THIS JOB ASSUMES THAT TWSz HAS BEEN INSTALLED
//* AND THAT THE SMP ACCEPT FUNCTION HAS BEEN PERFORMED.
//* IT ALSO ASSUMES THAT THE TWSz LOAD MODULES REQUIRED BY THE
//* TWSz PROGRAM INTERFACE ARE AVAILABLE FROM STEPLIB.
//*
//*
//PIFCMD EXEC PGM=EQQYCAIN,COND=(4,LT),REGION=4096K,
// PARM='OPCX,,CPSTDA,,MISSCP'
//*STEPLIB DD DISP=SHR,DSN=PROD.INST.SEQQLMD0
//EQQMLIB DD DISP=SHR,DSN=SYS1.SEQQMSG0
//*EQQYPARM DD DISP=SHR,DSN=WOPS3.TEST.JCL(YPARM)
//BATCHL DD SYSOUT=*
//OI DD SYSOUT=*
//AD DD SYSOUT=*
//CPOC DD SYSOUT=*
//CPOP DD SYSOUT=*
//CPCOND DD SYSOUT=*
//DATAFI DD SYSOUT=*
//EXPORTAD DD SYSOUT=*
//EXPORTOI DD SYSOUT=*
//ERREUR DD SYSOUT=*
//EQQMLOG DD SYSOUT=*
//EQQDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
ACTION=OPTIONS,BL=N,BLPRT=Y,LTP=N;
ACTION=LIST,RESOURCE=ADKEY,ADID=DUMPBATCH1N.
/*
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2429
Location: Netherlands, Amstelveen

PostPosted: Tue Jul 20, 2010 2:25 pm    Post subject:
Reply with quote

Did you customize the jcl for your environment and most important
also the SYSIN parameters?

Maybe your TWS/OPCA support can help you.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us