CA Workload AutomationCA 7 EditionCommand Reference GuideVersion 12.0.00Second Edition

This Documentation, which includes embedded help systems and electronically distributed materials (hereinafter referred to asthe “Documentation”), is for your informational purposes only and is subject to change or withdrawal by CA at any time. ThisDocumentation is proprietary information of CA and may not be copied, transferred, reproduced, disclosed, modified orduplicated, in whole or in part, without the prior written consent of CA.If you are a licensed user of the software product(s) addressed in the Documentation, you may print or otherwise makeavailable a reasonable number of copies of the Documentation for internal use by you and your employees in connection withthat software, provided that all CA copyright notices and legends are affixed to each reproduced copy.The right to print or otherwise make available copies of the Documentation is limited to the period during which the applicablelicense for such software remains in full force and effect. Should the license terminate for any reason, it is your responsibility tocertify in writing to CA that all copies and partial copies of the Documentation have been returned to CA or destroyed.TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION “AS IS” WITHOUT WARRANTY OF ANYKIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULARPURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE,DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST PROFITS, LOSTINVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED IN ADVANCE OF THEPOSSIBILITY OF SUCH LOSS OR DAMAGE.The use of any software product referenced in the Documentation is governed by the applicable license agreement and suchlicense agreement is not modified in any way by the terms of this notice.The manufacturer of this Documentation is CA.Provided with “Restricted Rights.” Use, duplication or disclosure by the United States Government is subject to the restrictionsset forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-7014(b)(3), as applicable, ortheir successors.Copyright 2015 CA. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong totheir respective companies.

CA Technologies Product ReferencesThis document references the following CA Technologies products: CA Workload Automation CA 7 Edition, (CA WA CA 7 Edition), formerly CAWorkload Automation SE and CA 7 Workload Automation CA 1 Tape Management (CA 1) CA Datacom/AD CA Integrated Agent Services (CA IAS) CA JCLCheck Workload Automation (CA JCLCheck ) CA Librarian CA OPS/MVS Event Management and Automation (CA OPS/MVS EMA) CA Panvalet for z/OS CA Roscoe CA Service Desk CA Workload Automation Restart Option for z/OS Schedulers (CA WA RestartOption), formerly CA 11 Restart and Tracking

Contact CA TechnologiesContact CA SupportFor your convenience, CA Technologies provides one site where you can access theinformation that you need for your Home Office, Small Business, and Enterprise CATechnologies products. At, you can access the followingresources: Online and telephone contact information for technical assistance and customerservices Information about user communities and forums Product and documentation downloads CA Support policies and guidelines Other helpful resources appropriate for your productProviding Feedback About Product DocumentationIf you have comments or questions about CA Technologies product documentation, youcan send a message to [email protected] provide feedback about CA Technologies product documentation, complete ourshort customer survey which is available on the CA Support website at

Documentation ChangesThe following documentation updates have been made since the last release of thisdocumentation: /ASSIGN Command (see page 57)—Changes to the existing topic. /DISPLAY Command (see page 74)—Changes to the Examples. /OPERIDS Command (see page 124)—Changes to the Examples. LAGENT Command (see page 312)—Changes to the Examples. LJOB Command (see page 370)—Changes to the Examples. PRSQA Command (see page 567)—Changes to the existing topic. PRSQD Command (see page 568)—Changes to the existing topic.

ContentsChapter 1: Introduction21Syntax Diagrams . 21Masking . 22Commands . 24Long Online Commands . 24Example . 25Long Job Names . 26Short Name Generation . 27Long Job Name Rules . 27General System Commands . 28General Inquiry Facility . 29Job Flow Control . 32Workstation Network Control . 34Forecasting . 36Forecast Facility. 36Forecasting from the Database . 45Forecasting from Queues . 47Forecasting Job Flow Structures . 49Forecasting Resources . 50Forecasting Tape Requirements . 51CPU Job Worksheets . 53Chapter 2: Commands55/AFM Command . 55/AGENT Command . 55Format 1 . 55Format 2 . 56/ASSIGN Command. 57Format 1 . 57Format 2 . 57Format 3 . 58Usage Notes . 59Examples . 59/AUTO Command . 59Usage Notes . 60Examples . 60Contents 7

/BRO Command . 61Examples . 62/CHANGE Command . 62Usage Notes . 63Example . 63/CHGOPT Command . 64Usage Notes . 67Example . 67/CLOSE Command . 67Examples . 68/COID Commmand . 69Examples . 69/CONT Command . 70Usage Notes . 70Examples . 71/COPY Command . 71Usage Notes . 71Examples . 72/DELAGNT Command . 72Example . 73/DISPLAY Command . 74Examples . 81/DMP1 Command . 100/DRCLASS Command . 100Examples . 101/DRMODE Command. 101Usage Notes . 103Examples . 103/DUMP Command . 103Usage Notes . 103/EADMIN Command . 104/ECHO Command . 105Usage Notes . 105Examples . 106/EMAIL Command . 106/FETCH Command . 107Usage Notes . 107/GVAR Command . 108/IAS Command . 110/JCL Command . 112/LOG Command . 115Usage Notes . 1158 Command Reference Guide

Examples . 115/LOGOFF Command . 116/LOGON Command. 116Usage Notes . 117Example . 118/MSG Command . 118Usage Notes . 119Examples . 119/MVS Command . 120Example . 120Special Considerations . 120/NXTMSG Command . 121/OPEN Command . 121Format 1 . 122Format 2 . 122Examples . 123/OPERID Command . 123Example .