<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6622910510609540842</id><updated>2012-01-25T11:35:54.801-08:00</updated><title type='text'>tso tips</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-7197956952584450969</id><published>2010-02-16T10:57:00.000-08:00</published><updated>2010-02-16T12:05:38.875-08:00</updated><title type='text'></title><content type='html'>List of SYSIBM tables&lt;br /&gt;&lt;br /&gt;select * from sysibm.systables where CREATOR = 'SYSIBM' ;&lt;br /&gt;&lt;br /&gt;DSNRLST01&lt;br /&gt;INDOUBT&lt;br /&gt;IPLIST&lt;br /&gt;IPNAMES&lt;br /&gt;JSPOUT&lt;br /&gt;LOCATIONS&lt;br /&gt;LULIST&lt;br /&gt;LUMODES&lt;br /&gt;LUNAMES&lt;br /&gt;MODESELECT&lt;br /&gt;SQLTABLETYPES&lt;br /&gt;SQLTYPEINFO&lt;br /&gt;SQTCOLPRIVILEGES&lt;br /&gt;SQTCOLUMNS&lt;br /&gt;SQTFOREIGNKEYS&lt;br /&gt;SQTPRIMARYKEYS&lt;br /&gt;SQTPROCEDURECOLS&lt;br /&gt;SQTPROCEDURES&lt;br /&gt;SQTSPECIALCOLUMNS&lt;br /&gt;SQTSTATISTICS&lt;br /&gt;SQTTABLEPRIVILEGES&lt;br /&gt;SQTTABLES&lt;br /&gt;SQTUDTS&lt;br /&gt;SYSAUXRELS&lt;br /&gt;SYSCHECKDEP&lt;br /&gt;SYSCHECKS&lt;br /&gt;SYSCHECKS2&lt;br /&gt;SYSCOLAUTH&lt;br /&gt;SYSCOLDIST&lt;br /&gt;SYSCOLDISTSTATS&lt;br /&gt;SYSCOLDIST_HIST&lt;br /&gt;SYSCOLSTATS&lt;br /&gt;SYSCOLUMNS&lt;br /&gt;SYSCOLUMNS_HIST&lt;br /&gt;SYSCONSTDEP&lt;br /&gt;SYSCOPY&lt;br /&gt;SYSDATABASE&lt;br /&gt;SYSDATATYPES&lt;br /&gt;SYSDBAUTH&lt;br /&gt;SYSDBRM&lt;br /&gt;SYSDUMMY1&lt;br /&gt;SYSDUMMYA&lt;br /&gt;SYSDUMMYE&lt;br /&gt;SYSDUMMYU&lt;br /&gt;SYSFIELDS&lt;br /&gt;SYSFOREIGNKEYS&lt;br /&gt;SYSINDEXES&lt;br /&gt;SYSINDEXES_HIST&lt;br /&gt;SYSINDEXPART&lt;br /&gt;SYSINDEXPART_HIST&lt;br /&gt;SYSINDEXSTATS&lt;br /&gt;SYSINDEXSTATS_HIST&lt;br /&gt;SYSJARCLASS_SOURCE&lt;br /&gt;SYSJARCONTENTS&lt;br /&gt;SYSJARDATA&lt;br /&gt;SYSJAROBJECTS&lt;br /&gt;SYSJAVAOPTS&lt;br /&gt;SYSKEYCOLUSE&lt;br /&gt;SYSKEYS&lt;br /&gt;SYSLOBSTATS&lt;br /&gt;SYSLOBSTATS_HIST&lt;br /&gt;SYSOBDS&lt;br /&gt;SYSPACKAGE&lt;br /&gt;SYSPACKAUTH&lt;br /&gt;SYSPACKDEP&lt;br /&gt;SYSPACKLIST&lt;br /&gt;SYSPACKSTMT&lt;br /&gt;SYSPARMS&lt;br /&gt;SYSPKSYSTEM&lt;br /&gt;SYSPLAN&lt;br /&gt;SYSPLANAUTH&lt;br /&gt;SYSPLANDEP&lt;br /&gt;SYSPLSYSTEM&lt;br /&gt;SYSPRINT&lt;br /&gt;SYSPSM&lt;br /&gt;SYSPSMOPTS&lt;br /&gt;SYSPSMOUT&lt;br /&gt;SYSRELS&lt;br /&gt;SYSRESAUTH&lt;br /&gt;SYSROUTINEAUTH&lt;br /&gt;SYSROUTINES&lt;br /&gt;SYSROUTINES_OPTS&lt;br /&gt;SYSROUTINES_SRC&lt;br /&gt;SYSSCHEMAAUTH&lt;br /&gt;SYSSEQUENCEAUTH&lt;br /&gt;SYSSEQUENCES&lt;br /&gt;SYSSEQUENCESDEP&lt;br /&gt;SYSSTMT&lt;br /&gt;SYSSTOGROUP&lt;br /&gt;SYSSTRINGS&lt;br /&gt;SYSSYNONYMS&lt;br /&gt;SYSTABAUTH&lt;br /&gt;SYSTABCONST&lt;br /&gt;SYSTABLEPART&lt;br /&gt;SYSTABLEPART_HIST&lt;br /&gt;SYSTABLES&lt;br /&gt;SYSTABLESPACE&lt;br /&gt;SYSTABLES_HIST&lt;br /&gt;SYSTABSTATS&lt;br /&gt;SYSTABSTATS_HIST&lt;br /&gt;SYSTRIGGERS&lt;br /&gt;SYSUSERAUTH&lt;br /&gt;SYSVIEWDEP&lt;br /&gt;SYSVIEWS&lt;br /&gt;SYSVLTREE&lt;br /&gt;SYSVOLUMES&lt;br /&gt;SYSVTREE&lt;br /&gt;UINDEXES&lt;br /&gt;USERNAMES&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IPLIST (V8) &lt;br /&gt;Associates multiple IP addresses to a given LOCATION&lt;br /&gt;&lt;br /&gt;IPNAMES &lt;br /&gt;Contains the LUs associated with other systems accessible to the local DB2 subsystem&lt;br /&gt;&lt;br /&gt;LOCATIONS &lt;br /&gt;Contains distributed location information for every accessible remote server&lt;br /&gt;&lt;br /&gt;LULIST &lt;br /&gt;Contains the list of LUNAMEs for a given distributed location (when multiple LUNAMEs are associated with a single location)&lt;br /&gt;&lt;br /&gt;LUMODES &lt;br /&gt;Information on distributed conversation limits&lt;br /&gt;&lt;br /&gt;LUNAMES &lt;br /&gt;Contains information for every SNA client or server that communicates with the DB2 subsystem&lt;br /&gt;&lt;br /&gt;MODESELECT &lt;br /&gt;Information assigning mode names to conversations supporting outgoing SQL requests&lt;br /&gt;&lt;br /&gt;SYSAUXRELS &lt;br /&gt;Information on the auxiliary tables required for LOB columns&lt;br /&gt;&lt;br /&gt;SYSCHECKDEP &lt;br /&gt;Column references for CHECK constraints&lt;br /&gt;&lt;br /&gt;SYSCHECKS &lt;br /&gt;CHECK constraint specifications&lt;br /&gt;&lt;br /&gt;SYSCHECKS2 (V7) &lt;br /&gt;Information about CHECK constraints on DB2 Catalog tables created for V7 or later&lt;br /&gt;&lt;br /&gt;SYSCOLAUTH &lt;br /&gt;The UPDATE privileges held by DB2 users on table or view columns&lt;br /&gt;&lt;br /&gt;SYSCOLDIST &lt;br /&gt;Cardinality, frequent value, and non-padded frequent value distribution statistics for the first key column of an index key&lt;br /&gt;&lt;br /&gt;SYSCOLDIST_HIST (V7) &lt;br /&gt;Column distribution statistics history&lt;br /&gt;&lt;br /&gt;SYSCOLDISTSTATS &lt;br /&gt;The non-uniform distribution statistics for the ten most frequently occurring values for the first key column in a partitioned index&lt;br /&gt;&lt;br /&gt;SYSCOLSTATS &lt;br /&gt;The partition statistics for selected columns&lt;br /&gt;&lt;br /&gt;SYSCOLUMNS &lt;br /&gt;Information about every column of every DB2 table and view&lt;br /&gt;&lt;br /&gt;SYSCOLUMNS_HIST (V7) &lt;br /&gt;Historical column statistics&lt;br /&gt;&lt;br /&gt;SYSCONSTDEP &lt;br /&gt;Information regarding columns that are dependent on CHECK constraints and user-defined defaults&lt;br /&gt;&lt;br /&gt;SYSCOPY &lt;br /&gt;Information on the execution of DB2 utilities required by DB2 recovery&lt;br /&gt;&lt;br /&gt;SYSDATABASE &lt;br /&gt;Information about every DB2 database&lt;br /&gt;&lt;br /&gt;SYSDATATYPES &lt;br /&gt;Information about the user-defined distinct types defined to the DB2 subsystem&lt;br /&gt;&lt;br /&gt;SYSDBAUTH &lt;br /&gt;Database privileges held by DB2 users&lt;br /&gt;&lt;br /&gt;SYSDBRM &lt;br /&gt;DBRM information only for DBRMs bound into DB2 plans&lt;br /&gt;&lt;br /&gt;SYSDUMMY1 &lt;br /&gt;Contains no information; this table is for use in SQL statements requiring a table reference without regard to data content&lt;br /&gt;&lt;br /&gt;SYSFIELDS &lt;br /&gt;Information on field procedures implemented for DB2 tables&lt;br /&gt;&lt;br /&gt;SYSFOREIGNKEYS &lt;br /&gt;Information about all columns participating in foreign keys&lt;br /&gt;&lt;br /&gt;SYSINDEXES &lt;br /&gt;Information about every DB2 index&lt;br /&gt;&lt;br /&gt;SYSINDEXES_HIST (V7) &lt;br /&gt;Historical index statistics&lt;br /&gt;&lt;br /&gt;SYSINDEXPART &lt;br /&gt;Information about the physical structure and storage of every DB2 index&lt;br /&gt;&lt;br /&gt;SYSINDEXPART_HIST (V7) &lt;br /&gt;Historical index partition statistics&lt;br /&gt;&lt;br /&gt;SYSINDEXSTATS &lt;br /&gt;Partitioned index statistics by partition&lt;br /&gt;&lt;br /&gt;SYSINDEXSTATS_HIST (V7) &lt;br /&gt;Historical partitioned index statistics by partition&lt;br /&gt;&lt;br /&gt;SYSJARCONTENTS (V7) &lt;br /&gt;Java class source for installed JAR&lt;br /&gt;&lt;br /&gt;SYSJARDATA (V7) &lt;br /&gt;Auxiliary table for the BLOB data from SYSJAROBJECTS&lt;br /&gt;&lt;br /&gt;SYSJAROBJECTS (V7) &lt;br /&gt;The contents of the installed JAR&lt;br /&gt;&lt;br /&gt;SYSJARCLASS_SOURCE (V7) &lt;br /&gt;Auxiliary table for the CLOB data from SYSJARCONTENTS&lt;br /&gt;&lt;br /&gt;SYSKEYCOLUSE (V7) &lt;br /&gt;Columns that participate in unique constraints (primary key or unique key) from the SYSTABCONST table&lt;br /&gt;&lt;br /&gt;SYSKEYS &lt;br /&gt;Information about every column of every DB2 index&lt;br /&gt;&lt;br /&gt;SYSLINKS &lt;br /&gt;Information about the links between DB2 Catalog tables&lt;br /&gt;&lt;br /&gt;SYSLOBSTATS &lt;br /&gt;Statistical information for LOB table spaces&lt;br /&gt;&lt;br /&gt;SYSLOBSTATS_HIST (V7) &lt;br /&gt;Historical LOB statistics&lt;br /&gt;&lt;br /&gt;SYSPACKAGE &lt;br /&gt;Information about every package known to DB2&lt;br /&gt;&lt;br /&gt;SYSPACKAUTH &lt;br /&gt;Package privileges held by DB2 users&lt;br /&gt;&lt;br /&gt;SYSPACKDEP &lt;br /&gt;A cross-reference of DB2 objects required for DB2 packages&lt;br /&gt;&lt;br /&gt;SYSPACKLIST &lt;br /&gt;The package list for plans bound specifying packages&lt;br /&gt;&lt;br /&gt;SYSPACKSTMT &lt;br /&gt;All SQL statements contained in each DB2 package&lt;br /&gt;&lt;br /&gt;SYSPARMS &lt;br /&gt;Parameters for defined routines&lt;br /&gt;&lt;br /&gt;SYSPKSYSTEM &lt;br /&gt;The systems (such as CICS, IMS, or batch) enabled for DB2 packages&lt;br /&gt;&lt;br /&gt;SYSPLAN &lt;br /&gt;Information about every plan known to DB2SYSPLANSYSPLANAUTHPlan privileges held by DB2 users&lt;br /&gt;&lt;br /&gt;SYSPLANDEP &lt;br /&gt;A cross-reference of DB2 objects required by DB2 plans&lt;br /&gt;&lt;br /&gt;SYSPLSYSTEM &lt;br /&gt;The systems (such as CICS, IMS, or batch) enabled for DB2 plans&lt;br /&gt;&lt;br /&gt;SYSPROCEDURES &lt;br /&gt;The stored procedures available to the DB2 subsystem&lt;br /&gt;&lt;br /&gt;SYSRELS &lt;br /&gt;The referential integrity information for every relationship defined to DB2&lt;br /&gt;&lt;br /&gt;SYSRESAUTH &lt;br /&gt;Resource privileges held by DB2 users&lt;br /&gt;&lt;br /&gt;SYSROUTINEAUTH &lt;br /&gt;Privileges held by DB2 users on routines&lt;br /&gt;&lt;br /&gt;SYSROUTINES &lt;br /&gt;Information about every routine (that is, user-defined functions and stored procedures) defined to the DB2 subsystem&lt;br /&gt;&lt;br /&gt;SYSROUTINES_OPTS (V7) &lt;br /&gt;Information about the options used by DB2-generated routines&lt;br /&gt;&lt;br /&gt;SYSROUTINES_SRC (V7) &lt;br /&gt;The source code for routines generated by DB2&lt;br /&gt;&lt;br /&gt;SYSSCHEMAAUTH &lt;br /&gt;Schema privileges granted to users&lt;br /&gt;&lt;br /&gt;SYSSEQUENCEAUTH (V8) &lt;br /&gt;Privileges held by DB2 users on SEQUENCE objects&lt;br /&gt;&lt;br /&gt;SYSSEQUENCES (V7) &lt;br /&gt;Information about identity columns and SEQUENCE objects&lt;br /&gt;&lt;br /&gt;SYSSEQUENCESDEP (V8) &lt;br /&gt;Records the dependencies of identity columns on tables&lt;br /&gt;&lt;br /&gt;SYSSTMT &lt;br /&gt;All SQL statements contained in each DB2 plan bound from a DBRM&lt;br /&gt;&lt;br /&gt;SYSSTOGROUP &lt;br /&gt;Information about every DB2 storage group&lt;br /&gt;&lt;br /&gt;SYSSTRINGS &lt;br /&gt;Character conversion information&lt;br /&gt;&lt;br /&gt;SYSSYNONYMS &lt;br /&gt;Information about every DB2 synonym&lt;br /&gt;&lt;br /&gt;SYSTABAUTH &lt;br /&gt;Table privileges held by DB2 users&lt;br /&gt;&lt;br /&gt;SYSTABCONST (V7) &lt;br /&gt;Information about every unique constraint (primary key or unique key) created in DB2 V7 or later&lt;br /&gt;&lt;br /&gt;SYSTABLEPART &lt;br /&gt;Information about the physical structure and storage of every DB2 table space&lt;br /&gt;&lt;br /&gt;SYSTABLEPART_HIST (V7) &lt;br /&gt;Historical table space partition statistics&lt;br /&gt;&lt;br /&gt;SYSTABLES &lt;br /&gt;Information about every DB2 table&lt;br /&gt;&lt;br /&gt;SYSTABLES_HIST (V7) &lt;br /&gt;Table statistics history&lt;br /&gt;&lt;br /&gt;SYSTABLESPACE &lt;br /&gt;Information about every DB2 table space&lt;br /&gt;&lt;br /&gt;SYSTABSTATS &lt;br /&gt;Partitioned table space statistics by partition&lt;br /&gt;&lt;br /&gt;SYSTABSTATS_HIST (V7) &lt;br /&gt;Historical partitioned table space statistics by partition&lt;br /&gt;&lt;br /&gt;SYSTRIGGERS &lt;br /&gt;Information about every trigger defined to the DB2 subsystem&lt;br /&gt;&lt;br /&gt;SYSUSERAUTH &lt;br /&gt;System privileges held by DB2 users&lt;br /&gt;&lt;br /&gt;SYSVIEWDEP &lt;br /&gt;A cross-reference of DB2 objects required by DB2 views&lt;br /&gt;&lt;br /&gt;SYSVIEWS &lt;br /&gt;The SQL CREATE VIEW statement for every DB2 view&lt;br /&gt;&lt;br /&gt;SYSVLTREE &lt;br /&gt;A portion of the internal representation of complex or long views&lt;br /&gt;&lt;br /&gt;SYSVOLUMES &lt;br /&gt;A cross-reference of DASD volumes assigned to DB2 storage groups&lt;br /&gt;&lt;br /&gt;SYSVTREE &lt;br /&gt;The first 4000 bytes of the internal representation of the view; the remaining portion of longer or complex views is stored in SYSVLTREE&lt;br /&gt;&lt;br /&gt;USERNAMES &lt;br /&gt;Outbound and inbound ID translation information&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;selEct GRANTEE ,TTNAME , GRANTOR,  INSERTAUTH, SELECTAUTH, UPDATEAUTH, DELETEAUTH,&lt;br /&gt;GRANTEETYPE , DBNAME, SCREATOR,  STNAME ,   TCREATOR       &lt;br /&gt; from sysibm.SYSTABAUTH where TTNAME ='VRECON_DETAIL' AND TCREATOR = 'SIDC3008'  ;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-7197956952584450969?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/7197956952584450969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=7197956952584450969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/7197956952584450969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/7197956952584450969'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2010/02/list-of-sysibm-tables-iplist-v8.html' title=''/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-6630520521413145733</id><published>2010-02-13T08:33:00.000-08:00</published><updated>2010-02-13T08:36:21.445-08:00</updated><title type='text'>sql error code</title><content type='html'>These are the most common SQL CODES.&lt;br /&gt;&lt;br /&gt;&lt;BR&gt;SQLCODES for DB2 Version 8 &lt;A HREF="http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/DSNMCJ12/2.3?DT=20050406074217"&gt;&lt;br /&gt;from the IBM manual GC18-7422-0 04/06/05&lt;/A&gt;&lt;br /&gt;&lt;br&gt;&lt;a href="http://theamericanprogrammer.com/programming/manuals.sql.shtml" title="when you need to look up something"&gt;Manuals and Tutorials on SQL and DB2&lt;/a&gt;&lt;br /&gt;&lt;br&gt;&lt;a href="http://theamericanprogrammer.com/books/books.db2.shtml" title="know what you are doing"&gt;Buy Books on SQL and DB2 so you will know what causes these SQLCODES&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;BR&gt;&lt;A HREF="http://theamericanprogrammer.com/programming/vsamerr.shtml"&gt;&lt;br /&gt;VSAM and QSAM File Status Codes/keys&lt;/A&gt;&lt;br /&gt;&lt;BR&gt;&lt;a href="http://theamericanprogrammer.com/programming/abend-codes.shtml"&gt;&lt;br /&gt;Abend codes / System Completion Codes&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQLCODE +100 SQLSTATE 02000&lt;br /&gt; Row not found or end of cursor&lt;br /&gt;&lt;br /&gt;SQLCODE -102 String constant is too long&lt;br /&gt;&lt;br /&gt;SQLCODE -117 The number of values you are trying to INSERT &lt;br /&gt;             does not match the number of columns&lt;br /&gt;&lt;br /&gt;SQLCODE -180 SQLSTATE 22007&lt;br /&gt; Bad data in Date/Time/Timestamp&lt;br /&gt; String representation of DATE, TIME, TIMESTAMP is invalid&lt;br /&gt;&lt;br /&gt;SQLCODE -181 SQLSTATE 22007&lt;br /&gt; Bad data in Date/Time/Timestamp&lt;br /&gt; Value for DATE, TIME, TIMESTAMP is invalid&lt;br /&gt;&lt;br /&gt;SQLCODE -199 Illegal use of the specified keyword.&lt;br /&gt;&lt;br /&gt;SQLCODE -204 Object not defined to DB2&lt;br /&gt;&lt;br /&gt;SQLCODE -205 Column name not in specified table&lt;br /&gt;&lt;br /&gt;SQLCODE -206 Column does not exist in any table in the SELECT&lt;br /&gt;&lt;br /&gt;SQLCODE -216   &lt;br /&gt; You need to use the same number of expressions on both sides of the comparison. &lt;br /&gt; when using multiple operands in a comparison, &lt;br /&gt; Correct example:&lt;br /&gt; WHERE (E.SALARY, E.COMM) IN&lt;br /&gt; (SELECT S.PAY, S.COMMISSION&lt;br /&gt; Incorrect example:&lt;br /&gt; WHERE (E.SALARY, E.COMM, E.BONUS) IN&lt;br /&gt; (SELECT S.PAY, S.COMMISSION&lt;br /&gt;&lt;br /&gt;SQLCODE +222 Trying to fetch a row that fell through a DELETE hole&lt;br /&gt;&lt;br /&gt;SQLCODE +223 Trying to fetch a row that fell through an UPDATE hole&lt;br /&gt;&lt;br /&gt;SQLCODE -224 FETCH cannot make an INSENSITIVE cursor SENSITIVE&lt;br /&gt;&lt;br /&gt;SQLCODE -229 The locale specified in a SET LOCALE statement was not found.&lt;br /&gt;&lt;br /&gt;SQLCODE +231 FETCH &lt;br /&gt; but you did a BEFORE or AFTER and you are not on a valid row &lt;br /&gt;&lt;br /&gt;SQLCODE +304 Value cannot be assigned to this host variable because it is out of range&lt;br /&gt;&lt;br /&gt;SQLCODE -305 Null indicator needed&lt;br /&gt;&lt;br /&gt;SQLCODE -311 Varchar, insert or update. &lt;br /&gt;             You didn’t set the -LEN field with the right data length&lt;br /&gt;&lt;br /&gt;SQLCODE -482 he procedure returned no locators&lt;br /&gt;&lt;br /&gt;SQLCODE -501 Cursor not open on FETCH&lt;br /&gt;&lt;br /&gt;SQLCODE -502 Opening cursor that is already open&lt;br /&gt;&lt;br /&gt;SQLCODE -503 Updating column which needs to be specified in FOR UPDATE OF&lt;br /&gt;&lt;br /&gt;SQLCODE -530 SQLSTATE 23503&lt;br /&gt; Referential integrity prevents the INSERT/UPDATE&lt;br /&gt;&lt;br /&gt;SQLCODE -532 SQLSTATE 23504&lt;br /&gt; Referential integrity (DELETE RESTRICT rule)  prevents the DELETE&lt;br /&gt;&lt;br /&gt;SQLCODE -536 SQLSTATE 42914&lt;br /&gt; Referential integrity (DELETE RESTRICT rule)  prevents the DELETE&lt;br /&gt;&lt;br /&gt;SQLCODE -545 SQLSTATE 23513&lt;br /&gt; Check constraint prevents the INSERT/UPDATE&lt;br /&gt;&lt;br /&gt;SQLCODE -747 The table specified is not available &lt;br /&gt;             because tables and/or indexes need to be created.&lt;br /&gt;&lt;br /&gt;SQLCODE +802 The null indicator was set to -2 &lt;br /&gt;             because an arithmetic statement didn't work.&lt;br /&gt;&lt;br /&gt;SQLCODE -803 SQLSTATE 23505&lt;br /&gt; Duplicate key on insert or update&lt;br /&gt;&lt;br /&gt;SQLCODE -805   &lt;br /&gt; DBRM or package not found in plan&lt;br /&gt; Is plan name correct?&lt;br /&gt; See this web page&lt;br /&gt;&lt;br /&gt;SQLCODE -811 More than one row retrieved in SELECT INTO&lt;br /&gt;&lt;br /&gt;SQLCODE -818 Plan and program: timestamp mismatch&lt;br /&gt;&lt;br /&gt;SQLCODE -904 SQLSTATE 57011&lt;br /&gt; Unavailable resource. Someone is locking the data you need&lt;br /&gt; you may choose to terminate the program&lt;br /&gt;&lt;br /&gt;SQLCODE -911 SQLSTATE 40000&lt;br /&gt; Deadlock or timeout. Rollback has been done.&lt;br /&gt;&lt;br /&gt;SQLCODE -913 SQLSTATE 40502&lt;br /&gt; Your program was the victim of a deadlock or timeout. &lt;br /&gt; NO rollback has been done.&lt;br /&gt; You should do a ROLLBACK.&lt;br /&gt;&lt;br /&gt;SQLCODE -922 Authorization needed&lt;br /&gt;&lt;br /&gt;SQLCODE -927 The language interface was called but no connection had been&lt;br /&gt;&lt;br /&gt;SQLCODE reference: All the sqlcodes from -991 to +883 in DB2 Version 7.&lt;br /&gt;Top of Page&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  SQLCODE  -991, Error: CALL ATTACH WAS UNABLE TO ESTABLISH AN IMPLICIT CONNECT OR OPEN TO DB2.  RC1= RC2=&lt;br /&gt;&lt;br /&gt;  SQLCODE  -981, Error: THE SQL STATEMENT FAILED BECAUSE THE RRSAF CONNECTION IS NOT IN A STATE THAT ALLOWS SQL OPERATIONS, REASON&lt;br /&gt;&lt;br /&gt;  SQLCODE  -950, Error: THE LOCATION NAME SPECIFIED IN THE CONNECT STATEMENT IS INVALID OR NOT LISTED IN THE COMMUNICATIONS DATABASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -948, Error: DISTRIBUTED OPERATION IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -947, Error: THE SQL STATEMENT FAILED BECAUSE IT WILL CHANGE A TABLE DEFINED WITH DATA CAPTURE&lt;br /&gt;CHANGES, BUT THE DATA CANNOT BE PROPAGATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -939, Error: ROLLBACK REQUIRED DUE TO UNREQUESTED ROLLBACK OF A REMOTE SERVER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -929, Error: FAILURE IN A CHANGED DATA CAPTURE EXIT:&lt;br /&gt;&lt;br /&gt;  SQLCODE  -927, Error: THE LANGUAGE INTERFACE (LI) WAS CALLED WHEN THE CONNECTING ENVIRONMENT WAS NOT&lt;br /&gt;ESTABLISHED. THE PROGRAM SHOULD BE INVOKED UNDER THE DSN COMMAND&lt;br /&gt;&lt;br /&gt;  SQLCODE  -926, Error: ROLLBACK NOT VALID IN IMS OR CICS ENVIRONMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -925, Error: COMMIT NOT VALID IN IMS OR CICS ENVIRONMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -924, Error: DB2 CONNECTION INTERNAL ERROR, , ,&lt;br /&gt;&lt;br /&gt;  SQLCODE  -923, Error: CONNECTION NOT ESTABLISHED: DB2 , REASON , TYPE , NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -922, Error: AUTHORIZATION FAILURE:  ERROR. REASON&lt;br /&gt;&lt;br /&gt;  SQLCODE  -919, Error: A ROLLBACK OPERATION IS REQUIRED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -918, Error: THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE A CONNECTION HAS BEEN LOST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -917, Error: BIND PACKAGE FAILED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -913, Error: UNSUCCESSFUL EXECUTION CAUSED BY DEADLOCK OR TIMEOUT. REASON CODE , TYPE OF RESOURCE , AND RESOURCE NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -911, Error: THE CURRENT UNIT OF WORK HAS BEEN ROLLED BACK DUE TO DEADLOCK OR TIMEOUT.  REASON ,&lt;br /&gt;TYPE OF RESOURCE , AND RESOURCE NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -910, Error: THE SQL STATEMENT CANNOT ACCESS AN OBJECT ON WHICH A DROP OR ALTER IS PENDING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -909, Error: THE OBJECT HAS BEEN DELETED OR ALTERED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -908, Error:  ERROR USING  AUTHORITY.  BIND, REBIND, OR AUTO-REBIND OPERATION IS NOT ALLOWED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -906, Error: THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE THIS FUNCTION IS DISABLED DUE TO A PRIOR ERROR&lt;br /&gt;&lt;br /&gt;  SQLCODE  -905, Error: UNSUCCESSFUL EXECUTION DUE TO RESOURCE LIMIT BEING EXCEEDED, RESOURCE NAME =  LIMIT =&lt;br /&gt;CPU SECONDS ( SERVICE UNITS) DERIVED FROM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -904, Error: UNSUCCESSFUL EXECUTION CAUSED BY AN UNAVAILABLE RESOURCE. REASON , TYPE OF RESOURCE , AND RESOURCE NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -902, Error: POINTER TO ESSENTIAL CONTROL BLOCK(RDA/CT) HAS VALUE 0, REBIND REQUIRED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -901, Error: UNSUCCESSFUL EXECUTION CAUSED BY A SYSTEM ERROR THAT DOES NOT PRECLUDE THE SUCCESSFUL&lt;br /&gt;EXECUTION OF SUBSEQUENT SQL STATEMENTS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -900, Error: THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE THE APPLICATION PROCESS IS NOT CONNECTED&lt;br /&gt;TO AN APPLICATION SERVER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -882, Error: SAVEPOINT DOES NOT EXIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -881, Error: A SAVEPOINT WITH NAME  ALREADY EXISTS, BUT THIS SAVEPOINT NAME CANNOT BE REUSED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -880, Error: SAVEPOINT  DOES NOT EXIST OR IS INVALID IN THIS CONTEXT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -879, Error: CREATE OR ALTER STATEMENT FOR  CANNOT DEFINE A COLUMN, DISTINCT TYPE, FUNCTION OR&lt;br /&gt;STORED PROCEDURE PARAMETER AS MIXED OR GRAPHIC WITH ENCODING SCHEME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -878, Error: THE PLAN_TABLE USED FOR EXPLAIN CANNOT BE ASCII&lt;br /&gt;&lt;br /&gt;  SQLCODE  -877, Error: CCSID ASCII IS NOT ALLOWED FOR THIS DATABASE OR TABLE SPACE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -876, Error:  CANNOT BE CREATED, REASON&lt;br /&gt;&lt;br /&gt;  SQLCODE  -875, Error:  CANNOT BE USED WITH THE ASCII DATA REFERENCED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -874, Error: THE ENCODING SCHEME SPECIFIED FOR THE  MUST BE THE SAME AS THE CONTAINING TABLE SPACE OR OTHER PARAMETERS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -873, Error: DATA ENCODED WITH DIFFERENT CCSIDS CANNOT BE REFERENCED IN THE SAME SQL STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -872, Error: A VALID CCSID HAS NOT YET BEEN SPECIFIED FOR THIS SUBSYSTEM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -870, Error: THE NUMBER OF HOST VARIABLES IN THE STATEMENT IS NOT EQUAL TO THE NUMBER OF DESCRIPTORS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -867, Error: INVALID SPECIFICATION OF A ROWID COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -846, Error: INVALID SPECIFICATION OF AN IDENTITY COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -843, Error: THE SET CONNECTION OR RELEASE STATEMENT MUST SPECIFY AN EXISTING CONNECTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -842, Error: A CONNECTION TO x ALREADY EXISTS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -840, Error: TOO MANY ITEMS RETURNED IN A SELECT OR INSERT LIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -822, Error: THE SQLDA CONTAINS AN INVALID DATA ADDRESS OR INDICATOR VARIABLE ADDRESS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -820, Error: THE SQL STATEMENT CANNOT BE PROCESSED BECAUSE  CONTAINS A VALUE THAT IS NOT VALID IN THIS RELEASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -819, Error: THE VIEW CANNOT BE PROCESSED BECAUSE THE LENGTH OF ITS PARSE TREE IN THE CATALOG IS ZERO&lt;br /&gt;&lt;br /&gt;  SQLCODE  -818, Error: THE PRECOMPILER-GENERATED TIMESTAMP  IN THE LOAD MODULE IS DIFFERENT FROM THE BIND&lt;br /&gt;TIMESTAMP  BUILT FROM THE DBRM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -817, Error: THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE THE STATEMENT WILL RESULT IN A PROHIBITED UPDATE OPERATION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -815, Error: A GROUP BY OR HAVING CLAUSE IS IMPLICITLY OR EXPLICITLY SPECIFIED IN A SUBSELECT OF A&lt;br /&gt;BASIC PREDICATE OR A SET CLAUSE OF AN UPDATE STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -812, Error: THE SQL STATEMENT CANNOT BE PROCESSED BECAUSE A BLANK COLLECTION-ID WAS FOUND IN THE CURRENT&lt;br /&gt;PACKAGESET SPECIAL REGISTER WHILE TRYING TO FORM A QUALIFIED PACKAGE NAME FOR PROGRAM  USING PLAN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -811, Error: THE RESULT OF AN EMBEDDED SELECT STATEMENT OR A SUBSELECT IN THE SET CLAUSE OF AN&lt;br /&gt;UPDATE STATEMENT IS A TABLE OF MORE THAN ONE ROW, OR THE RESULT OF A SUBQUERY OF A BASIC PREDICATE IS MORE THAN VALUE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -808, Error: THE CONNECT STATEMENT IS NOT CONSISTENT WITH THE FIRST CONNECT STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -807, Error: ACCESS DENIED: PACKAGE  IS NOT ENABLED FOR ACCESS FROM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -805, Error: DBRM OR PACKAGE NAME  NOT FOUND IN PLAN . REASON&lt;br /&gt;&lt;br /&gt;  SQLCODE  -804, Error: AN ERROR WAS FOUND IN THE APPLICATION PROGRAM INPUT PARAMETERS FOR THE SQL STATEMENT, REASON&lt;br /&gt;&lt;br /&gt;  SQLCODE  -803, Error: AN INSERTED OR UPDATED VALUE IS INVALID BECAUSE INDEX IN INDEX SPACE  CONSTRAINS&lt;br /&gt;COLUMNS OF THE TABLE SO NO TWO ROWS CAN CONTAIN DUPLICATE VALUES IN THOSE COLUMNS. RID OF EXISTING ROW IS X''&lt;br /&gt;&lt;br /&gt;  SQLCODE  -802, Error: EXCEPTION ERROR  HAS OCCURRED DURING  OPERATION ON  DATA, POSITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -798, Error: YOU CANNOT INSERT A VALUE INTO A COLUMN THAT IS DEFINED WITH THE OPTION GENERATED ALWAYS.  COLUMN NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -797, Error: ATTEMPT TO CREATE TRIGGER  WITH AN UNSUPPORTED TRIGGERED SQL STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -771, Error: INVALID SPECIFICATION OF A ROWID COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -770, Error: TABLE  CANNOT HAVE A LOB COLUMN UNLESS IT ALSO HAS A ROWID COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -769, Error: SPECIFICATION OF CREATE AUX TABLE DOES NOT MATCH THE CHARACTERISTICS OF THE BASE TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -768, Error: AN AUXILIARY TABLE ALREADY EXISTS FOR THE SPECIFIED COLUMN OR PARTITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -767, Error: MISSING OR INVALID COLUMN SPECIFICATION FOR INDEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  -766, Error: THE OBJECT OF A STATEMENT IS AN AUXILIARY TABLE FOR WHICH THE REQUESTED OPERATION IS NOT PERMITTED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -765, Error: TABLE IS NOT COMPATIBLE WITH DATABASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -764, Error: A LOB TABLE SPACE AND ITS ASSOCIATED BASE TABLE SPACE MUST BE IN THE SAME DATABASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -763, Error: INVALID TABLE SPACE NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -752, Error: THE CONNECT STATEMENT IS INVALID BECAUSE THE PROCESS IS NOT IN THE CONNECTABLE STATE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -751, Error: (SPECIFIC NAME ) ATTEMPTED TO EXECUTE AN SQL STATEMENT  THAT IS NOT ALLOWED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -750, Error: THE SOURCE TABLE  CANNOT BE RENAMED BECAUSE IT IS REFERENCED IN EXISTING VIEW&lt;br /&gt;DEFINITIONS OR TRIGGER DEFINITIONS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -748, Error: AN INDEX ALREADY EXISTS ON AUXILIARY TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -747, Error: TABLE  IS NOT AVAILABLE UNTIL THE AUXILIARY TABLES AND INDEXES FOR ITS EXTERNALLY&lt;br /&gt;STORED COLUMNS HAVE BEEN CREATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -746, Error: THE SQL STATEMENT IN AN EXTERNAL FUNCTION, TRIGGER, OR IN STORED PROCEDURE  VIOLATES&lt;br /&gt;THE NESTING SQL RESTRICTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -742, Error: DSNDB07 IS THE IMPLICIT WORK FILE DATABASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -741, Error: A  DATABASE IS ALREADY DEFINED FOR MEMBER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -740, Error: FUNCTION  IS DEFINED WITH THE OPTION MODIFIES SQL DATA WHICH IS NOT VALID IN THE&lt;br /&gt;CONTEXT IN WHICH IT WAS INVOKED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -739, Error: ALTER FUNCTION  FAILED BECAUSE FUNCTIONS CANNOT MODIFY DATA WHEN THEY ARE PROCESSED IN PARALLEL&lt;br /&gt;&lt;br /&gt;  SQLCODE  -737, Error: IMPLICIT TABLE SPACE NOT ALLOWED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -736, Error: INVALID OBID  SPECIFIED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -735, Error: DATABASE  CANNOT BE ACCESSED BECAUSE IT IS NO LONGER A SHARED DATABASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -734, Error: THE ROSHARE ATTRIBUTE OF A DATABASE CANNOT BE ALTERED FROM ROSHARE READ&lt;br /&gt;&lt;br /&gt;  SQLCODE  -733, Error: THE DESCRIPTION OF A TABLE SPACE, INDEX SPACE, OR TABLE IN A ROSHARE READ DATABASE&lt;br /&gt;MUST BE CONSISTENT WITH ITS DESCRIPTION IN THE OWNER SYSTEM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -732, Error: THE DATABASE IS DEFINED ON THIS SUBSYSTEM WITH THE ROSHARE READ ATTRIBUTE BUT THE&lt;br /&gt;TABLE SPACE OR INDEX SPACE HAS NOT BEEN DEFINED ON THE OWNING SUBSYSTEM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -731, Error: USER-DEFINED DATASET  MUST BE DEFINED WITH SHAREOPTIONS (1,3)&lt;br /&gt;&lt;br /&gt;  SQLCODE  -730, Error: THE PARENT OF A TABLE IN A READ-ONLY SHARED DATABASE MUST ALSO BE A TABLE IN A&lt;br /&gt;READ-ONLY SHARED DATABASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -729, Error: A STORED PROCEDURE SPECIFYING COMMIT ON RETURN CANNOT BE THE TARGET OF A NESTED CALL STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -728, Error: DATA TYPE  IS NOT ALLOWED IN DB2 PRIVATE PROTOCOL PROCESSING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -726, Error:  BIND ERROR ATTEMPTING TO REPLACE PACKAGE = .  THERE ARE ENABLE OR DISABLE ENTRIES&lt;br /&gt;CURRENTLY ASSOCIATED WITH THE PACKAGE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -725, Error: THE SPECIAL REGISTER  AT LOCATION  WAS SUPPLIED AN INVALID VALUE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -724, Error: THE ACTIVATION OF THE  OBJECT  WOULD EXCEED THE MAXIMUM LEVEL OF INDIRECT SQL CASCADING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -723, Error: AN ERROR OCCURRED IN A TRIGGERED SQL STATEMENT IN TRIGGER , SECTION NUMBER .&lt;br /&gt;INFORMATION RETURNED: SQLCODE , SQLSTATE , AND MESSAGE TOKENS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -722, Error: ERROR USING  AUTHORITY PACKAGE DOES NOT EXIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -721, Error: BIND ERROR FOR PACKAGE =  CONTOKEN = ''X IS NOT UNIQUE SO IT CANNOT BE CREATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -720, Error: BIND ERROR, ATTEMPTING TO REPLACE PACKAGE =  WITH VERSION =  BUT THIS VERSION ALREADY EXISTS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -719, Error: BIND ADD ERROR USING  AUTHORITY PACKAGE  ALREADY EXISTS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -718, Error: REBIND OF PACKAGE  FAILED BECAUSE IBMREQD OF  IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -717, Error:  FOR WITH MARK  FAILED BECAUSE  DEPENDS ON FUNCTIONS OF THE RELEASE FROM WHICH FALLBACK HAS OCCURRED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -716, Error: PROGRAM  PRECOMPILED WITH INCORRECT LEVEL FOR THIS RELEASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -715, Error: PROGRAM  WITH MARK  FAILED BECAUSE IT DEPENDS ON FUNCTIONS OF THE RELEASE FROM WHICH FALLBACK HAS OCCURRED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -713, Error: THE REPLACEMENT VALUE  FOR  IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -697, Error: OLD OR NEW CORRELATION NAMES ARE NOT ALLOWED IN A TRIGGER DEFINED WITH THE FOR EACH&lt;br /&gt;STATEMENT CLAUSE.  OLD_TABLE OR NEW_TABLE NAMES ARE NOT ALLOWED IN A TRIGGER WITH THE BEFORE CLAUSE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -696, Error: THE DEFINITION OF TRIGGER  INCLUDES AN INVALID USE OF CORRELATION NAME OR TRANSITION TABLE NAME .  REASON CODE=&lt;br /&gt;&lt;br /&gt;  SQLCODE  -694, Error: THE DDL STATEMENT CANNOT BE EXECUTED BECAUSE A DROP IS PENDING ON THE DDL REGISTRATION TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -693, Error: THE COLUMN  IN DDL REGISTRATION TABLE OR INDEX  IS NOT DEFINED PROPERLY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -692, Error: THE REQUIRED UNIQUE INDEX  FOR DDL REGISTRATION TABLE  DOES NOT EXIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -691, Error: THE REQUIRED REGISTRATION TABLE  DOES NOT EXIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -690, Error: THE STATEMENT IS REJECTED BY DATA DEFINITION CONTROL SUPPORT.  REASON&lt;br /&gt;&lt;br /&gt;  SQLCODE  -689, Error: TOO MANY COLUMNS DEFINED FOR A DEPENDENT TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -688, Error: INCORRECT DATA RETURNED FROM FIELD PROCEDURE, ,&lt;br /&gt;&lt;br /&gt;  SQLCODE  -687, Error: FIELD TYPES INCOMPARABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -686, Error: COLUMN DEFINED WITH A FIELD PROCEDURE CAN NOT COMPARE WITH ANOTHER COLUMN WITH&lt;br /&gt;DIFFERENT FIELD PROCEDURE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -685, Error: INVALID FIELD TYPE,&lt;br /&gt;&lt;br /&gt;  SQLCODE  -684, Error: THE LENGTH OF LITERAL LIST BEGINNING  IS TOO LONG&lt;br /&gt;&lt;br /&gt;  SQLCODE  -683, Error: THE SPECIFICATION FOR COLUMN, DISTINCT TYPE, FUNCTION, OR PROCEDURE  CONTAINS INCOMPATIBLE CLAUSES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -682, Error: FIELD PROCEDURE  COULD NOT BE LOADED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -681, Error: COLUMN  IN VIOLATION OF INSTALLATION DEFINED FIELD PROCEDURE  RT: , RS: , MSG:&lt;br /&gt;&lt;br /&gt;  SQLCODE  -680, Error: TOO MANY COLUMNS SPECIFIED FOR A TABLE, VIEW, OR TABLE FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -679, Error: THE OBJECT  CANNOT BE CREATED BECAUSE A DROP IS PENDING ON THE OBJECT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -678, Error: THE LITERAL  SPECIFIED FOR THE INDEX LIMIT KEY MUST CONFORM TO THE DATA TYPE OF THE CORRESPONDING COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -677, Error: INSUFFICIENT VIRTUAL STORAGE FOR BUFFERPOOL EXPANSION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -676, Error: ONLY A 4K PAGE BUFFERPOOL CAN BE USED FOR AN INDEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  -672, Error: OPERATION DROP NOT ALLOWED ON TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -671, Error: THE BUFFERPOOL ATTRIBUTE OF THE TABLE SPACE CANNOT BE ALTERED AS SPECIFIED BECAUSE IT&lt;br /&gt;WOULD CHANGE THE PAGE SIZE OF THE TABLE SPACE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -670, Error: THE RECORD LENGTH OF THE TABLE EXCEEDS THE PAGE SIZE LIMIT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -669, Error: A TABLE IN A PARTITIONED TABLE SPACE CANNOT BE EXPLICITLY DROPPED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -668, Error: THE COLUMN CANNOT BE ADDED TO THE TABLE BECAUSE THE TABLE HAS AN EDIT PROCEDURE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -667, Error: THE CLUSTERING INDEX FOR A PARTITIONED TABLE SPACE CANNOT BE EXPLICITLY DROPPED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -666, Error: CANNOT BE EXECUTED BECAUSE  IS IN PROGRESS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -665, Error: THE PART CLAUSE OF AN ALTER STATEMENT IS OMITTED OR INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -663, Error: THE NUMBER OF KEY LIMIT VALUES IS EITHER ZERO, OR GREATER THAN THE NUMBER OF COLUMNS IN THE KEY OF INDEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  -662, Error: A PARTITIONED INDEX CANNOT BE CREATED ON A NON-PARTITIONED TABLE SPACE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -661, Error: INDEX  CANNOT BE CREATED ON PARTITIONED TABLE SPACE  BECAUSE THE NUMBER OF PART&lt;br /&gt;SPECIFICATIONS IS NOT EQUAL TO THE NUMBER OF PARTITIONS OF THE TABLE SPACE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -660, Error: INDEX  CANNOT BE CREATED ON PARTITIONED TABLE SPACE x BECAUSE KEY LIMITS ARE NOT SPECIFIED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -658, Error: A  CANNOT BE DROPPED USING THE  STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -655, Error: THE CREATE OR ALTER STOGROUP IS INVALID BECAUSE THE STORAGE GROUP WOULD HAVE BOTH&lt;br /&gt;SPECIFIC AND NON-SPECIFIC VOLUME IDS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -653, Error: TABLE  IN PARTITIONED TABLE SPACE  IS NOT AVAILABLE BECAUSE ITS PARTITIONED INDEX HAS NOT BEEN CREATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -652, Error: VIOLATION OF INSTALLATION DEFINED EDIT OR VALIDATION PROCEDURE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -651, Error: TABLE DESCRIPTION EXCEEDS MAXIMUM SIZE OF OBJECT DESCRIPTOR&lt;br /&gt;&lt;br /&gt;  SQLCODE  -650, Error: THE ALTER INDEX CANNOT BE EXECUTED, REASON&lt;br /&gt;&lt;br /&gt;  SQLCODE  -647, Error: BUFFERPOOL  CANNOT BE SPECIFIED BECAUSE IT HAS NOT BEEN ACTIVATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -646, Error: TABLE  CANNOT BE CREATED IN SPECIFIED TABLE SPACE  BECAUSE IT ALREADY CONTAINS A TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -644, Error: INVALID VALUE SPECIFIED FOR KEYWORD  IN  STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -643, Error: CHECK CONSTRAINT EXCEEDS MAXIMUM ALLOWABLE LENGTH&lt;br /&gt;&lt;br /&gt;  SQLCODE  -642, Error: TOO MANY COLUMNS IN UNIQUE CONSTRAINTS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -640, Error: LOCKSIZE ROW CANNOT BE SPECIFIED BECAUSE TABLE IN THIS TABLESPACE HAS TYPE 1 INDEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  -639, Error: A NULLABLE COLUMN OF A FOREIGN KEY WITH A DELETE RULE OF SET NULL CANNOT BE A COLUMN&lt;br /&gt;OF THE KEY OF A PARTITIONED INDEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  -638, Error: TABLE  CANNOT BE CREATED BECAUSE COLUMN DEFINITION IS MISSING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -637, Error: DUPLICATE  KEYWORD&lt;br /&gt;&lt;br /&gt;  SQLCODE  -636, Error: THE PARTITIONING KEYS FOR PARTITION  ARE NOT SPECIFIED IN ASCENDING OR DESCENDING ORDER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -635, Error: THE DELETE RULES CANNOT BE DIFFERENT OR CANNOT BE SET NULL&lt;br /&gt;&lt;br /&gt;  SQLCODE  -634, Error: THE DELETE RULE MUST NOT BE CASCADE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -633, Error: THE DELETE RULE MUST BE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -632, Error: THE TABLE CANNOT BE DEFINED AS A DEPENDENT OF  BECAUSE OF DELETE RULE RESTRICTIONS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -631, Error: FOREIGN KEY  IS TOO LONG OR HAS TOO MANY COLUMNS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -630, Error: THE WHERE NOT NULL SPECIFICATION IS INVALID FOR TYPE 1 INDEXES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -629, Error: SET NULL CANNOT BE SPECIFIED BECAUSE FOREIGN KEY  CANNOT CONTAIN NULL VALUES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -628, Error: THE CLAUSES ARE MUTUALLY EXCLUSIVE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -627, Error: THE ALTER STATEMENT IS INVALID BECAUSE THE PAGESET HAS USER-MANAGED DATA SETS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -626, Error: THE ALTER STATEMENT IS NOT EXECUTABLE BECAUSE THE PAGE SET IS NOT STOPPED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -625, Error: TABLE  DOES NOT HAVE AN INDEX TO ENFORCE THE UNIQUENESS OF THE PARENT KEY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -624, Error: TABLE  ALREADY HAS A PRIMARY KEY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -623, Error: A CLUSTERING INDEX ALREADY EXISTS ON TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -622, Error: FOR MIXED DATA IS INVALID BECAUSE THE MIXED DATA INSTALL OPTION IS NO&lt;br /&gt;&lt;br /&gt;  SQLCODE  -621, Error: DUPLICATE DBID  WAS DETECTED AND PREVIOUSLY ASSIGNED TO&lt;br /&gt;&lt;br /&gt;  SQLCODE  -620, Error: KEYWORD  IN  STATEMENT IS NOT PERMITTED FOR A  SPACE IN THE  DATABASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -619, Error: OPERATION DISALLOWED BECAUSE THE WORK FILE DATABASE IS NOT STOPPED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -618, Error: OPERATION  IS NOT ALLOWED ON SYSTEM DATABASES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -617, Error: A TYPE 1 INDEX IS NOT VALID FOR TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -616, Error: CANNOT BE DROPPED BECAUSE IT IS REFERENCED BY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -615, Error: IS NOT ALLOWED ON A PACKAGE IN USE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -614, Error: THE INDEX CANNOT BE CREATED OR THE LENGTH OF THE COLUMN CANNOT BE CHANGED BECAUSE THE&lt;br /&gt;SUM OF THE INTERNAL LENGTHS OF THE IDENTIFIED COLUMNS IS GREATER THAN THE ALLOWABLE MAXIMUM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -613, Error: THE PRIMARY KEY OR A UNIQUE CONSTRAINT IS TOO LONG OR HAS TOO MANY COLUMNS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -612, Error: IS A DUPLICATE COLUMN NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -611, Error: ONLY LOCKMAX 0 CAN BE SPECIFIED WHEN THE LOCK SIZE OF THE TABLESPACE IS TABLESPACE OR TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -607, Error: OPERATION OR OPTION  IS NOT DEFINED FOR THIS OBJECT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -604, Error: A DATA TYPE DEFINITION SPECIFIES AN INVALID LENGTH, PRECISION, OR SCALE ATTRIBUTE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -603, Error: A UNIQUE INDEX CANNOT BE CREATED BECAUSE THE TABLE CONTAINS ROWS WHICH ARE DUPLICATES&lt;br /&gt;WITH RESPECT TO THE VALUES OF THE IDENTIFIED COLUMNS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -602, Error: TOO MANY COLUMNS SPECIFIED IN A CREATE INDEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  -601, Error: THE NAME OF THE OBJECT TO BE CREATED OR THE TARGET OF A RENAME STATEMENT IS IDENTICAL&lt;br /&gt;TO THE EXISTING NAME  OF THE OBJECT TYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -594, Error: ATTEMPT TO CREATE A NULLABLE ROWID OR DISTINCT TYPE COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -593, Error: NOT NULL MUST BE SPECIFIED FOR ROWID OR DISTINCT TYPE COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -592, Error: NOT AUTHORIZED TO CREATE FUNCTIONS OR PROCEDURES IN WLM ENVIRONMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -590, Error: PARAMETER NAME  IS NOT UNIQUE IN THE CREATE FOR ROUTINE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -586, Error: THE TOTAL LENGTH OF THE CURRENT PATH SPECIAL REGISTER CANNOT EXCEED 254 CHARACTERS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -585, Error: THE SCHEMA NAME  CANNOT APPEAR MORE THAN ONCE IN THE CURRENT PATH&lt;br /&gt;&lt;br /&gt;  SQLCODE  -582, Error: THE SEARCH-CONDITION IN A SEARCHED-WHEN-CLAUSE CANNOT BE A QUANTIFIED PREDICATE, IN&lt;br /&gt;PREDICATE, OR AN EXISTS PREDICATE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -581, Error: THE DATA TYPES OF THE RESULT-EXPRESSIONS OF A CASE EXPRESSION ARE NOT COMPATIBLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -580, Error: THE RESULT-EXPRESSIONS OF A CASE EXPRESSION CANNOT ALL BE NULL&lt;br /&gt;&lt;br /&gt;  SQLCODE  -579, Error:   ATTEMPTED TO READ DATA WHEN THE DEFINITION OF THE FUNCTION OR PROCEDURE DID NOT SPECIFY THIS ACTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -577, Error:   ATTEMPTED TO MODIFY DATA WHEN THE DEFINITION OF THE FUNCTION OR PROCEDURE DID NOT SPECIFY THIS ACTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -574, Error: THE SPECIFIED DEFAULT VALUE OR IDENTITY ATTRIBUTE VALUE CONFLICTS WITH THE DEFINITION OF COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -573, Error: TABLE  DOES NOT HAVE A UNIQUE KEY WITH THE SPECIFIED COLUMN NAMES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -571, Error: THE STATEMENT WOULD RESULT IN A MULTIPLE SITE UPDATE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -567, Error:  AUTHORIZATION ERROR USING  AUTHORITY PACKAGE =  PRIVILEGE =&lt;br /&gt;&lt;br /&gt;  SQLCODE  -559, Error: ALL AUTHORIZATION FUNCTIONS HAVE BEEN DISABLED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -558, Error: INVALID CLAUSE OR COMBINATION OF CLAUSES ON A GRANT OR REVOKE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -557, Error: INCONSISTENT GRANT/REVOKE KEYWORD .  PERMITTED KEYWORDS ARE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -556, Error:  CANNOT HAVE THE  PRIVILEGE REVOKED BY  BECAUSE THE REVOKEE DOES NOT POSSESS THE&lt;br /&gt;PRIVILEGE OR THE REVOKER DID NOT MAKE THE GRANT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -555, Error: AN AUTHORIZATION ID CANNOT REVOKE A PRIVILEGE FROM ITSELF&lt;br /&gt;&lt;br /&gt;  SQLCODE  -554, Error: AN AUTHORIZATION ID CANNOT GRANT A PRIVILEGE TO ITSELF&lt;br /&gt;&lt;br /&gt;  SQLCODE  -553, Error:  SPECIFIED IS NOT ONE OF THE VALID AUTHORIZATION IDS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -552, Error:  DOES NOT HAVE THE PRIVILEGE TO PERFORM OPERATION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -551, Error:  DOES NOT HAVE THE PRIVILEGE TO PERFORM OPERATION  ON OBJECT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -549, Error: THE  STATEMENT IS NOT ALLOWED FOR   BECAUSE THE BIND OPTION DYNAMICRULES(RUN) IS NOT IN EFFECT FOR&lt;br /&gt;&lt;br /&gt;  SQLCODE  -548, Error: A CHECK CONSTRAINT THAT IS DEFINED WITH  IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -546, Error: THE CHECK CONSTRAINT  IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -545, Error: THE REQUESTED OPERATION IS NOT ALLOWED BECAUSE A ROW DOES NOT SATISFY THE CHECK CONSTRAINT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -544, Error: THE CHECK CONSTRAINT SPECIFIED IN THE ALTER TABLE STATEMENT CANNOT BE ADDED BECAUSE AN&lt;br /&gt;EXISTING ROW VIOLATES THE CHECK CONSTRAINT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -543, Error: A ROW IN A PARENT TABLE CANNOT BE DELETED BECAUSE THE CHECK CONSTRAINT  RESTRICTS THE DELETION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -542, Error:  CANNOT BE A COLUMN OF A PRIMARY KEY, A UNIQUE CONSTRAINT, OR A PARENT KEY BECAUSE IT&lt;br /&gt;CAN CONTAIN NULL VALUES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -540, Error: THE DEFINITION OF TABLE  IS INCOMPLETE BECAUSE IT LACKS A PRIMARY INDEX OR A REQUIRED UNIQUE INDEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  -539, Error: TABLE  DOES NOT HAVE A PRIMARY KEY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -538, Error: FOREIGN KEY  DOES NOT CONFORM TO THE DESCRIPTION OF A PARENT KEY OF TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -537, Error: THE PRIMARY KEY CLAUSE, A FOREIGN KEY CLAUSE, OR A UNIQUE CLAUSE IDENTIFIES COLUMN MORE THAN ONCE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -536, Error: THE DELETE STATEMENT IS INVALID BECAUSE TABLE  CAN BE AFFECTED BY THE OPERATION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -534, Error: THE PRIMARY KEY CANNOT BE UPDATED BECAUSE OF MULTIPLE-ROW UPDATE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -533, Error: INVALID MULTIPLE-ROW INSERT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -532, Error: THE RELATIONSHIP  RESTRICTS THE DELETION OF ROW WITH RID X''&lt;br /&gt;&lt;br /&gt;  SQLCODE  -531, Error: PARENT KEY IN A PARENT ROW CANNOT BE UPDATED BECAUSE IT HAS ONE OR MORE DEPENDENT ROWS IN RELATIONSHIP&lt;br /&gt;&lt;br /&gt;  SQLCODE  -530, Error: THE INSERT OR UPDATE VALUE OF FOREIGN KEY  IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -526, Error: THE REQUESTED OPERATION OR USAGE DOES NOT APPLY TO  TEMPORARY TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -525, Error: THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE IT WAS IN ERROR AT BIND TIME FOR SECTION&lt;br /&gt;=  PACKAGE =  CONSISTENCY TOKEN = X''&lt;br /&gt;&lt;br /&gt;  SQLCODE  -519, Error: THE PREPARE STATEMENT IDENTIFIES THE SELECT STATEMENT OF THE OPENED CURSOR&lt;br /&gt;&lt;br /&gt;  SQLCODE  -518, Error: THE EXECUTE STATEMENT DOES NOT IDENTIFY A VALID PREPARED STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -517, Error: CURSOR  CANNOT BE USED BECAUSE ITS STATEMENT NAME DOES NOT IDENTIFY A PREPARED SELECT STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -516, Error: THE DESCRIBE FOR STATIC STATEMENT DOES NOT IDENTIFY A PREPARED STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -514, Error: THE CURSOR  IS NOT IN A PREPARED STATE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -513, Error: THE ALIAS  MUST NOT BE DEFINED ON ANOTHER LOCAL OR REMOTE ALIAS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -512, Error: STATEMENT REFERENCE TO REMOTE OBJECT IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -511, Error: THE FOR UPDATE CLAUSE CANNOT BE SPECIFIED BECAUSE THE TABLE DESIGNATED BY THE CURSOR CANNOT BE MODIFIED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -510, Error: THE TABLE DESIGNATED BY THE CURSOR OF THE UPDATE OR DELETE STATEMENT CANNOT BE MODIFIED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -509, Error: THE TABLE IDENTIFIED IN THE UPDATE OR DELETE STATEMENT IS NOT THE SAME TABLE&lt;br /&gt;DESIGNATED BY THE CURSOR&lt;br /&gt;&lt;br /&gt;  SQLCODE  -508, Error: THE CURSOR IDENTIFIED IN THE UPDATE OR DELETE STATEMENT IS NOT POSITIONED ON A ROW&lt;br /&gt;&lt;br /&gt;  SQLCODE  -507, Error: THE CURSOR IDENTIFIED IN THE UPDATE OR DELETE STATEMENT IS NOT OPEN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -504, Error: THE CURSOR NAME  IS NOT DEFINED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -503, Error: A COLUMN CANNOT BE UPDATED BECAUSE IT IS NOT IDENTIFIED IN THE UPDATE CLAUSE OF THE&lt;br /&gt;SELECT STATEMENT OF THE CURSOR&lt;br /&gt;&lt;br /&gt;  SQLCODE  -502, Error: THE CURSOR IDENTIFIED IN AN OPEN STATEMENT IS ALREADY OPEN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -501, Error: THE CURSOR IDENTIFIED IN A FETCH OR CLOSE STATEMENT IS NOT OPEN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -500, Error: THE IDENTIFIED CURSOR WAS CLOSED WHEN THE CONNECTION WAS DESTROYED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -499, Error: CURSOR  HAS ALREADY BEEN ASSIGNED TO THIS OR ANOTHER RESULT SET FROM PROCEDURE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -497, Error: THE MAXIMUM LIMIT OF INTERNAL IDENTIFIERS HAS BEEN EXCEEDED FOR DATABASE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -496, Error: THE SQL STATEMENT CANNOT BE EXECUTED BECAUSE IT REFERENCES A RESULT SET THAT WAS NOT&lt;br /&gt;CREATED BY THE CURRENT SERVER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -495, Error: ESTIMATED PROCESSOR COST OF  PROCESSOR SECONDS ( SERVICE UNITS) IN COST CATEGORY&lt;br /&gt;EXCEEDS A RESOURCE LIMIT ERROR THRESHOLD OF  SERVICE UNITS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -492, Error: THE CREATE FUNCTION FOR  HAS A PROBLEM WITH PARAMETER NUMBER .  IT MAY INVOLVE A&lt;br /&gt;MISMATCH WITH A SOURCE FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -491, Error: CREATE STATEMENT FOR USER-DEFINED FUNCTION  MUST HAVE A RETURNS CLAUSE, AND EITHER THE&lt;br /&gt;EXTERNAL CLAUSE (WITH OTHER REQUIRED KEYWORDS) OR THE SOURCE CLAUSE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -490, Error: NUMBER  DIRECTLY SPECIFIED IN AN SQL STATEMENT IS OUTSIDE THE RANGE OF ALLOWABLE&lt;br /&gt;VALUES IN THIS CONTEXT (, )&lt;br /&gt;&lt;br /&gt;  SQLCODE  -487, Error:   ATTEMPTED TO EXECUTE AN SQL STATEMENT WHEN THE DEFINITION OF THE FUNCTION OR&lt;br /&gt;PROCEDURE DID NOT SPECIFY THIS ACTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -483, Error: IN CREATE FUNCTION FOR  STATEMENT, THE NUMBER OF PARAMETERS DOES NOT MATCH THE NUMBER&lt;br /&gt;OF PARAMETERS OF THE SOURCE FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -482, Error: THE PROCEDURE  RETURNED NO LOCATORS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -480, Error: THE PROCEDURE  HAS NOT YET BEEN CALLED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -478, Error: DROP OR REVOKE ON OBJECT TYPE  CANNOT BE PROCESSED BECAUSE OBJECT  OF TYPE  IS&lt;br /&gt;DEPENDENT ON IT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -476, Error: REFERENCE TO FUNCTION  WAS NAMED WITHOUT A SIGNATURE, BUT THE FUNCTION IS NOT UNIQUE&lt;br /&gt;WITHIN ITS SCHEMA&lt;br /&gt;&lt;br /&gt;  SQLCODE  -475, Error: THE RESULT TYPE  OF THE SOURCE FUNCTION CANNOT BE CAST TO THE RETURNS TYPE  OF THE&lt;br /&gt;USER-DEFINED FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -473, Error: A USER DEFINED DATA TYPE CANNOT BE CALLED THE SAME NAME AS A SYSTEM PREDEFINED TYPE&lt;br /&gt;(BUILT-IN TYPE)&lt;br /&gt;&lt;br /&gt;  SQLCODE  -472, Error: CURSOR  WAS LEFT OPEN BY EXTERNAL FUNCTION  (SPECIFIC NAME )&lt;br /&gt;&lt;br /&gt;  SQLCODE  -471, Error: INVOCATION OF FUNCTION OR PROCEDURE  FAILED DUE TO REASON&lt;br /&gt;&lt;br /&gt;  SQLCODE  -470, Error: SQL CALL STATEMENT SPECIFIED A NULL VALUE FOR INPUT PARAMETER , BUT THE STORED&lt;br /&gt;PROCEDURE DOES NOT SUPPORT NULL VALUES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -469, Error: SQL CALL STATEMENT MUST SPECIFY AN OUTPUT HOST VARIABLE FOR PARAMETER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -463, Error: EXTERNAL FUNCTION  (SPECIFIC NAME ) HAS RETURNED AN INVALID SQLSTATE , WITH DIAGNOSTIC TEXT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -461, Error: A VALUE WITH DATA TYPE  CANNOT BE CAST TO TYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -458, Error: IN A REFERENCE TO FUNCTION  BY SIGNATURE, A MATCHING FUNCTION COULD NOT BE FOUND&lt;br /&gt;&lt;br /&gt;  SQLCODE  -457, Error: A FUNCTION OR DISTINCT TYPE CANNOT BE CALLED  SINCE IT IS RESERVED FOR SYSTEM USE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -456, Error: IN CREATE FUNCTION FOR , THE SPECIFIC NAME  ALREADY EXISTS IN THE SCHEMA&lt;br /&gt;&lt;br /&gt;  SQLCODE  -455, Error: IN CREATE FUNCTION FOR , THE SCHEMA NAME  PROVIDED FOR THE SPECIFIC NAME DOES NOT&lt;br /&gt;MATCH THE SCHEMA NAME  OF THE FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -454, Error: THE SIGNATURE PROVIDED IN THE CREATE FUNCTION STATEMENT FOR  MATCHES THE SIGNATURE OF&lt;br /&gt;SOME OTHER FUNCTION ALREADY EXISTING IN THE SCHEMA&lt;br /&gt;&lt;br /&gt;  SQLCODE  -453, Error: THERE IS A PROBLEM WITH THE RETURNS CLAUSE IN THE CREATE FUNCTION STATEMENT FOR&lt;br /&gt;&lt;br /&gt;  SQLCODE  -451, Error: THE  DEFINITION, IN THE CREATE FUNCTION FOR  CONTAINS DATA TYPE  WHICH IS NOT&lt;br /&gt;APPROPRIATE FOR AN EXTERNAL FUNCTION WRITTEN IN THE GIVEN LANGUAGE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -450, Error: USER-DEFINED FUNCTION OR STORED PROCEDURE , PARAMETER NUMBER , OVERLAYED STORAGE&lt;br /&gt;BEYOND ITS DECLARED LENGTH&lt;br /&gt;&lt;br /&gt;  SQLCODE  -449, Error: CREATE OR ALTER STATEMENT FOR FUNCTION OR PROCEDURE  CONTAINS AN INVALID FORMAT OF THE&lt;br /&gt;EXTERNAL NAME CLAUSE OR IS MISSING THE EXTERNAL NAME CLAUSE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -444, Error: USER PROGRAM  COULD NOT BE FOUND&lt;br /&gt;&lt;br /&gt;  SQLCODE  -443, Error: EXTERNAL FUNCTION  (SPECIFIC NAME ) HAS RETURNED AN ERROR SQLSTATE WITH DIAGNOSTIC TEXT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -441, Error: INVALID USE OF 'DISTINCT' OR 'ALL' WITH SCALAR FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -440, Error: NO  BY THE NAME  HAVING COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH&lt;br /&gt;&lt;br /&gt;  SQLCODE  -438, Error: APPLICATION RAISED ERROR WITH DIAGNOSTIC TEXT:&lt;br /&gt;&lt;br /&gt;  SQLCODE  -435, Error: AN INVALID SQLSTATE  IS SPECIFIED IN THE FUNCTION RAISE_ERROR OR IN A SIGNAL SQLSTATE STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -433, Error: VALUE  IS TOO LONG&lt;br /&gt;&lt;br /&gt;  SQLCODE  -430, ERROR:         (SPECIFIC NAME ) HAS ABNORMALLY TERMINATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -427, Error: DYNAMIC ROLLBACK NOT VALID AT AN APPLICATION SERVER WHERE UPDATES ARE NOT ALLOWED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -426, Error: DYNAMIC COMMIT NOT VALID AT AN APPLICATION SERVER WHERE UPDATES ARE NOT ALLOWED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -423, Error: INVALID VALUE FOR LOCATOR IN POSITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -421, Error: THE OPERANDS OF A UNION OR UNION ALL DO NOT HAVE THE SAME NUMBER OF COLUMNS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -420, Error: THE VALUE OF A CHARACTER STRING ARGUMENT WAS NOT ACCEPTABLE TO THE  FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -419, Error: A DECIMAL DIVIDE OPERATION IS INVALID BECAUSE THE RESULT WOULD HAVE A NEGATIVE SCALE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -418, Error: A STATEMENT STRING TO BE PREPARED CONTAINS AN INVALID USE OF PARAMETER MARKERS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -417, Error: A STATEMENT STRING TO BE PREPARED INCLUDES PARAMETER MARKERS AS THE OPERANDS OF THE SAME OPERATOR&lt;br /&gt;&lt;br /&gt;  SQLCODE  -416, Error: AN OPERAND OF A UNION CONTAINS A LONG STRING COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -415, Error: THE CORRESPONDING COLUMNS, , OF THE OPERANDS OF A UNION OR A UNION ALL DO NOT HAVE&lt;br /&gt;COMPARABLE COLUMN DESCRIPTIONS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -414, Error: A LIKE PREDICATE IS INVALID BECAUSE THE FIRST OPERAND IS NOT A STRING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -413, Error: OVERFLOW OCCURRED DURING NUMERIC DATA TYPE CONVERSION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -412, Error: THE SELECT CLAUSE OF A SUBQUERY SPECIFIES MULTIPLE COLUMNS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -411, Error: CURRENT SQLID CANNOT BE USED IN A STATEMENT THAT REFERENCES REMOTE OBJECTS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -410, Error: THE FLOATING POINT LITERAL  CONTAINS MORE THAN 30 CHARACTERS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -409, Error: INVALID OPERAND OF A COUNT FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -408, Error: THE VALUE IS NOT COMPATIBLE WITH THE DATA TYPE OF ITS TARGET&lt;br /&gt;&lt;br /&gt;  SQLCODE  -407, Error: AN UPDATE, INSERT, OR SET VALUE IS NULL, BUT THE OBJECT COLUMN  CANNOT CONTAIN NULL VALUES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -406, Error: A CALCULATED OR DERIVED NUMERIC VALUE IS NOT WITHIN THE RANGE OF ITS OBJECT COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -405, Error: THE NUMERIC LITERAL  CANNOT BE USED AS SPECIFIED BECAUSE IT IS OUT OF RANGE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -404, Error: THE SQL STATEMENT SPECIFIES A STRING THAT IS TOO LONG&lt;br /&gt;&lt;br /&gt;  SQLCODE  -402, Error: AN ARITHMETIC FUNCTION OR OPERATOR  IS APPLIED TO CHARACTER OR DATETIME DATA&lt;br /&gt;&lt;br /&gt;  SQLCODE  -401, Error: THE OPERANDS OF AN ARITHMETIC OR COMPARISON OPERATION ARE NOT COMPARABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -400, Error: THE CATALOG HAS THE MAXIMUM NUMBER OF USER DEFINED INDEXES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -399, Error: ATTEMPTED TO INSERT AN INVALID VALUE INTO A ROWID COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -398, Error: A LOCATOR WAS REQUESTED FOR HOST VARIABLE NUMBER  BUT THE VARIABLE IS NOT A LOB&lt;br /&gt;&lt;br /&gt;  SQLCODE  -397, Error: THE OPTION GENERATED IS SPECIFIED WITH A COLUMN THAT IS NOT A ROW ID OR DISTINCT TYPE BASED ON A ROW ID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -396, Error: ATTEMPTED TO EXECUTE AN SQL STATEMENT DURING FINAL CALL PROCESSING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -392, Error: SQLDA PROVIDED FOR CURSOR  HAS BEEN CHANGED FROM THE PREVIOUS FETCH&lt;br /&gt;&lt;br /&gt;  SQLCODE  -390, Error: THE FUNCTION NAME , SPECIFIC NAME , IS NOT VALID IN THE CONTEXT IN WHICH IT OCCURS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -373, Error: DEFAULT CANNOT BE SPECIFIED FOR IDENTITY COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -372, Error: ONLY ONE ROWID OR IDENTITY COLUMN IS ALLOWED IN A TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -359, Error: THE RANGE OF VALUES FOR THE IDENTITY COLUMN IS EXHAUSTED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -355, Error: A LOB COLUMN IS TOO LARGE TO BE LOGGED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -352, Error: AN UNSUPPORTED SQLTYPE WAS ENCOUNTERED IN POSITION  OF THE INPUT-LIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -351, Error: AN UNSUPPORTED SQLTYPE WAS ENCOUNTERED IN POSITION  OF THE SELECT-LIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -350, Error: INVALID SPECIFICATION OF A LARGE OBJECT COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -339, Error: THE SQL STATEMENT CANNOT BE EXECUTED FROM AN ASCII BASED DRDA APPLICATION REQUESTOR TO&lt;br /&gt;A V2R2 DB2 SUBSYSTEM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -338, Error: AN ON CLAUSE IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -333, Error: THE SUBTYPE OF A STRING VARIABLE IS NOT THE SAME AS THE SUBTYPE KNOWN AT BIND TIME AND&lt;br /&gt;THE DIFFERENCE CANNOT BE RESOLVED BY TRANSLATION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -332, Error: SYSSTRINGS DOES NOT DEFINE A TRANSLATION FROM CCSID  TO&lt;br /&gt;&lt;br /&gt;  SQLCODE  -331, Error: A STRING CANNOT BE ASSIGNED TO A HOST VARIABLE BECAUSE IT CANNOT BE TRANSLATED.&lt;br /&gt;REASON , CHARACTER , POSITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -330, Error: A STRING CANNOT BE USED BECAUSE IT CANNOT BE TRANSLATED.  REASON , CHARACTER , HOST VARIABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -327, Error: THE ROW CANNOT BE INSERTED BECAUSE IT IS OUTSIDE THE BOUND OF THE PARTITION RANGE FOR&lt;br /&gt;THE LAST PARTITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -314, Error: THE STATEMENT CONTAINS AN AMBIGUOUS HOST VARIABLE REFERENCE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -313, Error: THE NUMBER OF HOST VARIABLES SPECIFIED IS NOT EQUAL TO THE NUMBER OF PARAMETER MARKERS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -312, Error:  IS AN UNDEFINED OR UNUSABLE HOST VARIABLE OR IS USED IN A DYNAMIC SQL STATEMENT OR A&lt;br /&gt;TRIGGER DEFINITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -311, Error: THE LENGTH OF INPUT HOST VARIABLE NUMBER  IS NEGATIVE OR GREATER THAN THE MAXIMUM&lt;br /&gt;&lt;br /&gt;  SQLCODE  -310, Error: DECIMAL HOST VARIABLE OR PARAMETER  CONTAINS NON-DECIMAL DATA&lt;br /&gt;&lt;br /&gt;  SQLCODE  -309, Error: A PREDICATE IS INVALID BECAUSE A REFERENCED HOST VARIABLE HAS THE NULL VALUE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -305, Error: THE NULL VALUE CANNOT BE ASSIGNED TO OUTPUT HOST VARIABLE NUMBER  BECAUSE NO INDICATOR&lt;br /&gt;VARIABLE IS SPECIFIED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -304, Error: A VALUE WITH DATA TYPE  CANNOT BE ASSIGNED TO A HOST VARIABLE BECAUSE THE VALUE IS NOT&lt;br /&gt;WITHIN THE RANGE OF THE HOST VARIABLE IN POSITION  WITH DATA TYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -303, Error: A VALUE CANNOT BE ASSIGNED TO OUTPUT HOST VARIABLE NUMBER  BECAUSE THE DATA TYPES ARE&lt;br /&gt;NOT COMPARABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -302, Error: THE VALUE OF INPUT VARIABLE OR PARAMETER NUMBER  IS INVALID OR TOO LARGE FOR THE&lt;br /&gt;TARGET COLUMN OR THE TARGET VALUE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -301, Error: THE VALUE OF INPUT HOST VARIABLE OR PARAMETER NUMBER  CANNOT BE USED AS SPECIFIED&lt;br /&gt;BECAUSE OF ITS DATA TYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -300, Error: THE STRING CONTAINED IN HOST VARIABLE OR PARAMETER  IS NOT NUL-TERMINATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -251, Error: TOKEN  IS NOT VALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -250, Error: THE LOCAL LOCATION NAME IS NOT DEFINED WHEN PROCESSING A THREE-PART OBJECT NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -240, Error: THE PART CLAUSE OF A LOCK TABLE STATEMENT IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -229, Error: THE LOCALE  SPECIFIED IN A SET LOCALE OR OTHER STATEMENT THAT IS LOCALE SENSITIVE WAS NOT FOUND&lt;br /&gt;&lt;br /&gt;  SQLCODE  -221, Error: "SET OF OPTIONAL COLUMNS" IN EXPLANATION TABLE  IS INCOMPLETE.  OPTIONAL COLUMN  IS MISSING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -220, Error: THE COLUMN  IN EXPLANATION TABLE  IS NOT DEFINED PROPERLY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -219, Error: THE REQUIRED EXPLANATION TABLE  DOES NOT EXIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  -214, Error: AN EXPRESSION STARTING WITH  IN THE  CLAUSE IS NOT VALID.  REASON CODE =&lt;br /&gt;&lt;br /&gt;  SQLCODE  -212, Error:  IS SPECIFIED MORE THAN ONCE IN THE REFERENCING CLAUSE OF A TRIGGER DEFINITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -208, Error: THE ORDER BY CLAUSE IS INVALID BECAUSE COLUMN  IS NOT PART OF THE RESULT TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -206, Error:  IS NOT A COLUMN OF AN INSERTED TABLE, UPDATED TABLE, OR ANY TABLE IDENTIFIED IN A&lt;br /&gt;FROM CLAUSE, OR IS NOT A COLUMN OF THE TRIGGERING TABLE OF A TRIGGER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -205, Error:  IS NOT A COLUMN OF TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -204, Error:  IS AN UNDEFINED NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -203, Error: A REFERENCE TO COLUMN  IS AMBIGUOUS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -199, Error: ILLEGAL USE OF KEYWORD , TOKEN  WAS EXPECTED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -198, Error: THE OPERAND OF THE PREPARE OR EXECUTE IMMEDIATE STATEMENT IS BLANK OR EMPTY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -197, Error: QUALIFIED COLUMN NAMES IN ORDER BY CLAUSE NOT PERMITTED WHEN UNION OR UNION ALL&lt;br /&gt;SPECIFIED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -191, Error: A STRING CANNOT BE USED BECAUSE IT IS INVALID MIXED DATA&lt;br /&gt;&lt;br /&gt;  SQLCODE  -190, Error: ATTRIBUTES OF COLUMN  IN TABLE  ARE NOT COMPATIBLE WITH THE EXISTING COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -189, Error: CCSID  IS UNKNOWN OR INVALID FOR THE DATA TYPE OR SUBTYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -188, Error: THE STRING REPRESENTATION OF A NAME IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -187, Error: A REFERENCE TO A CURRENT DATE/TIME SPECIAL REGISTER IS INVALID BECAUSE THE MVS TOD&lt;br /&gt;CLOCK IS BAD OR THE MVS PARMTZ IS OUT OF RANGE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -186, Error: THE LOCAL DATE LENGTH OR LOCAL TIME LENGTH HAS BEEN INCREASED AND EXECUTING PROGRAM&lt;br /&gt;RELIES ON THE OLD LENGTH&lt;br /&gt;&lt;br /&gt;  SQLCODE  -185, Error: THE LOCAL FORMAT OPTION HAS BEEN USED WITH A DATE OR TIME AND NO LOCAL EXIT HAS BEEN INSTALLED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -184, Error: AN ARITHMETIC EXPRESSION WITH A DATETIME VALUE CONTAINS A PARAMETER MARKER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -183, Error: AN ARITHMETIC OPERATION ON A DATE OR TIMESTAMP HAS A RESULT THAT IS NOT WITHIN THE&lt;br /&gt;VALID RANGE OF DATES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -182, Error: AN ARITHMETIC EXPRESSION WITH A DATETIME VALUE IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -181, Error: THE STRING REPRESENTATION OF A DATETIME VALUE IS NOT A VALID DATETIME VALUE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -180, Error: THE DATE, TIME, OR TIMESTAMP VALUE  IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -173, Error: UR IS SPECIFIED ON THE WITH CLAUSE BUT THE CURSOR IS NOT READ-ONLY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -171, Error: THE DATA TYPE, LENGTH, OR VALUE OF ARGUMENT  OF  IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -170, Error: THE NUMBER OF ARGUMENTS SPECIFIED FOR  IS INVALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -164, Error:  DOES NOT HAVE THE PRIVILEGE TO CREATE A VIEW WITH QUALIFICATION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -161, Error: THE INSERT OR UPDATE IS NOT ALLOWED BECAUSE A RESULTING ROW DOES NOT SATISFY THE VIEW DEFINITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -160, Error: THE WITH CHECK OPTION CANNOT BE USED FOR THE SPECIFIED VIEW&lt;br /&gt;&lt;br /&gt;  SQLCODE  -159, Error: DROP OR COMMENT ON  IDENTIFIES A(N)  RATHER THAN A(N)&lt;br /&gt;&lt;br /&gt;  SQLCODE  -158, Error: THE NUMBER OF COLUMNS SPECIFIED FOR THE VIEW IS NOT THE SAME AS THE NUMBER OF COLUMNS&lt;br /&gt;SPECIFIED BY THE SELECT CLAUSE,&lt;br /&gt;OR THE NUMBER OF COLUMNS SPECIFIED IN THE CORRELATION CLAUSE IN A FROM CLAUSE IS NOT THE SAME AS THE NUMBER OF&lt;br /&gt;COLUMNS IN THE CORRESPONDING TABLE, VIEW, TABLE EXPRESSION, OR TABLE FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -157, Error: ONLY A TABLE NAME CAN BE SPECIFIED IN A FOREIGN KEY CLAUSE.   IS NOT THE NAME OF A TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -156, Error: THE STATEMENT DOES NOT IDENTIFY A TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -154, Error: THE STATEMENT IS INVALID BECAUSE THE VIEW OR TABLE DEFINITION IS NOT VALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -153, Error: THE STATEMENT IS INVALID BECAUSE THE VIEW OR TABLE DEFINITION DOES NOT INCLUDE A&lt;br /&gt;UNIQUE NAME FOR EACH COLUMN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -152, Error: THE DROP  CLAUSE IN THE ALTER STATEMENT IS INVALID BECAUSE  IS A&lt;br /&gt;&lt;br /&gt;  SQLCODE  -151, Error: THE UPDATE STATEMENT IS INVALID BECAUSE THE CATALOG DESCRIPTION OF COLUMN  INDICATES&lt;br /&gt;THAT IT CANNOT BE UPDATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -150, Error: THE OBJECT OF THE INSERT, DELETE, OR UPDATE STATEMENT IS A VIEW OR TRANSITION TABLE&lt;br /&gt;FOR WHICH THE REQUESTED OPERATION IS NOT PERMITTED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -148, Error: THE SOURCE TABLE  CANNOT BE RENAMED OR ALTERED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -147, Error: ALTER FUNCTION  FAILED BECAUSE SOURCE FUNCTIONS CANNOT BE ALTERED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -144, Error: INVALID SECTION NUMBER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -142, Error: THE SQL STATEMENT IS NOT SUPPORTED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -138, Error: THE SECOND OR THIRD ARGUMENT OF THE SUBSTR FUNCTION IS OUT OF RANGE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -137, Error: THE LENGTH RESULTING FROM  IS GREATER THAN&lt;br /&gt;&lt;br /&gt;  SQLCODE  -136, Error: SORT CANNOT BE EXECUTED BECAUSE THE SORT KEY LENGTH IS GREATER THAN 4000 BYTES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -134, Error: IMPROPER USE OF LONG STRING COLUMN  OR AN EXPRESSION OF MAXIMUM LENGTH GREATER THAN 255&lt;br /&gt;&lt;br /&gt;  SQLCODE  -133, Error: A COLUMN FUNCTION IN A SUBQUERY OF A HAVING CLAUSE IS INVALID BECAUSE ALL COLUMN&lt;br /&gt;REFERENCES IN ITS ARGUMENT ARE NOT CORRELATED TO THE GROUP BY RESULT THAT THE HAVING CLAUSE IS APPLIED TO&lt;br /&gt;&lt;br /&gt;  SQLCODE  -132, Error: AN OPERAND OF x IS NOT VALID&lt;br /&gt;&lt;br /&gt;  SQLCODE  -131, Error: STATEMENT WITH LIKE PREDICATE HAS INCOMPATIBLE DATA TYPES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -130, Error: THE ESCAPE CLAUSE CONSISTS OF MORE THAN ONE CHARACTER, OR THE STRING PATTERN CONTAINS&lt;br /&gt;AN INVALID OCCURRENCE OF THE ESCAPE CHARACTER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -129, Error: THE STATEMENT CONTAINS TOO MANY TABLE NAMES&lt;br /&gt;&lt;br /&gt;  SQLCODE  -128, Error: INVALID USE OF NULL IN A PREDICATE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -127, Error: DISTINCT IS SPECIFIED MORE THAN ONCE IN A SUBSELECT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -126, Error: THE SELECT STATEMENT CONTAINS BOTH AN UPDATE CLAUSE AND AN ORDER BY CLAUSE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -125, Error: AN INTEGER IN THE ORDER BY CLAUSE DOES NOT IDENTIFY A COLUMN OF THE RESULT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -123, Error: THE PARAMETER IN POSITION  IN THE FUNCTION  MUST BE A CONSTANT OR KEYWORD&lt;br /&gt;&lt;br /&gt;  SQLCODE  -122, Error: A SELECT STATEMENT WITH NO GROUP BY CLAUSE CONTAINS A COLUMN NAME AND A COLUMN&lt;br /&gt;FUNCTION IN THE SELECT CLAUSE OR A COLUMN NAME IS CONTAINED IN THE SELECT CLAUSE BUT NOT IN THE GROUP BY CLAUSE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -121, Error: THE COLUMN  IS IDENTIFIED MORE THAN ONCE IN THE INSERT OR UPDATE OR SET TRANSITION&lt;br /&gt;VARIABLE STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -120, Error: A WHERE CLAUSE, SET CLAUSE, VALUES CLAUSE, OR A SET ASSIGNMENT STATEMENT INCLUDES A&lt;br /&gt;COLUMN FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -119, Error: A COLUMN IDENTIFIED IN A HAVING CLAUSE IS NOT INCLUDED IN THE GROUP BY CLAUSE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -118, Error: THE OBJECT TABLE OR VIEW OF THE DELETE OR UPDATE STATEMENT IS ALSO IDENTIFIED IN A FROM CLAUSE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -117, Error: THE NUMBER OF ASSIGNED VALUES IS NOT THE SAME AS THE NUMBER OF SPECIFIED OR IMPLIED&lt;br /&gt;COLUMNS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -115, Error: A PREDICATE IS INVALID BECAUSE THE COMPARISON OPERATOR  IS FOLLOWED BY A PARENTHESIZED&lt;br /&gt;LIST OR BY ANY OR ALL WITHOUT A SUBQUERY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -114, Error: THE LOCATION NAME  DOES NOT MATCH THE CURRENT SERVER&lt;br /&gt;&lt;br /&gt;  SQLCODE  -113, Error: INVALID CHARACTER FOUND IN: . REASON CODE&lt;br /&gt;&lt;br /&gt;  SQLCODE  -112, Error: THE OPERAND OF A COLUMN FUNCTION IS ANOTHER COLUMN FUNCTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  -111, Error: A COLUMN FUNCTION DOES NOT INCLUDE A COLUMN NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  -110, Error: INVALID HEXADECIMAL LITERAL BEGINNING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -109, Error:  CLAUSE IS NOT PERMITTED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -108, Error: THE NAME  IS QUALIFIED INCORRECTLY&lt;br /&gt;&lt;br /&gt;  SQLCODE  -107, Error: THE NAME  IS TOO LONG.  MAXIMUM ALLOWABLE SIZE IS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -105, Error: INVALID STRING&lt;br /&gt;&lt;br /&gt;  SQLCODE  -104, Error: ILLEGAL SYMBOL "". SOME SYMBOLS THAT MIGHT BE LEGAL ARE:&lt;br /&gt;&lt;br /&gt;  SQLCODE  -103, Error:  IS AN INVALID NUMERIC LITERAL&lt;br /&gt;&lt;br /&gt;  SQLCODE  -102, Error: LITERAL STRING IS TOO LONG.  STRING BEGINS&lt;br /&gt;&lt;br /&gt;  SQLCODE  -101, Error: THE STATEMENT IS TOO LONG OR TOO COMPLEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  -097, Error: THE USE OF LONG VARCHAR OR LONG VARGRAPHIC IS NOT ALLOWED IN THIS CONTEXT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -084, Error: UNACCEPTABLE SQL STATEMENT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -079, Error: QUALIFIER FOR DECLARED GLOBAL TEMPORARY TABLE OR INDEX   MUST BE SESSION, NOT&lt;br /&gt;&lt;br /&gt;  SQLCODE  -060, Error: INVALID  SPECIFICATION :&lt;br /&gt;&lt;br /&gt;  SQLCODE  -029, Error: INTO CLAUSE REQUIRED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -010, Error: THE STRING CONSTANT BEGINNING  IS NOT TERMINATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  -007, Error: STATEMENT CONTAINS THE ILLEGAL CHARACTER&lt;br /&gt;&lt;br /&gt;  SQLCODE  000,SUCCESSFUL EXECUTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  012, Warning: THE UNQUALIFIED COLUMN NAME  WAS INTERPRETED AS A CORRELATED REFERENCE&lt;br /&gt;&lt;br /&gt;  SQLCODE  098, Warning: A DYNAMIC SQL STATEMENT ENDS WITH A SEMICOLON&lt;br /&gt;&lt;br /&gt;  SQLCODE  100, NOT FOUND:ROW NOT FOUND FOR FETCH, UPDATE, OR DELETE, OR THE RESULT OF A QUERY IS AN EMPTY TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  110, Warning: SQL UPDATE TO A DATA CAPTURE TABLE NOT SIGNALED TO ORIGINATING SUBSYSTEM&lt;br /&gt;&lt;br /&gt;  SQLCODE  111, Warning: THE SUBPAGES OPTION IS NOT SUPPORTED FOR TYPE 2 INDEXES&lt;br /&gt;&lt;br /&gt;  SQLCODE  117, Warning: THE NUMBER OF INSERT VALUES IS NOT THE SAME AS THE NUMBER OF OBJECT COLUMNS&lt;br /&gt;&lt;br /&gt;  SQLCODE  162, Warning: TABLE SPACE . HAS BEEN PLACED IN CHECK PENDING&lt;br /&gt;&lt;br /&gt;  SQLCODE  203, Warning: THE QUALIFIED COLUMN NAME  WAS RESOLVED USING A NON-UNIQUE OR UNEXPOSED NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  204, Warning:  IS AN UNDEFINED NAME&lt;br /&gt;&lt;br /&gt;  SQLCODE  206, Warning:  IS NOT A COLUMN OF AN INSERTED TABLE, UPDATED TABLE, OR ANY TABLE IDENTIFIED IN A FROM CLAUSE&lt;br /&gt;&lt;br /&gt;  SQLCODE  218, Warning: THE SQL STATEMENT REFERENCING A REMOTE OBJECT CANNOT BE EXPLAINED&lt;br /&gt;&lt;br /&gt;  SQLCODE  219, Warning: THE REQUIRED EXPLANATION TABLE  DOES NOT EXIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  220, Warning: THE COLUMN  IN EXPLANATION TABLE  IS NOT DEFINED PROPERLY&lt;br /&gt;&lt;br /&gt;  SQLCODE  236, Warning: SQLDA INCLUDES  SQLVAR ENTRIES, BUT  ARE REQUIRED FOR  COLUMNS&lt;br /&gt;&lt;br /&gt;  SQLCODE  237, Warning: SQLDA INCLUDES  SQLVAR ENTRIES, BUT  ARE REQUIRED BECAUSE AT LEAST ONE OF THE COLUMNS&lt;br /&gt;BEING DESCRIBED IS A DISTINCT TYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  238, Warning: SQLDA INCLUDES  SQLVAR ENTRIES, BUT  SQLVAR ENTRIES ARE NEEDED FOR  COLUMNS BECAUSE&lt;br /&gt;AT LEAST ONE OF THE COLUMNS BEING DESCRIBED IS A LOB&lt;br /&gt;&lt;br /&gt;  SQLCODE  239, Warning: SQLDA INCLUDES  SQLVAR ENTRIES, BUT  ARE REQUIRED FOR  COLUMNS BECAUSE AT LEAST ONE&lt;br /&gt;OF THE COLUMNS BEING DESCRIBED IS A DISTINCT TYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  304, Warning: A VALUE WITH DATA TYPE  CANNOT BE ASSIGNED TO A HOST VARIABLE BECAUSE THE VALUE IS&lt;br /&gt;NOT WITHIN THE RANGE OF THE HOST VARIABLE IN POSITION  WITH DATA TYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  331, Warning: THE NULL VALUE HAS BEEN ASSIGNED TO A HOST VARIABLE BECAUSE THE STRING CANNOT BE&lt;br /&gt;TRANSLATED.  REASON , CHARACTER , HOST VARIABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  339, Warning: THE SQL STATEMENT HAS BEEN SUCCESSFULLY EXECUTED BUT THERE MAY BE SOME CHARACTER&lt;br /&gt;CONVERSION INCONSISTENCIES&lt;br /&gt;&lt;br /&gt;  SQLCODE  394, Warning: USER SPECIFIED OPTIMIZATION HINTS USED DURING ACCESS PATH SELECTION&lt;br /&gt;&lt;br /&gt;  SQLCODE  395, Warning: USER SPECIFIED OPTIMIZATION HINTS ARE INVALID (REASON CODE = '').  THE OPTIMIZATION HINTS ARE IGNORED&lt;br /&gt;&lt;br /&gt;  SQLCODE  402, Warning: LOCATION  IS UNKNOWN&lt;br /&gt;&lt;br /&gt;  SQLCODE  403, Warning: THE LOCAL OBJECT REFERENCED BY THE CREATE ALIAS STATEMENT DOES NOT EXIST&lt;br /&gt;&lt;br /&gt;  SQLCODE  434, Warning: OPTION  IS A DEPRECATED FEATURE&lt;br /&gt;&lt;br /&gt;  SQLCODE  445, Warning: VALUE  HAS BEEN TRUNCATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  462, Warning: EXTERNAL FUNCTION OR PROCEDURE  (SPECIFIC NAME ) HAS RETURNED A WARNING SQLSTATE, WITH DIAGNOSTIC TEXT&lt;br /&gt;&lt;br /&gt;  SQLCODE  464, Warning: PROCEDURE  RETURNED  QUERY RESULT SETS, WHICH EXCEEDS THE DEFINED LIMIT&lt;br /&gt;&lt;br /&gt;  SQLCODE  466, Warning: PROCEDURE  RETURNED  QUERY RESULT SETS&lt;br /&gt;&lt;br /&gt;  SQLCODE  494, Warning: NUMBER OF RESULT SETS IS GREATER THAN NUMBER OF LOCATORS&lt;br /&gt;&lt;br /&gt;  SQLCODE  495, Warning: ESTIMATED PROCESSOR COST OF  PROCESSOR SECONDS ( SERVICE UNITS) IN COST CATEGORY&lt;br /&gt;EXCEEDS A RESOURCE LIMIT WARNING THRESHOLD OF  SERVICE UNITS&lt;br /&gt;&lt;br /&gt;  SQLCODE  535, Warning: THE RESULT OF THE POSITIONED UPDATE OR DELETE MAY DEPEND ON THE ORDER OF THE ROWS&lt;br /&gt;&lt;br /&gt;  SQLCODE  541, Warning: THE REFERENTIAL OR UNIQUE CONSTRAINT  HAS BEEN IGNORED BECAUSE IT IS A DUPLICATE&lt;br /&gt;&lt;br /&gt;  SQLCODE  551, Warning:  DOES NOT HAVE THE PRIVILEGE TO PERFORM OPERATION  ON OBJECT&lt;br /&gt;&lt;br /&gt;  SQLCODE  552, Warning:  DOES NOT HAVE THE PRIVILEGE TO PERFORM OPERATION&lt;br /&gt;&lt;br /&gt;  SQLCODE  558, Warning: THE WITH GRANT OPTION IS IGNORED&lt;br /&gt;&lt;br /&gt;  SQLCODE  561, Warning: THE ALTER, INDEX, REFERENCES, AND TRIGGER PRIVILEGES CANNOT BE GRANTED TO PUBLIC AT ALL LOCATIONS&lt;br /&gt;&lt;br /&gt;  SQLCODE  562, Warning: A GRANT OF A PRIVILEGE WAS IGNORED BECAUSE THE GRANTEE ALREADY HAS THE PRIVILEGE FROM THE GRANTOR&lt;br /&gt;&lt;br /&gt;  SQLCODE  585, Warning: THE SCHEMA NAME  APPEARS MORE THAN ONCE IN THE CURRENT PATH&lt;br /&gt;&lt;br /&gt;  SQLCODE  599, Warning: COMPARISON FUNCTIONS ARE NOT CREATED FOR A DISTINCT TYPE BASED ON A LONG STRING DATA TYPE&lt;br /&gt;&lt;br /&gt;  SQLCODE  610, Warning: A CREATE/ALTER ON OBJECT  HAS PLACED OBJECT IN  PENDING&lt;br /&gt;&lt;br /&gt;  SQLCODE  625, Warning: THE DEFINITION OF TABLE  HAS BEEN CHANGED TO INCOMPLETE&lt;br /&gt;&lt;br /&gt;  SQLCODE  626, Warning: DROPPING THE INDEX TERMINATES ENFORCEMENT OF THE UNIQUENESS OF A KEY THAT WAS DEFINED&lt;br /&gt;WHEN THE TABLE WAS CREATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  645, Warning: WHERE NOT NULL IS IGNORED BECAUSE THE INDEX KEY CANNOT CONTAIN NULL VALUES&lt;br /&gt;&lt;br /&gt;  SQLCODE  650, Warning: THE TABLE BEING CREATED OR ALTERED CAN NOT BECOME A DEPENDENT TABLE&lt;br /&gt;&lt;br /&gt;  SQLCODE  653, Warning: TABLE  IN PARTITIONED TABLE SPACE  IS NOT AVAILABLE BECAUSE ITS PARTITIONED INDEX HAS&lt;br /&gt;NOT BEEN CREATED&lt;br /&gt;&lt;br /&gt;  SQLCODE  655, Warning: STOGROUP  HAS BOTH SPECIFIC AND NON-SPECIFIC VOLUME IDS.  IT WILL NOT BE ALLOWED IN&lt;br /&gt;FUTURE RELEASES.&lt;br /&gt;&lt;br /&gt;  SQLCODE  658, Warning: THE SUBPAGES VALUE IS IGNORED FOR THE CATALOG INDEX&lt;br /&gt;&lt;br /&gt;  SQLCODE  664, Warning: THE INTERNAL LENGTH OF THE LIMIT-KEY FIELDS FOR THE PARTITIONED INDEX  EXCEEDS THE&lt;br /&gt;LENGTH IMPOSED BY THE INDEX MANAGER&lt;br /&gt;&lt;br /&gt;  SQLCODE  738, Warning: DEFINITION CHANGE OF   MAY REQUIRE SIMILAR CHANGE ON READ-ONLY SYSTEMS&lt;br /&gt;&lt;br /&gt;  SQLCODE  799, Warning: A SET STATEMENT REFERENCES A SPECIAL REGISTER THAT DOES NOT EXIST AT THE SERVER SITE&lt;br /&gt;&lt;br /&gt;  SQLCODE  802, Warning: EXCEPTION ERROR  HAS OCCURRED DURING  OPERATION ON  DATA, POSITION&lt;br /&gt;&lt;br /&gt;  SQLCODE  806, Warning: BIND ISOLATION LEVEL RR CONFLICTS WITH TABLESPACE LOCKSIZE PAGE OR LOCKSIZE ROW AND LOCKMAX 0&lt;br /&gt;&lt;br /&gt;  SQLCODE  807, Warning: THE RESULT OF DECIMAL MULTIPLICATION MAY CAUSE OVERFLOW&lt;br /&gt;&lt;br /&gt;  SQLCODE  863, Warning: THE CONNECTION WAS SUCCESSFUL BUT ONLY SBCS WILL BE SUPPORTED&lt;br /&gt;&lt;br /&gt;  SQLCODE  883, Warning: ROLLBACK TO SAVEPOINT OCCURRED WHEN THERE WERE OPERATIONS THAT CANNOT BE UNDONE OR AN&lt;br /&gt;OPERATION THAT CANNOT BE UNDONE OCCURRED WHEN THERE WAS A SAVEPOINT OUTSTANDING&lt;br /&gt;&lt;br /&gt;Top of Page&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-6630520521413145733?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/6630520521413145733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=6630520521413145733' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/6630520521413145733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/6630520521413145733'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2010/02/sql-error-code.html' title='sql error code'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-6117251714050703580</id><published>2009-12-10T12:03:00.001-08:00</published><updated>2009-12-10T12:03:32.315-08:00</updated><title type='text'>REXX compiler</title><content type='html'>REXXCLG (FANCMCLG)&lt;br /&gt;&lt;br /&gt;IBM Compiler and Library for REXX on zSeries V1R4 User's Guide and Reference&lt;br /&gt;SH19-8160-05&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;REXXCLG compiles, link-edits, and runs a REXX program of type OBJECT. FANCMCLG is located in the data set prefix.SFANPRC.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     //******************************************************************&lt;br /&gt;     //*&lt;br /&gt;     //* REXXCLG Compile, link edit, and run a REXX program of OBJ type.&lt;br /&gt;     //*&lt;br /&gt;     //*    Licensed Materials - Property of IBM&lt;br /&gt;     //*    5695-013 IBM REXX Compiler&lt;br /&gt;     //*    (C) Copyright IBM Corp. 1989, 2003&lt;br /&gt;     //*&lt;br /&gt;     //* Change Activity:&lt;br /&gt;     //*   03-05-28       Release 4.0&lt;br /&gt;     //*&lt;br /&gt;     //******************************************************************&lt;br /&gt;     //*&lt;br /&gt;     //* Parameters:&lt;br /&gt;     //*&lt;br /&gt;     //*   OPTIONS     Compilation options.&lt;br /&gt;     //*               Default: XREF OBJECT NOCEXEC&lt;br /&gt;     //*&lt;br /&gt;     //*   COMPDSN     DSN of IBM REXX Compiler load library.&lt;br /&gt;     //*&lt;br /&gt;     //*   LIBDSN      DSN of IBM REXX Library load library for Stubs.&lt;br /&gt;     //*&lt;br /&gt;     //*   LIBLPA      DSN of IBM REXX Library LPA library.&lt;br /&gt;     //*               If &amp;LIBLPA is in the search order, you may deactivate&lt;br /&gt;     //*               the GO.STEPLIB and the PROC LIBLPA definition.&lt;br /&gt;     //*&lt;br /&gt;     //*   LIBXDSN     DSN of IBM REXX Library exec library.&lt;br /&gt;     //*&lt;br /&gt;     //* Required:&lt;br /&gt;     //*&lt;br /&gt;     //*   REXX.SYSIN  DDNAME, REXX program to be compiled, link edited,&lt;br /&gt;     //*               and run.&lt;br /&gt;     //*&lt;br /&gt;     //* Example:&lt;br /&gt;     //*&lt;br /&gt;     //*   To compile MYREXX.EXEC(MYPROG), to link edit the resulting&lt;br /&gt;     //*   OBJECT output together with a stub suitable for invocation&lt;br /&gt;     //*   in MVS batch, to keep the resulting load module in&lt;br /&gt;     //*   MYREXX.LOAD(MYPROG), and to run this load module, use the&lt;br /&gt;     //*   following invocation:&lt;br /&gt;     //*&lt;br /&gt;     //*   //S1 EXEC REXXCLG&lt;br /&gt;     //*   //REXX.SYSIN   DD DSN=MYREXX.EXEC(MYPROG),DISP=SHR&lt;br /&gt;     //*   //LKED.SYSLMOD DD DSN=MYREXX.LOAD(MYPROG),DISP=SHR&lt;br /&gt;     //*&lt;br /&gt;     //* Modifications:&lt;br /&gt;     //*   Change #HLQREXX to the appropriate high-level qualifier of&lt;br /&gt;     //*   your installation.&lt;br /&gt;     //*&lt;br /&gt;     //******************************************************************&lt;br /&gt;     //*&lt;br /&gt;     //REXXCLG PROC STUB=MVS,                      Type of stub&lt;br /&gt;     //             OPTIONS='XREF OBJECT NOCEXEC', REXX Compiler options&lt;br /&gt;     //             COMPDSN='#HLQREXX.SFANLMD',    REXX Compiler load lib&lt;br /&gt;     //             LIBDSN='#HLQREXX.SEAGLMD',     REXX Library stub load&lt;br /&gt;     //             LIBLPA='#HLQREXX.SEAGLPA',     REXX Library LPA lib&lt;br /&gt;     //             LIBXDSN='#HLQREXX.SEAGCMD'     REXX Library exec lib&lt;br /&gt;     //*&lt;br /&gt;     //*-----------------------------------------------------------------&lt;br /&gt;     //* Compile REXX program.&lt;br /&gt;     //*-----------------------------------------------------------------&lt;br /&gt;     //*&lt;br /&gt;     //REXX    EXEC PGM=REXXCOMP,PARM='&amp;OPTIONS'&lt;br /&gt;     //STEPLIB   DD DSN=&amp;COMPDSN,DISP=SHR&lt;br /&gt;     //SYSPRINT  DD SYSOUT=*&lt;br /&gt;     //SYSTERM   DD SYSOUT=*&lt;br /&gt;     //*SYSIEXEC DD DUMMY&lt;br /&gt;     //*SYSDUMP  DD DUMMY&lt;br /&gt;     //*SYSCEXEC DD DUMMY&lt;br /&gt;     //SYSPUNCH  DD DSN=&amp;&amp;OBJECT,DISP=(MOD,PASS),UNIT=SYSDA,&lt;br /&gt;     //             SPACE=(800,(800,100))&lt;br /&gt;     //*&lt;br /&gt;     //*-----------------------------------------------------------------&lt;br /&gt;     //* Prepare SYSLIN data set for subsequent link step.&lt;br /&gt;     //*-----------------------------------------------------------------&lt;br /&gt;     //*&lt;br /&gt;     //PLKED   EXEC PGM=IRXJCL,PARM='REXXL &amp;STUB',&lt;br /&gt;     //             COND=(9,LT,REXX)&lt;br /&gt;     //*&lt;br /&gt;     //SYSEXEC   DD DSN=&amp;LIBXDSN,DISP=SHR&lt;br /&gt;     //SYSIN     DD DSN=&amp;&amp;OBJECT,DISP=(OLD,DELETE)&lt;br /&gt;     //SYSTSPRT  DD SYSOUT=*&lt;br /&gt;     //SYSOUT    DD DSN=&amp;&amp;SYSOUT,DISP=(MOD,PASS),UNIT=SYSDA,&lt;br /&gt;     //             DCB=(RECFM=FB,LRECL=80,BLKSIZE=800),&lt;br /&gt;     //             SPACE=(800,(800,100))&lt;br /&gt;     //*&lt;br /&gt;     //*-----------------------------------------------------------------&lt;br /&gt;     //* Link together stub and program.&lt;br /&gt;     //*-----------------------------------------------------------------&lt;br /&gt;     //*&lt;br /&gt;     //LKED    EXEC PGM=HEWL,PARM='LIST,AMODE=31,RMODE=ANY,RENT,MAP',&lt;br /&gt;     //             COND=((9,LT,REXX),(0,NE,PLKED))&lt;br /&gt;     //*&lt;br /&gt;     //SYSLIN    DD DSN=&amp;&amp;SYSOUT,DISP=(OLD,DELETE)&lt;br /&gt;     //SYSLIB    DD DSN=&amp;LIBDSN,DISP=SHR&lt;br /&gt;     //SYSUT1    DD UNIT=SYSDA,SPACE=(1024,(200,20))&lt;br /&gt;     //SYSPRINT  DD SYSOUT=*&lt;br /&gt;     //SYSLMOD   DD DSN=&amp;&amp;GOSET(GO),DISP=(MOD,PASS),UNIT=SYSDA,&lt;br /&gt;     //             SPACE=(1024,(50,20,1))&lt;br /&gt;     //*&lt;br /&gt;     //*-----------------------------------------------------------------&lt;br /&gt;     //* Run the compiled REXX program.&lt;br /&gt;     //*-----------------------------------------------------------------&lt;br /&gt;     //*&lt;br /&gt;     //GO      EXEC PGM=*.LKED.SYSLMOD,&lt;br /&gt;     //             COND=((9,LT,REXX),(0,NE,PLKED),(0,NE,LKED))&lt;br /&gt;     //*&lt;br /&gt;     //STEPLIB  DD DSN=&amp;LIBLPA,DISP=SHR&lt;br /&gt;     //SYSTSPRT  DD SYSOUT=*&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-6117251714050703580?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/6117251714050703580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=6117251714050703580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/6117251714050703580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/6117251714050703580'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2009/12/rexx-compiler.html' title='REXX compiler'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-918594668621790534</id><published>2009-12-10T09:06:00.000-08:00</published><updated>2009-12-10T09:07:06.650-08:00</updated><title type='text'>SCL SCAN SEARCH LIST MEMBER</title><content type='html'>SCL ENDEVOR SEARCH SCAN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IN THE J0B LIST IN SDSF: F '*'  12&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; SET STOPRC 16 .                                              &lt;br /&gt; LIST ELEMENT 'SIDCH1PD' THRU 'SIDZ30PC'                      &lt;br /&gt;   FROM ENVIRONMENT 'PROD' SYSTEM 'CIS' SUBSYSTEM 'CIS00'     &lt;br /&gt;     TYPE 'COB2' STAGE 2                                      &lt;br /&gt;   TO DSNAME 'RSXRRA.SQL.OUT'                                 &lt;br /&gt;   OPTIONS SHOWING TEXT NOSEARCH                              &lt;br /&gt;   WHERE TEXT ((EQ                                            &lt;br /&gt; 'AP_EMPLOYER'                                                &lt;br /&gt;     COLUMNS 006 072 ) AND                                    &lt;br /&gt;     ( EQ 'INSERT'                                            &lt;br /&gt;     COLUMNS 006 072 ))                                       &lt;br /&gt;   BUILD ACTION &amp;&amp;ACTION                                      &lt;br /&gt;  .                                                           &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------===========================================================------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SET STOPRC 16 .                                               &lt;br /&gt;LIST ELEMENT   'SIDCH1PD' THRU 'SIDZ30PC'                     &lt;br /&gt;  FROM ENVIRONMENT 'PROD' SYSTEM 'CIS' SUBSYSTEM 'CIS00'      &lt;br /&gt;    TYPE 'COB2' STAGE 2                                       &lt;br /&gt;  TO DSNAME 'RSXRRA.SQL.OUT'                                  &lt;br /&gt;  OPTIONS SHOWING TEXT NOSEARCH                               &lt;br /&gt;  WHERE TEXT                                                  &lt;br /&gt;  (                                                           &lt;br /&gt;    (                                                         &lt;br /&gt;         ( EQ ' UPDATE VAP_EMPLOYER' COLUMNS 006 072 )        &lt;br /&gt;        OR                                                    &lt;br /&gt;         ( EQ ' UPDATE  VAP_EMPLOYER' COLUMNS 006 072 )       &lt;br /&gt;        OR                                                    &lt;br /&gt;         ( EQ ' INTO VAP_EMPLOYER' COLUMNS 006 072 )          &lt;br /&gt;        OR                                                    &lt;br /&gt;         ( EQ ' INTO  VAP_EMPLOYER' COLUMNS 006 072 )         &lt;br /&gt;    )                                                         &lt;br /&gt;                            &lt;br /&gt;                            &lt;br /&gt;  )                         &lt;br /&gt;       BUILD ACTION &amp;&amp;ACTION&lt;br /&gt; .                          &lt;br /&gt;****************************&lt;br /&gt;&lt;br /&gt;  LIST ELEMENT 'SID*'                                            &lt;br /&gt;    FROM ENVIRONMENT 'PROD' SYSTEM 'CIS' SUBSYSTEM 'CIS00'       &lt;br /&gt;      TYPE 'COB2' STAGE 2                                        &lt;br /&gt;    OPTIONS SHOWING TEXT                                         &lt;br /&gt;    WHERE TEXT EQ                                                &lt;br /&gt;  'ESCROW_ORDER'                                                 &lt;br /&gt;   .                                                             &lt;br /&gt; **************************** Bottom of Data ********************&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-918594668621790534?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/918594668621790534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=918594668621790534' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/918594668621790534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/918594668621790534'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2009/12/scl-scan-search-list-member.html' title='SCL SCAN SEARCH LIST MEMBER'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-7903509816807536661</id><published>2009-11-04T09:39:00.001-08:00</published><updated>2009-11-04T09:39:19.004-08:00</updated><title type='text'>SQL collections</title><content type='html'>SELECT *&lt;br /&gt;FROM SYSIBM.SYScolumns where tbname in ( select name from sysibm.systables         &lt;br /&gt; WHERE CREATOR ='SIDZ1008'  and type = 'T' ) ;  &lt;br /&gt;&lt;br /&gt;select * from sysibm.syscolumns where TBNAME like '%QRTRLY_COLLECTNS%' ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from SIDz1201.vQRTRLY_COLLECTNS &lt;br /&gt;fetch first 10 rows only;&lt;br /&gt;&lt;br /&gt;Queries&lt;br /&gt;SELECT *&lt;br /&gt;FROM SYSIBM.SYSINDEXES         &lt;br /&gt; WHERE CREATOR LIKE 'SIDZ1%'       &lt;br /&gt; AND TBNAME = 'TCASE'             &lt;br /&gt; AND UNIQUERULE = 'P'             &lt;br /&gt; WITH UR                          &lt;br /&gt; FETCH FIRST 2000 ROWS ONLY;      &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;insert into sidc3006.VEWO_HOLD_QUEUE( select IRN , ENTRY_TS, date(entry_ts) + 20 days&lt;br /&gt;from sidc3002.VAP_EMPLOYER_REPLY where irn in (400031231 ,&lt;br /&gt;405009120 ,&lt;br /&gt;406008707 ,&lt;br /&gt;406008712 ,&lt;br /&gt;406008750 ,&lt;br /&gt;406009074 ,&lt;br /&gt;406009167 ,&lt;br /&gt;407008436 ,&lt;br /&gt;408008505 ,&lt;br /&gt;410009029 ,&lt;br /&gt;412008749 ,&lt;br /&gt;412008751 ,&lt;br /&gt;413008669 ,&lt;br /&gt;418009859 ,&lt;br /&gt;443009801 ,&lt;br /&gt;444009581 ,&lt;br /&gt;454009774 ,&lt;br /&gt;458009203 ,&lt;br /&gt;459009204 &lt;br /&gt;) ) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from sidc3006.VEWO_HOLD_QUEUE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from sidc3008.vescrow_hist where case_num = 11947 ;&lt;br /&gt;select * from sidc3008.vfunds_in_escrow where case_num = 11947 ;&lt;br /&gt;&lt;br /&gt;select * from sidc3008.vaccount where case_num = 11947 ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;insert into sidc3008.vfunds_in_escrow( select ESCROW_TYPE, RCPT_NUM, ' ' , CREATION_DT, ESCROW_AMT , 0 , JURISD, PAYEE_CL_IND, PRV_RET_DISBUR_IND, ' ', DNLOAD_NUM, FIPS_CD, ' ', ACCT_TYPE, CRTORD_NUM, CASE_NUM, IRN, CRTORD_FIPS_CD, ESCROW_ORDER, 0, APPROVE_DT, ' ', AU_NUM from sidc3008.vescrow_hist where case_num = 11947 and acct_type = 'CC' ) ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;INSERT MANY ROWS&lt;br /&gt;EXEC SQL&lt;br /&gt;  INSERT INTO DSN8810.ACT &lt;br /&gt;    (ACTNO, ACTKWD, ACTDESC)&lt;br /&gt;    VALUES (:HVA1, :HVA2, :HVA3 :IVA3)&lt;br /&gt;    FOR :NUM-ROWS ROWS&lt;br /&gt;END-EXEC.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select distinct a.ap_irn  from sidz1004.vcase a , SIDz1002.VAP_EMPLOYER_REPLy b&lt;br /&gt;where a.ap_irn &lt;&gt; b.irn &lt;br /&gt;and a.case_type = 'NI'&lt;br /&gt;and a.case_status = 'ATV'&lt;br /&gt;and a.case_num &gt; 100&lt;br /&gt;fetch first 20 rows only&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select  a.ap_irn , count(*) from sidz1004.vcase a , SIDz1002.VAP_EMPLOYER_REPLy b&lt;br /&gt;where a.ap_irn = b.irn &lt;br /&gt;and a.case_type = 'NI'&lt;br /&gt;and a.case_status = 'ATV'&lt;br /&gt;and a.case_num &gt; 100&lt;br /&gt;&lt;br /&gt;group by a.ap_irn ;&lt;br /&gt;&lt;br /&gt; ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from sidst004.vcase a &lt;br /&gt;where a.ap_irn = 491009280 ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select case_num ,  CASE_ACTLG_DT, userid ,  count(*) from  SIDz1004.Vcase_Action_log &lt;br /&gt;where case_num &gt; 100&lt;br /&gt;and  case_actlg_msg1 like 'NEW AP EMPLOYER DATA FROM%'&lt;br /&gt;&lt;br /&gt;group by case_num ,  CASE_ACTLG_DT, userid&lt;br /&gt;having count(*) &gt; 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from sidc3008.vescrow_hist where case_num = 11947 ;&lt;br /&gt;select case_num ,  CASE_ACTLG_DT, userid ,  count(*) from  SIDz1004.Vcase_Action_log &lt;br /&gt;where case_num &gt; 100&lt;br /&gt;and  case_actlg_msg1 like 'NEW AP EMPLOYER DATA FROM%'&lt;br /&gt;&lt;br /&gt;group by case_num ,  CASE_ACTLG_DT, userid&lt;br /&gt;having count(*) &gt; 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from sidc3008.vescrow_hist where case_num = 11947 ;&lt;br /&gt;select * from sidc3008.vfunds_in_escrow where case_num = 11947 ;&lt;br /&gt;&lt;br /&gt;select * from sidc3008.vfunds_in_escrow FETCH FIRST 200 ROWS only ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Insert into sidc3004.vpip_agreemnt( &lt;br /&gt;CASE_NUM, APLN_SEQ_NUM, APLN_DT, APLN_DECISION_DT,      &lt;br /&gt;APLN_DECISION_CD, SIGNED_DT, PGM_START_DT, ARREAR_START_AMT,   &lt;br /&gt;CMPLD_12MONTH_IND, CMPLD_12MONTH_DT, ARREAR_12MONTH_AMT,       &lt;br /&gt;CMPLD_24MONTH_IND, CMPLD_24MONTH_DT, ARREAR_24MONTH_AMT,       &lt;br /&gt;EXIT_REASON_CD, EXIT_DT, LAST_BREACH_DT, MONTHS_PROC_NUM,      &lt;br /&gt;LAST_UPD_USER_ID, LAST_UPD_PGM_NAM, LAST_UPD_TS )&lt;br /&gt;&lt;br /&gt;select &lt;br /&gt;distinct a.case_num  ,&lt;br /&gt;APLN_SEQ_NUM, APLN_DT, APLN_DECISION_DT,      &lt;br /&gt;APLN_DECISION_CD, SIGNED_DT, PGM_START_DT, ARREAR_START_AMT,   &lt;br /&gt;CMPLD_12MONTH_IND, CMPLD_12MONTH_DT, ARREAR_12MONTH_AMT,       &lt;br /&gt;CMPLD_24MONTH_IND, CMPLD_24MONTH_DT, ARREAR_24MONTH_AMT,       &lt;br /&gt;EXIT_REASON_CD, EXIT_DT, LAST_BREACH_DT, MONTHS_PROC_NUM,      &lt;br /&gt;LAST_UPD_USER_ID, LAST_UPD_PGM_NAM, LAST_UPD_TS &lt;br /&gt;&lt;br /&gt;from  sidc3008.vaccount  a , sidc3004.vpip_agreemnt b&lt;br /&gt;where a.crtord_eff_dt between 19971100 and 20071111&lt;br /&gt;and b.case_num = 11057&lt;br /&gt;and a.case_num between 11057 and 110000&lt;br /&gt;--fetch first 10 ROWS only&lt;br /&gt;&lt;br /&gt;select &lt;br /&gt;(select distinct case_num "case_num" from sidc3008.vaccount  &lt;br /&gt;where crtord_eff_dt between 19971100 and 20071111&lt;br /&gt;) ,  &lt;br /&gt;&lt;br /&gt;max(APLN_SEQ_NUM)  ,&lt;br /&gt;max( APLN_DT)  ,&lt;br /&gt;max( APLN_DECISION_DT)  ,&lt;br /&gt;max(APLN_DECISION_CD)  ,&lt;br /&gt;max( SIGNED_DT)  ,&lt;br /&gt;max( PGM_START_DT)  ,&lt;br /&gt;max( ARREAR_START_AMT)  ,&lt;br /&gt;max(CMPLD_12MONTH_IND)  ,&lt;br /&gt;max( CMPLD_12MONTH_DT)  ,&lt;br /&gt;max( ARREAR_12MONTH_AMT)  ,&lt;br /&gt;max(CMPLD_24MONTH_IND)  ,&lt;br /&gt;max( CMPLD_24MONTH_DT)  ,&lt;br /&gt;max( ARREAR_24MONTH_AMT)  ,&lt;br /&gt;max(EXIT_REASON_CD)  ,&lt;br /&gt;max( EXIT_DT)  ,&lt;br /&gt;max( LAST_BREACH_DT)  ,&lt;br /&gt;max( MONTHS_PROC_NUM)  ,&lt;br /&gt;max(LAST_UPD_USER_ID)  ,&lt;br /&gt;max( LAST_UPD_PGM_NAM)  ,&lt;br /&gt;max( LAST_UPD_TS)  &lt;br /&gt;&lt;br /&gt;from sidc3004.vpip_agreemnt  where&lt;br /&gt;&lt;br /&gt;sidc3004.vpip_agreemnt.case_num = 11057 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;apr-30&lt;br /&gt;&lt;br /&gt;select * from SIDST002.VAP_EMPLOYER_REPLY where irn in ( 449008657, 418008765)&lt;br /&gt;order by ENTRY_TS desc&lt;br /&gt;fetch first 200 rows only;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select case_num, ap_irn from SIDST004.vcase where case_num in ( 59001161, 180011422, 11471)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;410009029&lt;br /&gt;&lt;br /&gt;select distinct a.tbl_id, a.codexn from sidz1010.vcodes a , sidz1010.vcodes b where  a.CODEXN  in ( '30' ,  '32' , '60' , '62' )&lt;br /&gt;and  b.TBL_ID =  a.TBL_ID ;&lt;br /&gt;&lt;br /&gt;select a.tbl_id , count(*) from sidz1010.vcodes a  where  a.CODEXN  in ( '30' ,  '32' , '60' , '62' )&lt;br /&gt;and exists ( select b.TBL_ID from sidz1010.vcodes b where  b.TBL_ID =  a.TBL_ID )&lt;br /&gt;group by a.tbl_id  order by 2 desc ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select  a.case_num , b.irn, a.case_status  from sidst004.Vcase a , sidst002.Vabsent_parent b where&lt;br /&gt; a.case_num in (990011281,640011900,490011717,820012388,50011322,220011070,210011983)&lt;br /&gt;and a.ap_irn = b.irn&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  EXEC SQL&lt;br /&gt;        DECLARE PENDDRV_CSR INSENSITIVE SCROLL CURSOR&lt;br /&gt;        WITH ROWSET POSITIONING FOR&lt;br /&gt;       SELECT DISTINCT&lt;br /&gt;        T595.ID_DVN&lt;br /&gt;       ,T595.NA_VENDOR&lt;br /&gt;       ,T003.ID_INDV_DCN&lt;br /&gt;       ,T003.NA_INDV_LAST ||' ,' || T003.NA_INDV_FIRST || ' '&lt;br /&gt;        || T003.NA_INDV_MID || ' ' || T003.NA_INDV_SFX&lt;br /&gt;       ,T680.TS_PNDPAYLI_PK&lt;br /&gt;       ,COALESCE(CHAR(T680.TS_NOTES_FK), ' ')&lt;br /&gt;       ,COALESCE(CHAR(T680.TS_PLACEMENT_FK), ' ')&lt;br /&gt;       ,T680.NO_VENDOR_BILLING&lt;br /&gt;       ,T680.AM_TOTAL_LINE_ITEM&lt;br /&gt;       ,T680.CO_PROGRAM_AREA&lt;br /&gt;       ,( SELECT LEFT(A18.TX_CODE_DESC, 100) FROM&lt;br /&gt;          SFCWT018_CODE_TBLE A18 WHERE&lt;br /&gt;          A18.CO_CODE_VALUE = T680.CO_PROGRAM_AREA&lt;br /&gt;          AND A18.DA_END IS NULL&lt;br /&gt;          AND A18.CO_CODE_TYPE  = 'PROGRAMAREA' )&lt;br /&gt;       ,T680.CO_FUND&lt;br /&gt;       ,IFNULL(( SELECT LEFT(B18.TX_CODE_DESC, 100) FROM&lt;br /&gt;          SFCWT018_CODE_TBLE B18 WHERE&lt;br /&gt;          B18.CO_CODE_VALUE = T680.CO_FUND&lt;br /&gt;          AND B18.DA_END IS NULL&lt;br /&gt;          AND B18.CO_CODE_TYPE  = 'FUNDCATEGORY' ), ' ' )&lt;br /&gt;       ,T680.CO_SERVICE&lt;br /&gt;       ,IFNULL(( SELECT MAX(left(T569.TX_DESCRIPTION,60)) FROM&lt;br /&gt;          SFCWT569_SRVAMDCD  T569  WHERE&lt;br /&gt;          T569.CO_SVC_AMEND = T680.CO_SERVICE&lt;br /&gt;          AND T569.CO_PROGRAM_AREA =T680.CO_PROGRAM_AREA), ' ' )&lt;br /&gt;       ,T680.DA_SERVICE_BEGIN&lt;br /&gt;       ,T680.DA_SERVICE_END&lt;br /&gt;       ,T680.AM_TOTAL_UNITS&lt;br /&gt;       ,T680.CO_VENDOR_TYPE&lt;br /&gt;       ,IFNULL(( SELECT LEFT(V18.TX_CODE_DESC, 50) FROM&lt;br /&gt;          SFCWT018_CODE_TBLE V18 WHERE&lt;br /&gt;          V18.CO_CODE_VALUE = T680.CO_VENDOR_TYPE&lt;br /&gt;          AND V18.DA_END IS NULL&lt;br /&gt;          AND V18.CO_CODE_TYPE  = 'VENDORTYPE' ), ' ' )&lt;br /&gt;       ,T680.CO_PAY_COUNTY&lt;br /&gt;       ,T680.CO_PAY_OFFICE&lt;br /&gt;       ,T680.CO_ERROR_TYPE&lt;br /&gt;       ,T680.SW_DO_NOT_PAY&lt;br /&gt;       FROM&lt;br /&gt;       SFCWT595_VENDOR T595&lt;br /&gt;       ,SFCWT003_INDV T003&lt;br /&gt;       ,SFCWT680_PNDPAYLI T680&lt;br /&gt;       WHERE&lt;br /&gt;       T680.TS_INDV_FK  =  T003.TS_INDV_PK&lt;br /&gt;       AND T680.TS_VENDOR_FK = T595.TS_VENDOR_PK&lt;br /&gt;&lt;br /&gt;       AND ( T680.CO_PROGRAM_AREA = :T680-CO-PROGRAM-AREA&lt;br /&gt;             OR :T680-CO-PROGRAM-AREA = ' ' )&lt;br /&gt;       AND ( T680.CO_PAY_COUNTY =:T680-CO-PAY-COUNTY&lt;br /&gt;             OR :T680-CO-PAY-COUNTY  = ' ' )&lt;br /&gt;       AND ( T680.CO_SERVICE = :T680-CO-SERVICE&lt;br /&gt;             OR :T680-CO-SERVICE = ' ' )&lt;br /&gt;       AND ( T680.DA_SERVICE_BEGIN &gt;= :T680-DA-SERVICE-BEGIN )&lt;br /&gt;*            OR :T680-DA-SERVICE-BEGIN = '0000-00-00' )&lt;br /&gt;       AND ( T680.DA_SERVICE_END &lt;= :T680-DA-SERVICE-END )&lt;br /&gt;*            OR :T680-DA-SERVICE-END = '9999-99-99' )&lt;br /&gt;&lt;br /&gt;       AND ( T003.ID_INDV_DCN = :T003-ID-INDV-DCN&lt;br /&gt;             OR :T003-ID-INDV-DCN  = ' ' )&lt;br /&gt;&lt;br /&gt;       AND ( T595.ID_DVN = :T595-ID-DVN&lt;br /&gt;             OR :T595-ID-DVN   = ' ' )&lt;br /&gt;&lt;br /&gt;       AND ( T680.SW_CAREERPRNT_PMT = :T680-SW-CAREERPRNT-PMT&lt;br /&gt;             OR :T680-SW-CAREERPRNT-PMT   = ' ' )&lt;br /&gt;&lt;br /&gt;       AND ( T680.SW_CLIENT_PMT = :T680-SW-CLIENT-PMT&lt;br /&gt;             OR :T680-SW-CLIENT-PMT = ' ' )&lt;br /&gt;&lt;br /&gt;       AND ( T680.SW_VENDOR_PMT = :T680-SW-VENDOR-PMT&lt;br /&gt;             OR :T680-SW-VENDOR-PMT = ' ' )&lt;br /&gt;&lt;br /&gt;     END-EXEC&lt;br /&gt;     EXEC SQL&lt;br /&gt;       OPEN PENDDRV_CSR&lt;br /&gt;     END-EXEC&lt;br /&gt;     IF SQLCODE &lt; 0&lt;br /&gt;        PERFORM 9900-SQL-ERROR&lt;br /&gt;     END-IF.&lt;br /&gt;     INITIALIZE WS-ROWSET-AREA&lt;br /&gt;&lt;br /&gt;       EXEC SQL&lt;br /&gt;         FETCH ROWSET STARTING AT&lt;br /&gt;         ABSOLUTE :WS-CSRPOS FROM PENDDRV_CSR&lt;br /&gt;         FOR :WS-RECS-TO-FETCH ROWS&lt;br /&gt;         INTO&lt;br /&gt;           :WS-RS-ID-DVN&lt;br /&gt;          ,:WS-RS-VENDOR-NAME&lt;br /&gt;          ,:WS-RS-ID-DCN&lt;br /&gt;          ,:WS-RS-CLNT-NAME&lt;br /&gt;          ,:WS-RS-PYMT-LN-PK&lt;br /&gt;          ,:WS-RS-NOTES-FK&lt;br /&gt;          ,:WS-RS-PYMT-LN-ITEM-PK&lt;br /&gt;          ,:WS-RS-TRACKIN-NO&lt;br /&gt;          ,:WS-RS-AM-LINE-ITEM&lt;br /&gt;          ,:WS-RS-PROGRAM-AREA&lt;br /&gt;          ,:WS-RS-PGM-DESC&lt;br /&gt;          ,:WS-RS-CO-FUND&lt;br /&gt;          ,:WS-RS-FUND-DESC&lt;br /&gt;          ,:WS-RS-CO-SERV&lt;br /&gt;          ,:WS-RS-SERV-DESC&lt;br /&gt;          ,:WS-RS-DA-SERV-BEGIN&lt;br /&gt;          ,:WS-RS-DA-SERV-END&lt;br /&gt;          ,:WS-RS-NO-UNITS&lt;br /&gt;          ,:WS-RS-VENDOR-TYPE&lt;br /&gt;          ,:WS-RS-VEND-DESC&lt;br /&gt;          ,:WS-RS-CO-PAY-COUNTY&lt;br /&gt;          ,:WS-RS-CO-PAY-OFFICE&lt;br /&gt;          ,:WS-RS-CO-TYPE&lt;br /&gt;          ,:WS-RS-PYMNT-HIST-SW&lt;br /&gt;       END-EXEC&lt;br /&gt;       EVALUATE TRUE&lt;br /&gt;         WHEN SQLCODE &lt; 0&lt;br /&gt;           PERFORM 9900-SQL-ERROR&lt;br /&gt;         WHEN OTHER&lt;br /&gt;          MOVE SQLERRD(3)             TO WS-RECS-FETCHD&lt;br /&gt;          IF WS-RECS-FETCHD = WS-RECS-TO-FETCH&lt;br /&gt;            MOVE 'Y'                  TO FCWCP812-SHOW-NEXT&lt;br /&gt;            SUBTRACT 1 FROM WS-RECS-FETCHD&lt;br /&gt;          END-IF&lt;br /&gt;       END-EVALUATE&lt;br /&gt;&lt;br /&gt;     EXEC SQL&lt;br /&gt;       CLOSE PENDDRV_CSR&lt;br /&gt;     END-EXEC&lt;br /&gt;     IF SQLCODE &lt; 0&lt;br /&gt;        PERFORM 9900-SQL-ERROR&lt;br /&gt;     END-IF.&lt;br /&gt;&lt;br /&gt;     INITIALIZE FCWCP812-ROWSET-DVNDCN&lt;br /&gt;     MOVE WS-PAGE-NO                  TO FCWCP812-PAGE-NUM&lt;br /&gt;     PERFORM VARYING WS-INDEX FROM +1 BY +1&lt;br /&gt;       UNTIL WS-INDEX &gt; WS-RECS-FETCHD&lt;br /&gt;          OR WS-INDEX &gt; 20&lt;br /&gt;           MOVE  WS-RS-ID-DVN       (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-ID-DVN        (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-VENDOR-NAME  (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-VENDOR-NAME   (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-VEND-DESC    (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-VEND-DESC   (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-ID-DCN       (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-ID-DCN        (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-CLNT-NAME    (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-CLNT-NAME     (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-PYMT-LN-PK   (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-PYMT-LN-PK    (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-PYMT-LN-ITEM-PK(WS-INDEX) TO&lt;br /&gt;           FCWCP812-RS-PYMT-LN-ITEM-PK(WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-NOTES-FK     (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-NOTES-FK      (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-TRACKIN-NO   (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-TRACKIN-NO    (WS-INDEX)&lt;br /&gt;&lt;br /&gt;           MOVE  WS-RS-AM-LINE-ITEM (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-AM-LINE-ITEM  (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-PGM-DESC     (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-PGM-DESC      (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-FUND-DESC    (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-FUND-DESC     (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-FUND-DESC    (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-FUND-DESC     (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-SERV-DESC    (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-SERV-DESC     (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-DA-SERV-BEGIN(WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-DA-SERV-BEGIN (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-DA-SERV-END  (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-DA-SERV-END   (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-NO-UNITS     (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-NO-UNITS      (WS-INDEX)&lt;br /&gt;     IF WS-RS-CO-PAY-COUNTY(WS-INDEX) &gt; SPACES&lt;br /&gt;        INITIALIZE FCWCP462-PARMS&lt;br /&gt;        MOVE WS-RS-CO-PAY-COUNTY(WS-INDEX)&lt;br /&gt;                                      TO FCWCP462-CO-FIPS-IN&lt;br /&gt;        MOVE WS-RS-CO-PAY-OFFICE(WS-INDEX)&lt;br /&gt;                                      TO FCWCP462-CO-OFFICE-IN&lt;br /&gt;        SET FCWCP462-ACTION-CNTY-OFF  TO TRUE&lt;br /&gt;        EXEC CICS&lt;br /&gt;          LINK PROGRAM('FCWSC462')&lt;br /&gt;          COMMAREA(FCWCP462-PARMS)&lt;br /&gt;          LENGTH(LENGTH OF FCWCP462-PARMS)&lt;br /&gt;        END-EXEC&lt;br /&gt;        IF FCWCP462-ERRMSG &lt;= SPACES&lt;br /&gt;           STRING FCWCP462-COUNTY-NAME   DELIMITED BY '  '&lt;br /&gt;                  ' - '                  DELIMITED BY SIZE&lt;br /&gt;                  FCWCP462-CO-FIPS-IN    DELIMITED BY SIZE&lt;br /&gt;                  '/'                    DELIMITED BY SIZE&lt;br /&gt;                  FCWCP462-CO-OFFICE-IN  DELIMITED BY SIZE&lt;br /&gt;                  '('                    DELIMITED BY SIZE&lt;br /&gt;                  FCWCP462-NA-OFFICE     DELIMITED BY '  '&lt;br /&gt;                  ')'                    DELIMITED BY SIZE&lt;br /&gt;             INTO FCWCP812-RS-CNTY-DESC (WS-INDEX)&lt;br /&gt;           END-STRING&lt;br /&gt;        ELSE&lt;br /&gt;           MOVE SPACES TO  FCWCP812-RS-CNTY-DESC (WS-INDEX)&lt;br /&gt;           MOVE 'LINK TO FCWSC462 ERROR'    TO  FCWCP812-ERRMSG&lt;br /&gt;        END-IF&lt;br /&gt;     END-IF&lt;br /&gt;           MOVE  WS-RS-CNTY-DESC    (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-CNTY-DESC     (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-CO-TYPE      (WS-INDEX)  TO&lt;br /&gt;           FCWCP812-RS-CO-TYPE       (WS-INDEX)&lt;br /&gt;           MOVE  WS-RS-PYMNT-HIST-SW (WS-INDEX) TO&lt;br /&gt;           FCWCP812-RS-PYMNT-HIST-SW (WS-INDEX)&lt;br /&gt;     END-PERFORM&lt;br /&gt;     .&lt;br /&gt; 5100-PAYMENT-DTL-EXIT.&lt;br /&gt;     EXIT.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db2.doc.relg/fmlt.htm&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example: The following statement declares a row set cursor:&lt;br /&gt;&lt;br /&gt;EXEC SQL&lt;br /&gt;  DECLARE C1 CURSOR &lt;br /&gt;    WITH ROWSET POSITIONING FOR&lt;br /&gt;    SELECT EMPNO, LASTNAME, SALARY&lt;br /&gt;      FROM DSN8810.EMP&lt;br /&gt;END-EXEC.&lt;br /&gt;&lt;br /&gt;To tell DB2 that you are ready to process the first row set of the result table, execute the OPEN statement in your program. DB2 then uses the SELECT statement within the DECLARE CURSOR statement to identify the rows in the result table.&lt;br /&gt;Using a multiple-row FETCH statement with host variable arrays&lt;br /&gt;&lt;br /&gt;When your program executes a FETCH statement with the ROWSET keyword, the cursor is positioned on a row set in the result table. That row set is called the current row set. Declare the dimension of each of the host variable arrays to be greater than or equal to the number of rows that are to be retrieved.&lt;br /&gt;&lt;br /&gt;Example: The following FETCH statement retrieves 20 rows into host variable arrays that are declared in your program:&lt;br /&gt;&lt;br /&gt;EXEC SQL&lt;br /&gt;  FETCH NEXT ROWSET FROM C1 &lt;br /&gt;  FOR 20 ROWS &lt;br /&gt;  INTO :HVA-EMPNO, :HVA-LASTNAME, :HVA-SALARY :INDA-SALARY&lt;br /&gt;END-EXEC.&lt;br /&gt;&lt;br /&gt;Using a multiple-row FETCH statement with a descriptor&lt;br /&gt;&lt;br /&gt;Suppose that you want to dynamically allocate the necessary storage for the arrays of column values that are to be retrieved from the employee table. You must do the following steps:&lt;br /&gt;&lt;br /&gt;   1. Declare an SQLDA structure.&lt;br /&gt;   2. Dynamically allocate the SQLDA and the necessary arrays for the column values.&lt;br /&gt;   3. Set the fields in the SQLDA for the column values that are to be retrieved.&lt;br /&gt;   4. Open the cursor.&lt;br /&gt;   5. Fetch the rows.&lt;br /&gt;&lt;br /&gt;After allocating the SQLDA and the necessary arrays for the column values, you must set the fields in the SQLDA.&lt;br /&gt;&lt;br /&gt;Example: After the OPEN statement, the program fetches the next row set by using the following statement:&lt;br /&gt;&lt;br /&gt;EXEC SQL &lt;br /&gt;  FETCH NEXT ROWSET FROM C1 &lt;br /&gt;  FOR 20 ROWS&lt;br /&gt;  USING DESCRIPTOR :outsqlda; &lt;br /&gt;&lt;br /&gt;The USING clause of the FETCH statement names the SQLDA that describes the columns that are to be retrieved.&lt;br /&gt;Using row-set positioned UPDATE statements&lt;br /&gt;&lt;br /&gt;After your program executes a FETCH statement to establish the current row set, you can use a positioned UPDATE statement with either of the following clauses:&lt;br /&gt;&lt;br /&gt;    * WHERE CURRENT OF cursor-name to update:&lt;br /&gt;          o a single row if the cursor is on a single row&lt;br /&gt;          o all the rows of a row set if the cursor is on a row set&lt;br /&gt;    * WHERE CURRENT OF cursor-name FOR ROW n OF ROWSET to update only row n of the current row set&lt;br /&gt;&lt;br /&gt;Updating all rows of the current row set: The following positioned UPDATE statement uses the WHERE CURRENT OF clause:&lt;br /&gt;&lt;br /&gt;EXEC SQL&lt;br /&gt;  UPDATE DSN8810.EMP &lt;br /&gt;    SET SALARY = 50000&lt;br /&gt;    WHERE CURRENT OF C1&lt;br /&gt;END-EXEC.&lt;br /&gt;&lt;br /&gt;When the UPDATE statement is executed, the cursor must be positioned on a row or row set of the result table. If the cursor is positioned on a row, that row is updated. If the cursor is positioned on a row set, all of the rows in the row set are updated.&lt;br /&gt;&lt;br /&gt;Updating a specific row of the current row set: The following positioned UPDATE statement uses the WHERE CURRENT OF cursor FOR ROW n OF ROWSET clause:&lt;br /&gt;&lt;br /&gt;EXEC SQL&lt;br /&gt;  UPDATE DSN8810.EMP &lt;br /&gt;    SET SALARY = 50000&lt;br /&gt;    WHERE CURRENT OF C1 FOR ROW 5 OF ROWSET&lt;br /&gt;END-EXEC.&lt;br /&gt;&lt;br /&gt;When the UPDATE statement is executed, the cursor must be positioned on a row set of the result table. The specified row (in the example, row 5) of the current row set is updated.&lt;br /&gt;Using row-set positioned DELETE statements&lt;br /&gt;&lt;br /&gt;After your program executes a FETCH statement to establish the current row set, you can use a positioned DELETE statement with either of the following clauses:&lt;br /&gt;&lt;br /&gt;    * WHERE CURRENT OF cursor-name to delete:&lt;br /&gt;          o a single row if the cursor is on a single row&lt;br /&gt;          o all the rows of a row set if the cursor is on a row set&lt;br /&gt;    * WHERE CURRENT OF cursor-name FOR ROW n OF ROWSET to delete only row n of the current row set&lt;br /&gt;&lt;br /&gt;Deleting all rows of the current row set: The following positioned DELETE statement uses the WHERE CURRENT OF clause:&lt;br /&gt;&lt;br /&gt;EXEC SQL&lt;br /&gt;  DELETE FROM DSN8810.EMP &lt;br /&gt;    WHERE CURRENT OF C1&lt;br /&gt;END-EXEC.&lt;br /&gt;&lt;br /&gt;When the DELETE statement is executed, the cursor must be positioned on a row or row set of the result table. If the cursor is positioned on a row, that row is deleted, and the cursor is positioned before the next row of its result table. If the cursor is positioned on a row set, all of the rows in the row set are deleted, and the cursor is positioned before the next row set of its result table.&lt;br /&gt;&lt;br /&gt;Deleting a single row of the current row set: The following positioned DELETE statement uses the WHERE CURRENT OF cursor FOR ROW n OF ROWSET clause:&lt;br /&gt;&lt;br /&gt;EXEC SQL&lt;br /&gt;  DELETE FROM DSN8810.EMP &lt;br /&gt;    WHERE CURRENT OF C1 FOR ROW 5 OF ROWSET&lt;br /&gt;END-EXEC.&lt;br /&gt;&lt;br /&gt;When the DELETE statement is executed, the cursor must be positioned on a row set of the result table. The specified row of the current row set is deleted, and the cursor remains positioned on that row set. The deleted row (in the example, row 5 of the row set) cannot be retrieved or updated.&lt;br /&gt;&lt;br /&gt;OCSE34 DUPLICATE PROBLEM FIX :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT A.CASE_NUM, A.JURISD, A.CRTORD_FIPS_CD, A.CRTORD_NUM,&lt;br /&gt;       A.ACCT_TYPE, A.RCPT_NUM, A.CASE_TYPE, A.CASE_SUBTYPE, &lt;br /&gt;       A.APPLIED_AMT, A.DBCR_CD, A.ENTRY_DT, &lt;br /&gt;       A.AU_NUM, A.ESCROW_GEN_FLG, A.POST_DT,  &lt;br /&gt; &lt;br /&gt;case &lt;br /&gt;when 1 = ( select count(*) FROM SIDRS035.VDISB_ESCROW_WORK  r&lt;br /&gt; &lt;br /&gt;WHERE r.CASE_NUM = A.CASE_NUM                              &lt;br /&gt;  AND r.JURISD = A.JURISD                                  &lt;br /&gt;  AND r.CRTORD_FIPS_CD = A.CRTORD_FIPS_CD                  &lt;br /&gt;  AND r.CRTORD_NUM = A.CRTORD_NUM                          &lt;br /&gt;  AND r.ACCT_TYPE = A.ACCT_TYPE                            &lt;br /&gt;  AND r.RCPT_NUM = A.RCPT_NUM  )&lt;br /&gt; &lt;br /&gt;then&lt;br /&gt; &lt;br /&gt;(SELECT digits(C.CHECK_NUM) ||  char(C.CHECK_DT)  || CHAR(C.CREATION_DT)&lt;br /&gt;  FROM SIDRS035.VDISB_ESCROW_WORK  C &lt;br /&gt;WHERE C.CASE_NUM = A.CASE_NUM                              &lt;br /&gt;  AND C.JURISD = A.JURISD                                  &lt;br /&gt;  AND C.CRTORD_FIPS_CD = A.CRTORD_FIPS_CD                  &lt;br /&gt;  AND C.CRTORD_NUM = A.CRTORD_NUM                          &lt;br /&gt;  AND C.ACCT_TYPE = A.ACCT_TYPE                            &lt;br /&gt;  AND C.RCPT_NUM = A.RCPT_NUM &lt;br /&gt; &lt;br /&gt;  ) &lt;br /&gt; &lt;br /&gt;else&lt;br /&gt; &lt;br /&gt;(SELECT max(digits(m.CHECK_NUM) ||  char(m.CHECK_DT)  || CHAR(m.CREATION_DT))&lt;br /&gt;  FROM SIDRS035.VDISB_ESCROW_WORK  m &lt;br /&gt;WHERE m.CASE_NUM = A.CASE_NUM                              &lt;br /&gt;  AND m.JURISD = A.JURISD                                  &lt;br /&gt;  AND m.CRTORD_FIPS_CD = A.CRTORD_FIPS_CD                  &lt;br /&gt;  AND m.CRTORD_NUM = A.CRTORD_NUM                          &lt;br /&gt;  AND m.ACCT_TYPE = A.ACCT_TYPE                            &lt;br /&gt;  AND m.RCPT_NUM = A.RCPT_NUM &lt;br /&gt;  AND m.CREATION_DT = A.ENTRY_DT&lt;br /&gt;  ) &lt;br /&gt; &lt;br /&gt;end case&lt;br /&gt; &lt;br /&gt;FROM  &lt;br /&gt;SIDRS008.VDISTRIBUTION_HIST   A&lt;br /&gt;where exists&lt;br /&gt;( select 1 &lt;br /&gt;  FROM SIDRS035.VDISB_ESCROW_WORK   E&lt;br /&gt;WHERE E.CASE_NUM = A.CASE_NUM                              &lt;br /&gt;  AND E.JURISD = A.JURISD                                  &lt;br /&gt;  AND E.CRTORD_FIPS_CD = A.CRTORD_FIPS_CD                  &lt;br /&gt;  AND E.CRTORD_NUM = A.CRTORD_NUM                          &lt;br /&gt;  AND E.ACCT_TYPE = A.ACCT_TYPE                            &lt;br /&gt;  AND E.RCPT_NUM = A.RCPT_NUM &lt;br /&gt;  ) &lt;br /&gt; &lt;br /&gt;order by   A.JURISD, A.RCPT_NUM, A.CASE_NUM&lt;br /&gt;WITH UR;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-7903509816807536661?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/7903509816807536661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=7903509816807536661' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/7903509816807536661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/7903509816807536661'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2009/11/sql-collections.html' title='SQL collections'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-8927981978646612663</id><published>2009-11-04T09:33:00.000-08:00</published><updated>2009-12-10T09:22:52.941-08:00</updated><title type='text'>REXX</title><content type='html'>SETUP&lt;br /&gt;&lt;br /&gt;/*   REXX */                                                            &lt;br /&gt;  ADDRESS TSO                                                            &lt;br /&gt;    "ALLOC FILE(SYSEXEC)                                                 &lt;br /&gt;    DA('SYSLOC.TSO.COMMON.EXEC.FB','DBDCLOC.TSO.S0F.EXEC.FB',            &lt;br /&gt;    'SYS1.SISPEXEC','NDVR.EDVTOOLS.REXX','RSXRR3.ROMMY.EXEC')SHR REUSE"  &lt;br /&gt;    ISPF                                                                 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_________________________&lt;br /&gt;&lt;br /&gt;exec 'rsxrr3.share.rexx(SETUP)'   in the initial command b4 logon&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;br /&gt;&lt;br /&gt;KR-228* How to execute REXX codes&lt;br /&gt; &lt;br /&gt;Addendum to the REXX crash course series. &lt;br /&gt; &lt;br /&gt;4 ways to execute REXX codes &lt;br /&gt; &lt;br /&gt;1.) Foreground execution &lt;br /&gt; &lt;br /&gt;Prefix member name by EXEC within the member listing screen – the method we’ve been using so far. &lt;br /&gt; &lt;br /&gt;2.) Another foreground method&lt;br /&gt; &lt;br /&gt;Type TSO EXEC 'pds(rexx-member)' on the command line on any screen. &lt;br /&gt; &lt;br /&gt;3.) Foreground again (most commonly used method)&lt;br /&gt;• To run the rexx exec without giving specifying the path we can allocate the PDS containing the REXX member to SYSEXEC or SYSPROC -&gt; these are the files that are searched to locate execs. &lt;br /&gt;• Usually SYSPROC contains all user created CLISTS; so we can append our dataset to this (SYSPROC is like a dd-name to which datasets can be concatenated) -&gt; use the ISRDDN command to check datasets allocated in your session. &lt;br /&gt;• To allocate datasets to SYSPROC use the following TSO command: CONCAT FILE(SYSPROC) DA('pds name') SHR REUSE &lt;br /&gt;• Now if your REXX code is called CREATOR then you can just say TSO CREATOR on any screen to invoke the tool. We can also say: %CREATOR &lt;br /&gt;• One question is should I execute the CONCAT command each time I log into mainframes? &lt;br /&gt;Yes - there are a couple of ways to circumvent this: take advantage of the initial logon screen where you can specify commands to be executed on logging in. Another option is that your mainframe might already have a specific dataset that is executed for each user on logging in; in this case just add the CONCAT step to this file. &lt;br /&gt;4.) Running a REXX exec in batch &lt;br /&gt; &lt;br /&gt;Write a jcl step to execute the tso program IKJEFT01.&lt;br /&gt;In the SYSTSIN card we can give the TSO commands to be executed. &lt;br /&gt;Ex: &lt;br /&gt;//SYSTSIN DD * EX 'TEST.SS.REXX.EXEC(CREATOR)'&lt;br /&gt;/*&lt;br /&gt;If you want to pass arguments to your program, then use: &lt;br /&gt;//SYSTSIN DD * %CREATOR arg1 arg2&lt;br /&gt;/*&lt;br /&gt;(CREATOR code should then have an ARG statement to capture the arguments).&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.tek-tips.com/viewthread.cfm?qid=1234003&amp;page=9&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  tcurrier (Programmer)&lt;br /&gt;23 May 06 10:55 &lt;br /&gt;In a Rexx exec, I am trying to concatenate 2 private libraries to ISPLLIB as follows: &lt;br /&gt;CODE&lt;br /&gt;ADDRESS TSO "ALLOC FI(MYLIB1) SHR DA('H2501S.T.DYNAMIC.LIBZ00')"&lt;br /&gt;IF RC = 0 THEN CONCAT ISPLLIB MYLIB1                            &lt;br /&gt;ADDRESS TSO "ALLOC FI(MYLIB2) SHR DA('H2501S.T.DYNAMIC.LIBZ01')"&lt;br /&gt;IF RC = 0 THEN CONCAT ISPLLIB MYLIB2&lt;br /&gt;                            &lt;br /&gt;&lt;br /&gt;I'm getting an error: &lt;br /&gt;&lt;br /&gt;CONCAT- SPECIFIED DDNAME(S) ALREADY "OPEN"&lt;br /&gt;&lt;br /&gt;Not sure if this belong in the 'Rexx' forum, but ... Thanks...&lt;br /&gt;&lt;br /&gt;Tek-Tips Forums is Member Supported. Click Here to donate.&lt;br /&gt;rexxhead (Programmer)&lt;br /&gt;24 May 06 9:45 &lt;br /&gt;Not exactly REXX, but I don't believe there's an ISPF forum....&lt;br /&gt;&lt;br /&gt;The error is because when ISPF starts, it OPENs all the ISPxLIB files.  You can't concatenate to an already-open file.  Not even CONCAT can do it.&lt;br /&gt;&lt;br /&gt;Instead, you should LIBDEF: &lt;br /&gt;CODE&lt;br /&gt;address ISPEXEC "LIBDEF ISPPLIB DATASET ID('H2501S.T.DYNAMIC.LIBZ00') STACK" &lt;br /&gt;&lt;br /&gt;This layers the datasets specified in "ID" above the current ISPLLIB.  When you're finished using them, &lt;br /&gt;CODE&lt;br /&gt;address ISPEXEC "LIBDEF ISPPLIB" &lt;br /&gt;and they evaporate.&lt;br /&gt;Frank Clarke&lt;br /&gt;Tampa Area REXX Programmers' Alliance&lt;br /&gt;REXX Language Assn Listmaster&lt;br /&gt;&lt;br /&gt;tcurrier (Programmer)&lt;br /&gt;24 May 06 14:10 &lt;br /&gt;Thanks... using your method, I wasn't able to get it to work, though: &lt;br /&gt;&lt;br /&gt;"ISPEXEC LIBDEF ISPLLIB DATASET ID('H2501S.T.DYNAMIC.LIBZ00') STACK" &lt;br /&gt;"ISPEXEC LIBDEF ISPLLIB DATASET ID('H2501S.T.DYNAMIC.LIBZ01') STACK"&lt;br /&gt; &lt;br /&gt;"ISPEXEC SELECT CMD(H2545Z00)"&lt;br /&gt;IKJ56500I COMMAND H2545Z00 NOT FOUND&lt;br /&gt;&lt;br /&gt;ADDRESS LINKPGM 'H2545Z00'&lt;br /&gt;+++ RC(-3) +++&lt;br /&gt;&lt;br /&gt;"ISPEXEC SELECT PGM(H2545Z00)"&lt;br /&gt;Link to 'H2545Z00' failed, abend code = x'00000806'.&lt;br /&gt;-------------------------------------------------------------                      &lt;br /&gt;"ISPEXEC LIBDEF ISPLLIB DATASET                            &lt;br /&gt;   ID('H2501S.T.DYNAMIC.LIBZ00','H2501S.T.DYNAMIC.LIBZ01')"&lt;br /&gt;&lt;br /&gt;"ISPEXEC SELECT PGM(H2545Z00)"&lt;br /&gt;CEE3501S The module H2545Z01 was not found.&lt;br /&gt;------------------------------------------------------------&lt;br /&gt;"ISPEXEC LIBDEF ISPLLIB DATASET                            &lt;br /&gt;   ID('H2501S.T.DYNAMIC.LIBZ00','H2501S.T.DYNAMIC.LIBZ01')"&lt;br /&gt;&lt;br /&gt;ADDRESS LINKPGM 'H2545Z00'&lt;br /&gt;CEE3501S The module H2545Z01 was not found.&lt;br /&gt;-------------------------------------------------------------&lt;br /&gt;THIS IS THE ONLY WAY I COULD GET IT TO WORK : &lt;br /&gt;&lt;br /&gt;"ISPEXEC LIBDEF ISPLLIB DATASET                            &lt;br /&gt;   ID('H2501S.T.DYNAMIC.LIBZ00','H2501S.T.DYNAMIC.LIBZ01')"&lt;br /&gt;    &lt;br /&gt;"ISPEXEC SELECT CMD(H2545Z00)"&lt;br /&gt;&lt;br /&gt;*** NOW IN H2545Z00 *** &lt;br /&gt;*** NOW IN H2545Z01 *** &lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;kevinf2349 (TechnicalUser)&lt;br /&gt;24 May 06 14:24 &lt;br /&gt;Thats because in the initial attempt you effectively caused the first LIBDEF to be thrown aside for the second one.&lt;br /&gt;&lt;br /&gt;The way you eventually got it to work is the correct method. &lt;br /&gt;&lt;br /&gt;rexxhead (Programmer)&lt;br /&gt;25 May 06 10:50 &lt;br /&gt;&lt;br /&gt;He STACKed the LIBDEFs, so he actually has all of them available.  Notice that he also switched to "SELECT CMD(" as Doug Nadel advised him to do over on MVSHELP.  I think that was "the answer".&lt;br /&gt;Frank Clarke&lt;br /&gt;Tampa Area REXX Programmers' Alliance&lt;br /&gt;REXX Language Assn Listmaster&lt;br /&gt;&lt;br /&gt;kevinf2349 (TechnicalUser)&lt;br /&gt;25 May 06 13:19 &lt;br /&gt;Whoops...my bad... I completely missed the STACK. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;ALLOC FI(NOTCAT) DA('dsn.not.catalog') +                     &lt;br /&gt;     SHR REUSE UNIT(SYSALLDA) VOL(vvvvvv)                          &lt;br /&gt;ALLOC FI(MYDD) DA('cat.dsn.#1' +                             &lt;br /&gt;                  'cat.dsn.#2'    +                          &lt;br /&gt;                  'cat.dsn.#3')  SHR REUSE                   &lt;br /&gt;CONCAT   (MYDD,NOTCAT)                                       &lt;br /&gt;OPENFILE MYDD INPUT       &lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TSO ISRDDN&lt;br /&gt;&lt;br /&gt;SYSEXEC&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TSOCMD = ALLOC F(SYSPROC) DA('&lt;Your Library Name&gt;') SHR REUSE" &lt;br /&gt;ADDRESS TSO TSOCMD&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-8927981978646612663?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/8927981978646612663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=8927981978646612663' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/8927981978646612663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/8927981978646612663'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2009/11/rexx.html' title='REXX'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-2255031365052975721</id><published>2008-07-02T07:14:00.000-07:00</published><updated>2008-07-02T07:15:11.566-07:00</updated><title type='text'>Platinum commands</title><content type='html'>S COMMAND        COMMAND DESCRIPTION                         &lt;br /&gt;                                                              &lt;br /&gt;   RC/QUERY TABLE REPORT OPTIONS                              &lt;br /&gt; _ A            - RQTA    Table Alias                         &lt;br /&gt; _ D            - RQTD    Table Detail                        &lt;br /&gt; _ L            - RQTL    Table List                          &lt;br /&gt; _ P            - RQTP    Table Plan Inquiry                  &lt;br /&gt; _ S            - RQTS    Table Synonym Inquiry               &lt;br /&gt; _ I            - RQTI    Table Index Inquiry                 &lt;br /&gt; _ C            - RQTC    Table Column Inquiry                &lt;br /&gt; _ V            - RQTV    Table View Inquiry                  &lt;br /&gt; _ HL           - RQTHL   Table History List                  &lt;br /&gt; _ HD           - RQTHD   Table Detail History                &lt;br /&gt; _ HS           - RQTHS   Table Stats. History                &lt;br /&gt; _ HP           - RQTHP   Table Partition History             &lt;br /&gt; _ O            - RQOD    Object Dependency                   &lt;br /&gt; _ UA           - RQTUA   Table User Authorization Inq        &lt;br /&gt; _ PA           - RQTPA   Table Plan Authorization Inq        &lt;br /&gt;_ KA           - RQTKA   Table Package Authorization Inq          &lt;br /&gt; _ PK           - RQTPK   Table Package Inquiry                    &lt;br /&gt; _ UC           - RQTUCS  Table Unique Constraint Inquiry          &lt;br /&gt; _ DI           - RQTDI   Table Drop Impact                        &lt;br /&gt; _ LR           - RQTLR   Table Lob Relationships                  &lt;br /&gt; _ TG           - RQTTG   Table Trigger                            &lt;br /&gt;                                                                   &lt;br /&gt;   RC/QUERY AVAILABLE REPORT OBJECTS                               &lt;br /&gt; _ C  OPTIONS   - Column                                           &lt;br /&gt; _ SY OPTIONS   - System                                           &lt;br /&gt; _ RI OPTIONS   - Referential Integrity                            &lt;br /&gt; _ U  OPTIONS   - User                                             &lt;br /&gt;                                                                   &lt;br /&gt;    GENERAL LINE COMMANDS                                          &lt;br /&gt; _ COUNT         - Display number of table rows                    &lt;br /&gt; _ DDL           - Create DDL for an object                        &lt;br /&gt; _ DELETE        - Jump to ISQL to delete from a table or view     &lt;br /&gt;S COMMAND        COMMAND DESCRIPTION                                       &lt;br /&gt;_ DISPLAY       - Jump to DB2C to display a DB/TS/IS/UDF or Stored Proc.   &lt;br /&gt;_ DISPLKS       - Display database/tablespace/indexspace with LOCKS        &lt;br /&gt;_ DISPLPL       - Display database/tablespace/indexspace with LPL          &lt;br /&gt;_ DISPUSE       - Display database/tablespace/indexspace with USE          &lt;br /&gt;_ FSTART        - Start a database and/or tablespace/indexspace            &lt;br /&gt;_ FSTOP         - Stop a database and/or tablespace/indexspace             &lt;br /&gt;_ INSERT        - Jump to ISQL to insert into a table or view              &lt;br /&gt;_ LGRANT        - Grant privileges to users                                &lt;br /&gt;_ LOAD          - Create JCL for LOAD Utility                              &lt;br /&gt;_ LREVOKE       - Revoke privileges from users                             &lt;br /&gt;_ REFRESH       - Refresh Materialized Query Table                         &lt;br /&gt;_ SELECT        - Jump to ISQL to select from a table or view              &lt;br /&gt;_ START         - Jump to DB2C to start a DB/TS/IS/UDF or Stored Proc.     &lt;br /&gt;_ STARO         - Jump to DB2C to start a DB/TS/IS in READ ONLY status     &lt;br /&gt;_ STAUT         - Jump to DB2C to start a DB/TS/IS in UTILITY status       &lt;br /&gt;_ STAFO         - Jump to DB2C to start a DB/TS/IS with ACCESS FORCE       &lt;br /&gt;_ STOP          - Jump to DB2C to stop a DB/TS/IS/UDF or Stored Proc.      &lt;br /&gt;_ UPDATE        - Jump to ISQL to update a table or view             &lt;br /&gt; _ UNLOAD        - Create JCL for the FAST UNLOAD utility             &lt;br /&gt;                                                                      &lt;br /&gt;    LICENSED LINE COMMANDS                                            &lt;br /&gt; _ ALTER         - Jump to RC/Update to alter an object               &lt;br /&gt; _ BROWSE        - Jump to RC/Update to browse a table                &lt;br /&gt; _ COPYD         - Jump to RC/Update to copy a table                  &lt;br /&gt; _ COPYAUTH      - Jump to RC/Secure to copy authorizations           &lt;br /&gt; _ CREATE        - Jump to RC/Update to create an object              &lt;br /&gt; _ DROP          - Jump to RC/Update to drop an object                &lt;br /&gt; _ EDIT          - Jump to RC/Update to edit a table                  &lt;br /&gt; _ FBROWSE       - Jump to RC/Update to browse a table                &lt;br /&gt; _ FEDIT         - Jump to RC/Update to edit a table                  &lt;br /&gt; _ GRANT         - Jump to RC/Secure for GRANT services               &lt;br /&gt; _ QMIGRATE      - Jump to RC/Migrator to perform Quick Migrations    &lt;br /&gt; _ REVOKE        - Jump to RC/Secure for REVOKE services              &lt;br /&gt; _ TEMPLATE      - Jump to RC/Update to template an object            &lt;br /&gt;_ LISTCAT      - IDCAMS Listcat of tablespace/indexspace  &lt;br /&gt; _ EX           - Execute Clist or REXX Exec               &lt;br /&gt; _ TESTEX1      - SAMPLE REXX EXEC                         &lt;br /&gt; ******************************* BOTTOM OF DATA ************&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                                                      &lt;br /&gt; S COMMAND        COMMAND DESCRIPTION                 &lt;br /&gt;                                                      &lt;br /&gt;   RC/QUERY SYNONYM REPORT OPTIONS                    &lt;br /&gt; _ L            - RQSL    Synonym List                &lt;br /&gt; _ T            - RQST    Synonym Table Inquiry       &lt;br /&gt; _ V            - RQSV    Synonym View Inquiry        &lt;br /&gt; _ P            - RQSP    Synonym Plan Inquiry        &lt;br /&gt; _ PK           - RQSPK   Synonym Package Inquiry     &lt;br /&gt; _ DI           - RQSDI   Synonym Drop Impact         &lt;br /&gt;                                                      &lt;br /&gt;   RC/QUERY AVAILABLE REPORT OBJECTS                  &lt;br /&gt; _ T  OPTIONS   - Table                               &lt;br /&gt; _ C  OPTIONS   - Column                              &lt;br /&gt; _ SY OPTIONS   - System                              &lt;br /&gt; _ RI OPTIONS   - Referential Integrity               &lt;br /&gt; _ U  OPTIONS   - User&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-2255031365052975721?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/2255031365052975721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=2255031365052975721' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/2255031365052975721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/2255031365052975721'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2008/07/platinum-commands.html' title='Platinum commands'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-9108344973993539803</id><published>2008-07-02T07:11:00.000-07:00</published><updated>2008-07-02T07:13:26.034-07:00</updated><title type='text'>picture string</title><content type='html'>=    any character                        .   invalid characters   &lt;br /&gt;     @   alphabetic characters           -  non-numeric characters&lt;br /&gt;     #    numeric characters              &lt;  lower case alphabetics   &lt;br /&gt;     $    special characters                 &gt;  upper case alphabetics  &lt;br /&gt;     ¬    non-blank characters&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-9108344973993539803?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/9108344973993539803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=9108344973993539803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/9108344973993539803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/9108344973993539803'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2008/07/picture-string.html' title='picture string'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-4596266782967648428</id><published>2008-07-02T07:09:00.000-07:00</published><updated>2008-07-02T07:11:08.519-07:00</updated><title type='text'>FTP DOS</title><content type='html'>verboseopen 159.xxx.xxx.xxuseridpwwdxxascd "'PFM.SBA.LDDNB504.D200608'";quo site xlate=canftptrquo site xlate=canftpnzquo site autorecall pr&lt;br /&gt;lcd C:\SBA-AUG06&lt;br /&gt;get AUDREF LDDNB504.txt&lt;br /&gt;   cd "'PFM.SBA.LDDNB7A.D200608'"get AUDREF LDDNB7A.txt&lt;br /&gt;cd "'PFM.SBA.LDSBA504.D200608'" get AUDREF LDSBA504.txt&lt;br /&gt;cd "'PFM.SBA.LDSBA7A.D200608'" get AUDREF LDSBA7A.txt&lt;br /&gt;cd "'PFM.SBA.LNDNB504.D200608'" get AUDREF LNDNB504.txt&lt;br /&gt;cd "'PFM.SBA.LNDNB7A.D200608'" get AUDREF LNDNB7A.txt&lt;br /&gt;&lt;br /&gt;bye&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-4596266782967648428?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/4596266782967648428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=4596266782967648428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/4596266782967648428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/4596266782967648428'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2008/07/ftp-dos.html' title='FTP DOS'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-6063483619654619808</id><published>2008-07-02T07:08:00.000-07:00</published><updated>2008-07-02T07:09:00.889-07:00</updated><title type='text'>rowid</title><content type='html'>Our env: DB2 v8.1 on AIX5.3&lt;br /&gt;My question is, I have a SQL statement which works fine in oracle...&lt;br /&gt;update mytab set c1 = -c1 where rowid = v_rowid;&lt;br /&gt;I need an equivalent in db2 (I am aware rowid equivalent is row_number() over() but I am wondering how to assign the left hand part of rowid because mytab table does not contain the column rowid!!).&lt;br /&gt;Any ideas? thanks. &lt;br /&gt;dr_suresh20 View Public Profile Send a private message to dr_suresh20 Send email to dr_suresh20 Find all posts by dr_suresh20&lt;br /&gt;  #2    08-07-06, 11:44  Peter.Vanroose  Registered User   Join Date: Sep 2004Location: BelgiumPosts: 602   Essentially there is no equivalent in DB2.The logic behind this being that there is no "natural" rowid attached to a certain row: a certain row can be the 4th result row from a certain query, but the same row could as well be the 6th row from the SAME query on the SAME table when the optimizer chose to implement the query differently! (E.g., with or without the use of an index.)&lt;br /&gt;Typically you probably wanted to change a value in the row with rowid=4 because some (independent) program logic found out that this row had a certain property, i.e., "where" condition.In that case you could do one of three things:1. Add that condition to your UPDATE statement:update mytab set c1 = -c1 where CONDITION;2. Suppose you are running through a result table with a cursor, and at a certain iteration the condition applies for the current row; in that case useupdate mytab set c1 = -c1 where CURRENT OF cursorname;3. Use a subquery to produce the primary key values of mytab that satisfy the condition:update mytab set c1 = -c1 where mytab.pkey IN ( SELECT pkey FROM mytab WHERE CONDITION );__________________--_Peter Vanroose,__IBM Certified Database Administrator, DB2 V8 z/OS__IBM Certified Application Developer, DB2 V8__ABIS Training and Consulting__http://www.abis.be/ &lt;br /&gt;&lt;br /&gt;Every record stored has a ROWID; which is a combination of page(block)#,slot #(within a page) and file#(and optionally object#). ROWID is the fastest way of getting to a record; is used by indexes. Oracle provides it as a pseudocolumn; db2 does NOT provide rowid. Rowid is fixed,constant, immutable till you do a REORG. If you analyze some records and you want to modify or select those records again, you should store their rowids so that you can get to them most efficiently. ROWNUM is different; IN db2 rowid is 4 bytes; 3 for page# and one for slot#; one byte, 8 bits can go up to 255; that's why you have 255 record limit per page; in VIPER you have 4byte page and 2 byte slot#;so you have bigger limits on table size and # of records per page.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-6063483619654619808?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/6063483619654619808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=6063483619654619808' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/6063483619654619808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/6063483619654619808'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2008/07/rowid.html' title='rowid'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-1553936173568589742</id><published>2008-07-02T07:06:00.000-07:00</published><updated>2008-07-02T07:07:09.579-07:00</updated><title type='text'>qmf commands</title><content type='html'>LIST QUERIES&lt;br /&gt;&lt;br /&gt;LIST TABLES&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Command What it does&lt;br /&gt;&lt;br /&gt;CONVERT Converts a prompted, QBE, or SQL query into an equivalent SQL&lt;br /&gt;query. The comments in the original query do not appear in the&lt;br /&gt;converted query.&lt;br /&gt;&lt;br /&gt;DISPLAY Retrieve an object from the database and display it on your&lt;br /&gt;terminal.&lt;br /&gt;&lt;br /&gt;EDIT Edit a table in the database using the Table Editor. From the&lt;br /&gt;database object list, you can only use the EDIT command to edit&lt;br /&gt;a table. If you want to edit a query or procedure, you must&lt;br /&gt;display it first.&lt;br /&gt;&lt;br /&gt;ERASE Delete an object from the database.&lt;br /&gt;&lt;br /&gt;EXIT End your QMF session.&lt;br /&gt;&lt;br /&gt;EXPORT Export QMF objects stored in the database directly from the&lt;br /&gt;database into a file (CMS), data set (TSO and CICS/MVS), or&lt;br /&gt;queue name (CICS).&lt;br /&gt;&lt;br /&gt;IMPORT Import QMF objects directly into the database from a file&lt;br /&gt;(CMS), data set (TSO and CICS/MVS), or data queue name (CICS).&lt;br /&gt;&lt;br /&gt;LAYOUT Display the format of a report produced from a given form&lt;br /&gt;without using any data. You can only use LAYOUT with form&lt;br /&gt;objects, and only in an environment in which both REXX and ISPF&lt;br /&gt;are available.&lt;br /&gt;&lt;br /&gt;PRINT Print a database object.&lt;br /&gt;&lt;br /&gt;RUN Execute a query or procedure stored in the database.&lt;br /&gt;&lt;br /&gt;SAVE Replace the object in the database with the object currently in&lt;br /&gt;temporary storage. For example, if you enter:&lt;br /&gt;&lt;br /&gt;SAVE QUERY AS&lt;br /&gt;&lt;br /&gt;next to a query on the database object list, QMF replaces that&lt;br /&gt;query in the database with the query currently in temporary&lt;br /&gt;storage.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Using a Placeholder on the List of Database Objects&lt;br /&gt;&lt;br /&gt;You can use a slash / as a placeholder to represent the object type, owner,&lt;br /&gt;and name in a QMF command.&lt;br /&gt;&lt;br /&gt;For example, entering the following in the Action area for a table object:&lt;br /&gt;&lt;br /&gt;EDIT / (MODE=ADD&lt;br /&gt;&lt;br /&gt;means the same as entering:&lt;br /&gt;&lt;br /&gt;EDIT TABLE owner.tablename (MODE=ADD&lt;br /&gt;&lt;br /&gt;where owner.tablename is the owner and name of the table listed.&lt;br /&gt;&lt;br /&gt;You can also use /T if you just want to specify the object type, or /N if&lt;br /&gt;you just want to specify the owner and name. The /T and /N placeholders&lt;br /&gt;are especially useful if you are issuing a command to run a user-written&lt;br /&gt;application that requires just the object type or just the object owner an&lt;br /&gt;name.&lt;br /&gt;&lt;br /&gt;If you are displaying a list from a remote location, the placeholder&lt;br /&gt;symbols (/ and /N) include the location with the owner and name.&lt;br /&gt;&lt;br /&gt;You can also display the prompt panel for a command with the object type&lt;br /&gt;and the object owner and name filled in. To do this, type the command&lt;br /&gt;followed by the / placeholder and a question mark.&lt;br /&gt;&lt;br /&gt;For example, to display the RUN Command Prompt panel for the DEPTQUERY&lt;br /&gt;object, enter "RUN / ?" in the Action area next to the object. The RUN&lt;br /&gt;QUERY Command Prompt panels display. The first panel already has the&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The placeholder options that you can enter are:&lt;br /&gt;&lt;br /&gt;- "/T" - to display object type&lt;br /&gt;- "/N" - to display owner.name&lt;br /&gt;- "/" - to display both object type and owner.name&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-1553936173568589742?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/1553936173568589742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=1553936173568589742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/1553936173568589742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/1553936173568589742'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2008/07/qmf-commands.html' title='qmf commands'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-6325782016702624744</id><published>2008-01-16T07:53:00.000-08:00</published><updated>2008-01-16T07:54:26.686-08:00</updated><title type='text'>npep NCP</title><content type='html'>PROCESS LOGIC NARRATIVE&lt;br /&gt;  &lt;br /&gt;Identify the NCPs participating in NPEP, whose Referral date is &gt; 04/01/2006 regardless of the Case status and Program type is ‘W’ or ‘L’. &lt;br /&gt;&lt;br /&gt;Read the Pram file for the dates and if it is empty&lt;br /&gt;get the Batch cycle date form the Table VBATCH_CYCLE_CTRL                      &lt;br /&gt;&lt;br /&gt;  EXEC SQL                                          &lt;br /&gt;      SELECT BATCH_CYCLE_DT                        &lt;br /&gt;       INTO :DCLVBATCH-CYCLE-CTRL.BATCH-CYCLE-DT    &lt;br /&gt;      FROM  VBATCH_CYCLE_CTRL                      &lt;br /&gt;   WITH UR                                          &lt;br /&gt;  END-EXEC                &lt;br /&gt;&lt;br /&gt; Get the Batch cycle date from VBATCH_CYCLE_CTRL Table and &lt;br /&gt; &lt;br /&gt;The Driver cursor..&lt;br /&gt;&lt;br /&gt;EXEC SQL                                                    &lt;br /&gt;        DECLARE  NPEP_CUR CURSOR WITH HOLD FOR              &lt;br /&gt;         SELECT  D.JURISD_CD                                &lt;br /&gt;                ,D.JURISD_NAM                               &lt;br /&gt;                ,A.CASE_NUM                                 &lt;br /&gt;                ,A.CASE_STATUS                              &lt;br /&gt;                ,A.AP_IRN                                   &lt;br /&gt;                ,COALESCE((RTRIM(C.CL_LAST_NAME) CONCAT ', '&lt;br /&gt;                 CONCAT RTRIM(C.CL_FIRST_NAME) CONCAT '  '  &lt;br /&gt;                 CONCAT RTRIM(C.CL_MIDDLE_NAME)),' ')       &lt;br /&gt;                 AS NCP_NAME                                &lt;br /&gt;                ,B.REFERRAL_DT                              &lt;br /&gt;                ,B.REFERRAL_TYPE_CD                         &lt;br /&gt;                ,B.REFERRED_COUNTY                          &lt;br /&gt;                ,B.PROGRAM_TYPE_CD                          &lt;br /&gt;                ,B.ENROLLMENT_DT                            &lt;br /&gt;                ,B.COMPLETION_DT                            &lt;br /&gt;                ,B.NOT_COMPLETED_IND         &lt;br /&gt;          FROM  VCASE A                     &lt;br /&gt;               ,VNPEP_REFERRAL B            &lt;br /&gt;               ,VCLIENT_ID C                &lt;br /&gt;               ,VJURISDICTION D             &lt;br /&gt;         WHERE  B.IRN &gt; :WS-CKPT-IRN               &lt;br /&gt;           AND  A.AP_IRN = B.IRN                   &lt;br /&gt;           AND  B.IRN = C.IRN                      &lt;br /&gt;           AND  B.REFERRAL_DATE &gt; '04-01-2006'     &lt;br /&gt;           AND  B.PROGRAM_TYPE_CD IN ('W','L')     &lt;br /&gt;           AND  D.JURISD_CD = B.REFERRED_COUNTY    &lt;br /&gt;        ORDER BY B.IRN                             &lt;br /&gt;         WITH UR                                   &lt;br /&gt;      END-EXEC.                                    &lt;br /&gt;    &lt;br /&gt; EXEC SQL                   &lt;br /&gt;      OPEN  NPEP_CUR   &lt;br /&gt; END-EXEC.                  &lt;br /&gt;&lt;br /&gt; EXEC SQL                                           &lt;br /&gt;     FETCH  NPEP_CUR                               &lt;br /&gt;      INTO  :DCLVJURISDICTION.JURISD-CD            &lt;br /&gt;           ,:DCLVJURISDICTION.JURISD-NAM           &lt;br /&gt;           ,:DCLVCASE.CASE-NUM                     &lt;br /&gt;           ,:DCLVCASE.CASE-STATUS                  &lt;br /&gt;           ,:DCLVCASE.AP-IRN                       &lt;br /&gt;           ,:WS-NCP-NAME                           &lt;br /&gt;           ,:DCLVNPEP-REFERRAL.REFERRAL-DT         &lt;br /&gt;           ,:DCLVNPEP-REFERRAL.REFERRAL-TYPE-CD    &lt;br /&gt;           ,:DCLVNPEP-REFERRAL.REFERRAL-COUNTY     &lt;br /&gt;           ,:DCLVNPEP-REFERRAL.PROGRAM-TYPE-CD     &lt;br /&gt;           ,:DCLVNPEP-REFERRAL.ENROLLMENT-DT       &lt;br /&gt;           ,:DCLVNPEP-REFERRAL.COMPLETION-DT       &lt;br /&gt;           ,:DCLVNPEP-REFERRAL.NOT-COMPLETED-IND   &lt;br /&gt; END-EXEC.                                          &lt;br /&gt;&lt;br /&gt;After successful Fetch&lt;br /&gt;&lt;br /&gt;Get the Total Payments made since NCP is Referred, exclude Payment source &lt;br /&gt;              F-Federal Tax Intercept, S-State Tax Intercept, or L-Lottery Intercept.&lt;br /&gt;&lt;br /&gt; EXEC SQL &lt;br /&gt;              SELECT SUM(PAYMENT)                                           &lt;br /&gt;          FROM                                                        &lt;br /&gt;         (                                                             &lt;br /&gt;          SELECT COALESCE(SUM(RCPT_AMT),0) AS PAYMENT              &lt;br /&gt;          FROM SIDPD008.VPAYMENT A   &lt;br /&gt;         WHERE A.IRN = :DCLVCASE.AP-IRN                   &lt;br /&gt;                            &lt;br /&gt;          AND A.PYMNT_SRC NOT IN ('F','S','L')                  &lt;br /&gt;          AND A.COLLECTION_DT &gt; '2006-04-01'                                             &lt;br /&gt;                                                         &lt;br /&gt;         UNION ALL                                           &lt;br /&gt;                                                         &lt;br /&gt;         SELECT COALESCE(SUM(                                &lt;br /&gt;                 CASE                                    &lt;br /&gt;                   WHEN TRANS_TYPE = 'RP'                &lt;br /&gt;                     THEN (0 - B.APPLIED_AMT)            &lt;br /&gt;                   ELSE APPLIED_AMT                      &lt;br /&gt;                 END                                     &lt;br /&gt;                ),0) AS PAYMENT                          &lt;br /&gt;         FROM SIDPD008.VPAYMENT_HISTORY A                  &lt;br /&gt;             ,SIDPD008.VDISTRIBUTION_HIST B                &lt;br /&gt;          WHERE A.RCPT_NUM = B.RCPT_NUM             &lt;br /&gt;          AND A.JURISD   = B.JURISD               &lt;br /&gt;          AND DBCR_CD IN ('20','30','60','70')    &lt;br /&gt;          AND A.PYMNT_SRC NOT IN ('F','S','L')    &lt;br /&gt;          AND A.COLLECTION_DT &gt; '2006-04-01'      &lt;br /&gt;          AND A.IRN = :DCLVCASE.AP-IRN                   &lt;br /&gt;   ) AS PAYTBL     &lt;br /&gt;&lt;br /&gt;        END-EXEC&lt;br /&gt;                           &lt;br /&gt;     Get the last Payment Source&lt;br /&gt;&lt;br /&gt;         EXEC SQL  &lt;br /&gt;SELECT PYMNT_SRC           &lt;br /&gt; FROM                                     &lt;br /&gt;(SELECT PYMNT_SRC,COLLECTION_DT          &lt;br /&gt; FROM SIDZ1008.VPAYMENT                  &lt;br /&gt; WHERE IRN = :DCLVCASE.AP-IRN                   &lt;br /&gt; AND PYMNT_SRC NOT IN ('F','S','L')      &lt;br /&gt; AND COLLECTION_DT &gt; '2006-11-01'  &lt;br /&gt;      &lt;br /&gt; UNION ALL              &lt;br /&gt;                 &lt;br /&gt; SELECT PYMNT_SRC,COLLECTION_DT          &lt;br /&gt; FROM SIDZ1008.VPAYMENT_HISTORY          &lt;br /&gt; WHERE IRN = :DCLVCASE.AP-IRN                   &lt;br /&gt; AND PYMNT_SRC NOT IN ('F','S','L')      &lt;br /&gt; AND COLLECTION_DT &gt; '2006-11-01' ) AS A &lt;br /&gt; ORDER BY COLLECTION_DT DESC             &lt;br /&gt; FETCH FIRST ROW ONLY      &lt;br /&gt;           END-EXEC                                        &lt;br /&gt; &lt;br /&gt;• MOVE all the variables to output file layout &lt;br /&gt;  &lt;br /&gt;    WRITE the Extract file.    &lt;br /&gt;&lt;br /&gt; After creating Extract file &lt;br /&gt;&lt;br /&gt;   EXEC SQL                      &lt;br /&gt;      CLOSE  NPEP_CUR     &lt;br /&gt;   END-EXEC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-6325782016702624744?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/6325782016702624744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=6325782016702624744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/6325782016702624744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/6325782016702624744'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2008/01/npep-ncp.html' title='npep NCP'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-8128876828924783782</id><published>2007-12-17T13:24:00.000-08:00</published><updated>2007-12-17T13:26:02.664-08:00</updated><title type='text'>read somewhere</title><content type='html'>DB2 join challenge&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;I have table A with 2 columns: PK [integer] and Txt [varchar(128)],&lt;br /&gt;size - 1000 rows. Also, I have table B with 100000 rows and 100 integer&lt;br /&gt;columns, each one is a foreign key to A's PK. I need to create a view&lt;br /&gt;in which every cell of B is replaced by the Txt from A according to the&lt;br /&gt;PKs as in the example below. I assume I need to perform a join, but the&lt;br /&gt;SQL I used writes a huge (several GB) temporary tablespace and thus it&lt;br /&gt;is very slow. Any suggestions?&lt;br /&gt;&lt;br /&gt;B:&lt;br /&gt;X Y Z ...&lt;br /&gt;----------------&lt;br /&gt;1 3 5&lt;br /&gt;3 2 1&lt;br /&gt;&lt;br /&gt;A:&lt;br /&gt;PK Txt&lt;br /&gt;-----------&lt;br /&gt;1 a&lt;br /&gt;2 b&lt;br /&gt;3 c&lt;br /&gt;5 d&lt;br /&gt;&lt;br /&gt;Resulting view:&lt;br /&gt;X Y Z ...&lt;br /&gt;----------------&lt;br /&gt;a c d&lt;br /&gt;c b a&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;DB2 Admin Tool - Great manager for DB2 SQL server. Get access now. Download trial!. ( www.sqlmanager.net )&lt;br /&gt;SQL Server Reporting Tool - Create SQL Reports fast! Simple Drag &amp;amp; Drop. Free Trial.. ( sql-reports.synaptris.com )&lt;br /&gt;Backup Solutions - Data Protection-Business Continuity Expert Backup and Recovery Services. ( www.DataTechBackups.com )&lt;br /&gt;Ads by Google&lt;br /&gt;Knut Stolze&lt;br /&gt;Guest&lt;br /&gt;n/a Posts December 20th, 2005&lt;br /&gt;03:25 PM&lt;br /&gt;#2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Re: DB2 join challenge&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;redeck wrote:&lt;br /&gt;[color=blue]&lt;br /&gt;&gt; I have table A with 2 columns: PK [integer] and Txt [varchar(128)],&lt;br /&gt;&gt; size - 1000 rows. Also, I have table B with 100000 rows and 100 integer&lt;br /&gt;&gt; columns, each one is a foreign key to A's PK. I need to create a view&lt;br /&gt;&gt; in which every cell of B is replaced by the Txt from A according to the&lt;br /&gt;&gt; PKs as in the example below. I assume I need to perform a join, but the&lt;br /&gt;&gt; SQL I used writes a huge (several GB) temporary tablespace and thus it&lt;br /&gt;&gt; is very slow. Any suggestions?&lt;br /&gt;&gt;&lt;br /&gt;&gt; B:&lt;br /&gt;&gt; X Y Z ...&lt;br /&gt;&gt; ----------------&lt;br /&gt;&gt; 1 3 5&lt;br /&gt;&gt; 3 2 1&lt;br /&gt;&gt;&lt;br /&gt;&gt; A:&lt;br /&gt;&gt; PK Txt&lt;br /&gt;&gt; -----------&lt;br /&gt;&gt; 1 a&lt;br /&gt;&gt; 2 b&lt;br /&gt;&gt; 3 c&lt;br /&gt;&gt; 5 d&lt;br /&gt;&gt;&lt;br /&gt;&gt; Resulting view:&lt;br /&gt;&gt; X Y Z ...&lt;br /&gt;&gt; ----------------&lt;br /&gt;&gt; a c d&lt;br /&gt;&gt; c b a[/color]&lt;br /&gt;&lt;br /&gt;Well, what have you tried already?&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;Knut Stolze&lt;br /&gt;DB2 Information Integration Development&lt;br /&gt;IBM Germany&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;redeck&lt;br /&gt;Guest&lt;br /&gt;n/a Posts December 21st, 2005&lt;br /&gt;07:15 AM&lt;br /&gt;#3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Re: DB2 join challenge&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;CREATE VIEW VIEW_1 AS SELECT T1.TXT X, T2.TXT Y, T3.TXT Z FROM B LEFT&lt;br /&gt;JOIN A AS T1 ON B.X = T1.PK LEFT JOIN A AS T2 ON B.Y = T2.PK LEFT JOIN&lt;br /&gt;A AS T3 ON B.Z = T3.PK&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Knut Stolze&lt;br /&gt;Guest&lt;br /&gt;n/a Posts December 21st, 2005&lt;br /&gt;08:05 AM&lt;br /&gt;#4&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Re: DB2 join challenge&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;redeck wrote:&lt;br /&gt;[color=blue]&lt;br /&gt;&gt; CREATE VIEW VIEW_1 AS SELECT T1.TXT X, T2.TXT Y, T3.TXT Z FROM B LEFT&lt;br /&gt;&gt; JOIN A AS T1 ON B.X = T1.PK LEFT JOIN A AS T2 ON B.Y = T2.PK LEFT JOIN&lt;br /&gt;&gt; A AS T3 ON B.Z = T3.PK[/color]&lt;br /&gt;&lt;br /&gt;Why are you using a left outer join here? If I got this right, you'll not&lt;br /&gt;have the case that there are any rows in table B that are not in A, right?&lt;br /&gt;So you should try the following first:&lt;br /&gt;&lt;br /&gt;SELECT t1.txt, t2.txt, t3.txt&lt;br /&gt;FROM b JOIN a AS t1 ON ( b.x = t1.pk )&lt;br /&gt;JOIN a AS t2 ON ( b.y = t2.pk )&lt;br /&gt;JOIN a AS t3 ON ( b.z = t3.pk )&lt;br /&gt;&lt;br /&gt;I would prefer the following way of writing query as it makes things more&lt;br /&gt;explicit. However, I would not be surprised if that gives exactly the same&lt;br /&gt;plan as the query above.&lt;br /&gt;&lt;br /&gt;SELECT ( SELECT txt FROM a WHERE a.pk = b.x ),&lt;br /&gt;( SELECT txt FROM a WHERE a.pk = b.y ),&lt;br /&gt;( SELECT txt FROM a WHERE a.pk = b.z ),&lt;br /&gt;FROM b&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If removing the outer join is not leading to the desired results, you should&lt;br /&gt;verify that you have the proper indexes defined on both tables. One index&lt;br /&gt;on A(PK) is needed anyways for the primary key. Three indexes on B(X),&lt;br /&gt;B(Y), and B(Z) might be helpful. Additionally you could try to use an&lt;br /&gt;index A(PK) and include the TXT column. That way, it might be possible to&lt;br /&gt;answer the query completely with index access only.&lt;br /&gt;&lt;br /&gt;--&lt;br /&gt;Knut Stolze&lt;br /&gt;DB2 Information Integration Development&lt;br /&gt;IBM Germany&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;mittalashish@gmail.com&lt;br /&gt;Guest&lt;br /&gt;n/a Posts December 21st, 2005&lt;br /&gt;11:25 AM&lt;br /&gt;#5&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Re: DB2 join challenge&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Assuming that the table B has a primary key column, something like this&lt;br /&gt;might work:&lt;br /&gt;&lt;br /&gt;select b.pk, max(x) x, max(y) y, max(z) z ....&lt;br /&gt;from (&lt;br /&gt;select b.pk, case when b.x=a.pk then a.txt end x,&lt;br /&gt;case when b.y=a.pk then a.txt end y,&lt;br /&gt;case when b.z=a.pk then a.txt end....&lt;br /&gt;from b,a where&lt;br /&gt;b.x=a.pk or b.y=a.pk or b.z=a.pk....) etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;redeck&lt;br /&gt;Guest&lt;br /&gt;n/a Posts December 22nd, 2005&lt;br /&gt;04:15 PM&lt;br /&gt;#6&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Re: DB2 join challenge&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Without the LEFT modifier I am getting the SQL0101N error: The&lt;br /&gt;statement is too long or too complex. This is very strange because I&lt;br /&gt;have STMTHEAP = 32768 x 4KB pages = 128 MB.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Brian Tkatch&lt;br /&gt;Guest&lt;br /&gt;n/a Posts December 22nd, 2005&lt;br /&gt;04:35 PM&lt;br /&gt;#7&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Re: DB2 join challenge&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;This is just a wild guess.&lt;br /&gt;&lt;br /&gt;Is it possible to split the query into smaller parts without LEFT, to&lt;br /&gt;avoid the to complex error, and then use another view to UNION ALL them&lt;br /&gt;together.&lt;br /&gt;&lt;br /&gt;B.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6622910510609540842-8128876828924783782?l=tsotips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tsotips.blogspot.com/feeds/8128876828924783782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6622910510609540842&amp;postID=8128876828924783782' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/8128876828924783782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6622910510609540842/posts/default/8128876828924783782'/><link rel='alternate' type='text/html' href='http://tsotips.blogspot.com/2007/12/read-somewhere.html' title='read somewhere'/><author><name>10crore</name><uri>http://www.blogger.com/profile/01197855115541500298</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6622910510609540842.post-7342245154280493587</id><published>2007-12-11T08:53:00.000-08:00</published><updated>2007-12-11T09:12:32.636-08:00</updated><title type='text'></title><content type='html'>AllFusion® Endevor® Change Manager&lt;br /&gt;SCL Reference Guide r7&lt;br /&gt;Chapter 1. What Is SCL? ............................. 1-1&lt;br /&gt;1.1Type Sequence Processing .......................... 1-3&lt;br /&gt;1.1.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3&lt;br /&gt;1.2ProcessFlow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6&lt;br /&gt;1.2.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-6&lt;br /&gt;1.2.2Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8&lt;br /&gt;1.2.3 Global Type Sequence Processing Order ............... 1-9&lt;br /&gt;1.3DocumentationOverview . . . . . . . . . . . . . . . . . . . . . . . . . . 1-12&lt;br /&gt;1.4NameMasking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13&lt;br /&gt;1.4.1Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13&lt;br /&gt;1.4.2MaskingImprovements . . . . . . . . . . . . . . . . . . . . . . . . 1-14&lt;br /&gt;1.5SyntaxConventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15&lt;br /&gt;1.5.1Sample Syntax Diagram ........................ 1-18&lt;br /&gt;1.5.2Syntax Diagram Explanation ..................... 1-18&lt;br /&gt;1.5.3General Coding Information ..................... 1-20&lt;br /&gt;1.5.3.1ValidCharacters . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20&lt;br /&gt;1.5.3.2 Incompatible Commands and Clauses ............. 1-21&lt;br /&gt;1.5.3.3Ending A Statement ........................ 1-21&lt;br /&gt;1.5.3.4&amp;amp;&amp;amp;ACTIONStatement . . . . . . . . . . . . . . . . . . . . . . 1-21&lt;br /&gt;1.5.3.5SCL Parsing Information ..................... 1-22&lt;br /&gt;1.5.3.6 SCL Continuation Syntax Rules ................. 1-22&lt;br /&gt;1.6 Syntax for Long File and Path Names .................. 1-23&lt;br /&gt;1.6.1HFSFile Syntax Rules .......................... 1-23&lt;br /&gt;1.6.2Path Name Syntax Rules ........................ 1-24&lt;br /&gt;1.6.3Element Name Syntax Rules ..................... 1-24&lt;br /&gt;Chapter 2. About the SCL Language ...................... 2-1&lt;br /&gt;2.1SCLStatements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2&lt;br /&gt;2.1.1SetStatements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2&lt;br /&gt;2.1.2ClearStatements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3&lt;br /&gt;2.1.3EOF (EOJ) Statement ........................... 2-3&lt;br /&gt;2.1.4Element Action Statements ....................... 2-3&lt;br /&gt;2.1.5 Environment Definition Statements .................. 2-4&lt;br /&gt;2.1.6Package Action Statements ....................... 2-4&lt;br /&gt;2.2Statements and Clauses ............................ 2-6&lt;br /&gt;2.2.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6&lt;br /&gt;2.2.2CodingOrder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6&lt;br /&gt;2.3Element Action Examples ........................... 2-7&lt;br /&gt;2.3.1Example1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7&lt;br /&gt;Contents iii&lt;br /&gt;2.3.2Example2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8&lt;br /&gt;2.3.3Example3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9&lt;br /&gt;2.3.4Example4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements .................. 3-1&lt;br /&gt;3.1SetStatements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2&lt;br /&gt;3.1.1Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2&lt;br /&gt;3.1.2 SetAction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3&lt;br /&gt;3.1.3Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3&lt;br /&gt;3.1.3.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3&lt;br /&gt;3.1.4SetBuild . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4&lt;br /&gt;3.1.5Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5&lt;br /&gt;3.1.5.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5&lt;br /&gt;3.1.6SetFrom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7&lt;br /&gt;3.1.7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8&lt;br /&gt;3.1.7.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8&lt;br /&gt;3.1.8SetOptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10&lt;br /&gt;3.1.9Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10&lt;br /&gt;3.1.9.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11&lt;br /&gt;3.1.9.2 Actions and the Set Options Statement ............ 3-13&lt;br /&gt;3.1.10SetSTOPRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15&lt;br /&gt;3.1.11Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16&lt;br /&gt;3.1.11.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16&lt;br /&gt;3.1.12SetTo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16&lt;br /&gt;3.1.13Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17&lt;br /&gt;3.1.13.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-17&lt;br /&gt;3.1.14SetWhere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19&lt;br /&gt;3.1.15Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20&lt;br /&gt;3.1.15.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21&lt;br /&gt;3.2ClearStatements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26&lt;br /&gt;3.2.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26&lt;br /&gt;3.2.2ClearBuild . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26&lt;br /&gt;3.2.3Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26&lt;br /&gt;3.2.3.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26&lt;br /&gt;3.2.4ClearTo/From . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27&lt;br /&gt;3.2.5Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27&lt;br /&gt;3.2.5.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27&lt;br /&gt;3.2.6ClearOptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28&lt;br /&gt;3.2.7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28&lt;br /&gt;3.2.7.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29&lt;br /&gt;3.2.8ClearWhere . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29&lt;br /&gt;3.2.9Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29&lt;br /&gt;3.2.9.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-29&lt;br /&gt;3.3EOF (EOJ) Statement ............................. 3-31&lt;br /&gt;3.3.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31&lt;br /&gt;3.3.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31&lt;br /&gt;3.3.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31&lt;br /&gt;Chapter 4. Element Action Statements ..................... 4-1&lt;br /&gt;4.1CodingConventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2&lt;br /&gt;4.2SCL Execution JCL ............................... 4-3&lt;br /&gt;iv SCL Reference Guide&lt;br /&gt;4.2.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3&lt;br /&gt;4.3The &amp;amp;&amp;amp;ACTION Statement .......................... 4-4&lt;br /&gt;4.3.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4&lt;br /&gt;4.3.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4&lt;br /&gt;4.3.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5&lt;br /&gt;4.3.3Example of &amp;amp;&amp;amp;ACTION SCL ...................... 4-6&lt;br /&gt;4.4The Add Statement .............................. 4-7&lt;br /&gt;4.4.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7&lt;br /&gt;4.4.2AddSyntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7&lt;br /&gt;4.4.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7&lt;br /&gt;4.4.3Example of Add SCL .......................... 4-11&lt;br /&gt;4.5The Archive Statement ........................... 4-12&lt;br /&gt;4.5.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12&lt;br /&gt;4.5.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13&lt;br /&gt;4.5.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13&lt;br /&gt;4.5.3Example of Archive SCL ........................ 4-17&lt;br /&gt;4.6The Copy Statement ............................. 4-18&lt;br /&gt;4.6.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18&lt;br /&gt;4.6.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-19&lt;br /&gt;4.6.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-20&lt;br /&gt;4.6.3Example of Copy Action SCL ..................... 4-23&lt;br /&gt;4.7The Delete Statement ............................ 4-24&lt;br /&gt;4.7.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24&lt;br /&gt;4.7.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24&lt;br /&gt;4.7.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-25&lt;br /&gt;4.7.3Example of Delete Action SCL .................... 4-27&lt;br /&gt;4.8The Generate Statement ........................... 4-28&lt;br /&gt;4.8.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28&lt;br /&gt;4.8.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28&lt;br /&gt;4.8.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-28&lt;br /&gt;4.8.3Example of Generate SCL ....................... 4-32&lt;br /&gt;4.9The List Statement .............................. 4-33&lt;br /&gt;4.9.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33&lt;br /&gt;4.9.2List from Endevor Statement ..................... 4-33&lt;br /&gt;4.9.3Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33&lt;br /&gt;4.9.3.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-35&lt;br /&gt;4.9.4List from Archive Data Set ...................... 4-43&lt;br /&gt;4.9.5Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-43&lt;br /&gt;4.9.5.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-44&lt;br /&gt;4.9.6 List Members (List from External Library) ............. 4-49&lt;br /&gt;4.9.7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49&lt;br /&gt;4.9.7.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49&lt;br /&gt;4.9.8Example of List SCL .......................... 4-53&lt;br /&gt;4.10The Move Statement ............................ 4-54&lt;br /&gt;4.10.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-54&lt;br /&gt;4.10.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-54&lt;br /&gt;4.10.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-55&lt;br /&gt;4.10.3Example of Move SCL ........................ 4-60&lt;br /&gt;4.11The Print Statement ............................. 4-61&lt;br /&gt;4.11.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61&lt;br /&gt;Contents v&lt;br /&gt;4.11.2Printing from Endevor ........................ 4-61&lt;br /&gt;4.11.3 Printing from an Output Library .................. 4-61&lt;br /&gt;4.11.4Print Element Statement ....................... 4-62&lt;br /&gt;4.11.5Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-62&lt;br /&gt;4.11.5.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-63&lt;br /&gt;4.11.6Print Member Statement ....................... 4-68&lt;br /&gt;4.11.7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-68&lt;br /&gt;4.11.7.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-68&lt;br /&gt;4.11.8Example of Print SCL ......................... 4-69&lt;br /&gt;4.12The Restore Statement ........................... 4-70&lt;br /&gt;4.12.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-70&lt;br /&gt;4.12.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-70&lt;br /&gt;4.12.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-71&lt;br /&gt;4.12.3Example of Restore SCL ....................... 4-75&lt;br /&gt;4.13The Retrieve Statement .......................... 4-76&lt;br /&gt;4.13.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-76&lt;br /&gt;4.13.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-76&lt;br /&gt;4.13.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-77&lt;br /&gt;4.13.3Example of Retrieve SCL ....................... 4-82&lt;br /&gt;4.14The Signin Statement ............................ 4-83&lt;br /&gt;4.14.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-83&lt;br /&gt;4.14.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-83&lt;br /&gt;4.14.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-84&lt;br /&gt;4.14.3Example of Signin SCL ........................ 4-86&lt;br /&gt;4.15The Transfer Statement .......................... 4-87&lt;br /&gt;4.15.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-87&lt;br /&gt;4.15.2 Transfer from Endevor to Endevor Statement .......... 4-87&lt;br /&gt;4.15.3Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-88&lt;br /&gt;4.15.3.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-89&lt;br /&gt;4.15.4 Transfer from Endevor to Archive Data Set Statement ..... 4-97&lt;br /&gt;4.15.5Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-97&lt;br /&gt;4.15.5.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-98&lt;br /&gt;4.15.6 Transfer from Archive Data Set or Unload Tape to Endevor Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-104&lt;br /&gt;4.15.7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-105&lt;br /&gt;4.15.7.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-106&lt;br /&gt;4.15.8Example of Transfer SCL ....................... 4-113&lt;br /&gt;4.16The Update Statement ........................... 4-114&lt;br /&gt;4.16.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-114&lt;br /&gt;4.16.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-114&lt;br /&gt;4.16.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-114&lt;br /&gt;4.16.3Example of Update SCL ....................... 4-118&lt;br /&gt;Chapter 5. Batch Package SCL .......................... 5-1&lt;br /&gt;5.1Batch Package Facility ............................. 5-2&lt;br /&gt;5.1.1 Summary of Batch Package Actions .................. 5-2&lt;br /&gt;5.1.2 Batch Package Actions and Wildcarding ............... 5-4&lt;br /&gt;5.2Batch Package Facility Execution ...................... 5-5&lt;br /&gt;5.2.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5&lt;br /&gt;5.2.2ExecutionJCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5&lt;br /&gt;5.2.3Validating Input SCL ........................... 5-7&lt;br /&gt;vi SCL Reference Guide&lt;br /&gt;5.2.4ReturnCodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7&lt;br /&gt;5.3ApprovePackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8&lt;br /&gt;5.3.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8&lt;br /&gt;5.3.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8&lt;br /&gt;5.3.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8&lt;br /&gt;5.3.3Example of Approve Package SCL ................... 5-9&lt;br /&gt;5.4ArchivePackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10&lt;br /&gt;5.4.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10&lt;br /&gt;5.4.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10&lt;br /&gt;5.4.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10&lt;br /&gt;5.4.3 Example of Archive Package SCL .................. 5-12&lt;br /&gt;5.5BackinPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13&lt;br /&gt;5.5.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13&lt;br /&gt;5.5.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13&lt;br /&gt;5.5.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13&lt;br /&gt;5.5.3Example of Backin Package SCL ................... 5-13&lt;br /&gt;5.6BackoutPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14&lt;br /&gt;5.6.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14&lt;br /&gt;5.6.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14&lt;br /&gt;5.6.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-14&lt;br /&gt;5.6.3 Example of Backout Package SCL .................. 5-14&lt;br /&gt;5.7CastPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15&lt;br /&gt;5.7.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15&lt;br /&gt;5.7.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15&lt;br /&gt;5.7.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-15&lt;br /&gt;5.7.3Example of Cast Package SCL .................... 5-16&lt;br /&gt;5.8CommitPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17&lt;br /&gt;5.8.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17&lt;br /&gt;5.8.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17&lt;br /&gt;5.8.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-17&lt;br /&gt;5.8.3 Example of Commit Package SCL .................. 5-18&lt;br /&gt;5.9DefinePackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19&lt;br /&gt;5.9.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19&lt;br /&gt;5.9.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19&lt;br /&gt;5.9.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20&lt;br /&gt;5.9.3Example of Define Package SCL ................... 5-22&lt;br /&gt;5.10DeletePackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23&lt;br /&gt;5.10.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23&lt;br /&gt;5.10.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23&lt;br /&gt;5.10.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23&lt;br /&gt;5.10.3 Example of Delete Package SCL .................. 5-24&lt;br /&gt;5.11DenyPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25&lt;br /&gt;5.11.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25&lt;br /&gt;5.11.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25&lt;br /&gt;5.11.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25&lt;br /&gt;5.11.3Example of Deny Package SCL ................... 5-25&lt;br /&gt;5.12ExecutePackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26&lt;br /&gt;5.12.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26&lt;br /&gt;5.12.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26&lt;br /&gt;5.12.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-26&lt;br /&gt;Contents vii&lt;br /&gt;5.12.3 Example of Execute Package SCL .................. 5-27&lt;br /&gt;5.13ExportPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28&lt;br /&gt;5.13.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28&lt;br /&gt;5.13.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28&lt;br /&gt;5.13.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-28&lt;br /&gt;5.13.3 Example of Export Package SCL .................. 5-29&lt;br /&gt;5.14InspectPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30&lt;br /&gt;5.14.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30&lt;br /&gt;5.14.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30&lt;br /&gt;5.14.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-30&lt;br /&gt;5.15ResetPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31&lt;br /&gt;5.15.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31&lt;br /&gt;5.15.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31&lt;br /&gt;5.15.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31&lt;br /&gt;5.15.3Example of Reset Package SCL ................... 5-31&lt;br /&gt;5.16SubmitPackage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-32&lt;br /&gt;5.16.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-32&lt;br /&gt;5.16.2Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-32&lt;br /&gt;5.16.2.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-32&lt;br /&gt;5.16.3 Example of Submit Package SCL .................. 5-35&lt;br /&gt;Chapter 6. Environment Definition SCL ................... 6-1&lt;br /&gt;6.1 Batch Environment Administration Facility ................ 6-2&lt;br /&gt;6.2 Batch Environment Administration Facility Execution .......... 6-3&lt;br /&gt;6.2.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3&lt;br /&gt;6.2.2ExecutionJCL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3&lt;br /&gt;6.2.3DD Statement Descriptions ....................... 6-4&lt;br /&gt;6.2.4Validating Input SCL ........................... 6-4&lt;br /&gt;6.2.5ReturnCodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5&lt;br /&gt;6.2.6ExecutionReports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-6&lt;br /&gt;6.3EditCommands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10&lt;br /&gt;6.3.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-10&lt;br /&gt;6.3.2Invoking Edit Commands ....................... 6-10&lt;br /&gt;6.3.3Edit Command Rules .......................... 6-11&lt;br /&gt;6.4The Build Statements ............................ 6-13&lt;br /&gt;6.4.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-13&lt;br /&gt;6.4.2Build SCL for Approver Group .................... 6-13&lt;br /&gt;6.4.3Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14&lt;br /&gt;6.4.3.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14&lt;br /&gt;6.4.4 Build SCL for Approver Relation .................. 6-16&lt;br /&gt;6.4.5Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16&lt;br /&gt;6.4.5.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16&lt;br /&gt;6.4.6Build SCL for Environment ...................... 6-18&lt;br /&gt;6.4.7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-18&lt;br /&gt;6.4.7.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-18&lt;br /&gt;6.4.8Build SCL for Processor Group .................... 6-20&lt;br /&gt;6.4.9Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-20&lt;br /&gt;6.4.9.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-20&lt;br /&gt;6.4.10 Build SCL for Processor Symbol .................. 6-22&lt;br /&gt;6.4.11Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-22&lt;br /&gt;6.4.11.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-22&lt;br /&gt;viii SCL Reference Guide&lt;br /&gt;6.4.12 Build SCL for Shipment Destination ................ 6-24&lt;br /&gt;6.4.13Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-24&lt;br /&gt;6.4.13.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-24&lt;br /&gt;6.4.14Build SCL for Subsystem ....................... 6-26&lt;br /&gt;6.4.15Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-26&lt;br /&gt;6.4.15.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-26&lt;br /&gt;6.4.16Build SCL for System ......................... 6-28&lt;br /&gt;6.4.17Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-28&lt;br /&gt;6.4.17.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-28&lt;br /&gt;6.4.18Build SCL for Type .......................... 6-30&lt;br /&gt;6.4.19Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-30&lt;br /&gt;6.4.19.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-30&lt;br /&gt;6.4.20Build SCL for Type Sequence .................... 6-32&lt;br /&gt;6.4.21Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-32&lt;br /&gt;6.4.21.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-32&lt;br /&gt;6.5The Define Statements ............................ 6-34&lt;br /&gt;6.5.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-34&lt;br /&gt;6.5.2Define Approver Group ........................ 6-35&lt;br /&gt;6.5.3Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35&lt;br /&gt;6.5.3.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-35&lt;br /&gt;6.5.4Define Approver Relation ....................... 6-37&lt;br /&gt;6.5.5Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-37&lt;br /&gt;6.5.5.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-37&lt;br /&gt;6.5.6Define Processor Group ........................ 6-39&lt;br /&gt;6.5.7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-39&lt;br /&gt;6.5.7.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-39&lt;br /&gt;6.5.8Define Processor Symbol ....................... 6-42&lt;br /&gt;6.5.9Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-42&lt;br /&gt;6.5.9.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-42&lt;br /&gt;6.5.10Define Shipment Destination .................... 6-44&lt;br /&gt;6.5.11Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-44&lt;br /&gt;6.5.11.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-44&lt;br /&gt;6.5.12Define Shipment Mapping Rule ................... 6-49&lt;br /&gt;6.5.13Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-49&lt;br /&gt;6.5.13.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-49&lt;br /&gt;6.5.14DefineSubsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-51&lt;br /&gt;6.5.15Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-51&lt;br /&gt;6.5.15.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-51&lt;br /&gt;6.5.16DefineSystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-53&lt;br /&gt;6.5.17Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-53&lt;br /&gt;6.5.17.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-53&lt;br /&gt;6.5.18DefineType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-57&lt;br /&gt;6.5.19Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-58&lt;br /&gt;6.5.19.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-59&lt;br /&gt;6.5.20Define Type Sequence ........................ 6-69&lt;br /&gt;6.5.21Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-69&lt;br /&gt;6.5.21.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-69&lt;br /&gt;6.6The Delete Statements ............................ 6-72&lt;br /&gt;6.6.1Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-72&lt;br /&gt;6.6.2Delete Approver Group ........................ 6-73&lt;br /&gt;Contents ix&lt;br /&gt;6.6.3Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-73&lt;br /&gt;6.6.3.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-73&lt;br /&gt;6.6.4Delete Approver Relation ....................... 6-75&lt;br /&gt;6.6.5Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-75&lt;br /&gt;6.6.5.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-75&lt;br /&gt;6.6.6Delete Processor Group ........................ 6-77&lt;br /&gt;6.6.7Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-77&lt;br /&gt;6.6.7.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-77&lt;br /&gt;6.6.8Delete Processor Symbol ........................ 6-78&lt;br /&gt;6.6.9Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-78&lt;br /&gt;6.6.9.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-78&lt;br /&gt;6.6.10Delete Shipment Destination ..................... 6-80&lt;br /&gt;6.6.11Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-80&lt;br /&gt;6.6.11.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-80&lt;br /&gt;6.6.12Delete Shipment Mapping Rule ................... 6-81&lt;br /&gt;6.6.13Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-81&lt;br /&gt;6.6.13.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-81&lt;br /&gt;6.6.14DeleteSubsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-82&lt;br /&gt;6.6.15Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-82&lt;br /&gt;6.6.15.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-82&lt;br /&gt;6.6.16DeleteSystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-83&lt;br /&gt;6.6.17Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-83&lt;br /&gt;6.6.17.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-83&lt;br /&gt;6.6.18DeleteType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-84&lt;br /&gt;6.6.19Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-84&lt;br /&gt;6.6.19.1SyntaxRules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-84&lt;br /&gt;Appendix A. SCL Reserved Words ...................... A-1&lt;br /&gt;A.1 A Rule for Working with Reserved Words ............... A-2&lt;br /&gt;A.2The SCL Reserved Words ......................... A-3&lt;br /&gt;x SCL Reference Guide&lt;br /&gt;Chapter 1. What Is SCL?&lt;br /&gt;SCL—Software Control Language—is a freeform language, with English-like statements, that allow you to manipulate elements, environment definitions, and packages within AllFusion. Endevor. Change Manager (Endevor). SCL is the language used for the non-interactive (batch) execution of Endevor. It is a flexible and powerful tool, saving you time in two ways:&lt;br /&gt;¦ Using SCL allows you to work with as many (or as few) actions as are required to complete a specific job at a particular time. ¦ Using SCL eliminates much of the screen navigation that is required to process large numbers of elements in an interactive mode. Because of its consistent nature, SCL is easy to learn and use. For example, you can establish global settings that can be used over and over. This provides a concise and consistent set of options or location information which can be applied to any number of actions, and you need code this information only once in each job stream. Conversely, you can override any preestablished settings by entering like information in a particular request.&lt;br /&gt;There are many features and benefits to using SCL. The following list emphasizes those aspects of SCL that both facilitate and enhance Endevor processing.&lt;br /&gt;¦ SCL allows you to set up a single list or multiple lists of element actions for further manipulation in Endevor. ¦ SCL allows you to manipulate elements or members singly, on a module-by-module level. SCL also allows you to manipulate several library members or module elements at a time. You can tailor your coding to meet your requirements at any time. ¦ SCL is extremely flexible. You can establish global settings for element action requests (using a SET statement), and override one or all of your selections on a local level; that is, within each individual element action request. In addition: – You can define the files you want to manipulate either within the language (for example, using a clause such as SET DSNAME...) or external to the language (for example, using a clause such as SET FILE...). Chapter 1. What Is SCL? 1-1&lt;br /&gt;– You can delay the specification of actions to be run at a particular time, by using the &amp;amp;&amp;amp;ACTION facility (see the description of &amp;amp;&amp;amp;ACTION in Chapter 4, "Element Action Statements"). This capability allows you to define a list of actions for future use and re-use, so you can code only what you need when you need it. ¦ SCL allows you to mix Endevor locations within the same execution. You can change environment, system, subsystem, or type at any time. ¦ SCL supports processing in type-sequence order, automatically sorting elements according to the specifications determined by the Endevor administrator in your organization. ¦ SCL supports list processing. List processing enables you to: – Generate a list, edit it as necessary, and break it up into multiple executions instead of keying individual statements. – Generate lists based on different selection criteria. – Perform configuration management through the use of a special WHERE COMPONENTS EQUAL option. – Support a single scan facility that will run against AllFusion. CA-Panvalet., AllFusion. CA-Librarian., a PDS, and Endevor, so you do not need to use separate utilities to scan source code. ¦ SCL serves as a problem-solving tool, by allowing you to quickly isolate system errors. For example, you can use the WHERE GENERATE FAILED option to generate a list of only those elements that were not successfully processed at a specific time. ¦ SCL supports vendor interfaces. You can execute SCL from a user-written program, which allows you to write user-defined front-ends for use with various proprietary or vendor-supplied programs. ¦ SCL enables you to integrate Endevor into existing change management/change administration job scheduling systems. ¦ SCL supports release scheduling (job management). For example, moving a group of elements from a test environment to a production environment any given day. 1-2 SCL Reference Guide&lt;br /&gt;1.1 Type Sequence Processing 1.1 Type Sequence Processing 1.1.1 Overview Element action SCL statements are processed in type sequence order. The type specified in the FROM or TO clause determines the sequence in which element action requests are processed.&lt;br /&gt;An element's type is indicated in the FROM clause or TO clause (or both). The exact type entry used to determine the processing sequence (that is, type as defined in the FROM clause or the TO clause) depends upon the element action requested.&lt;br /&gt;Action Determines Type Sequence from the . . . Add TO clause Archive FROM clause Delete FROM clause Generate FROM clause List FROM clause Move FROM clause Print FROM clause Retrieve FROM clause Signin FROM clause Transfer TO clause Update TO clause&lt;br /&gt;Chapter 1. What Is SCL? 1-3&lt;br /&gt;1.1 Type Sequence Processing When Global Type Sequencing IS NOT in Effect: Actions are put into the appropriate sequence and executed within each system. In the following example, actions have been requested for twsystems: System A and System B . Assume that the system administrator has established the following type processing sequences:&lt;br /&gt;¦ For System A: COPYBOOK, then COBOL ¦ For System B: MACRO, then ASSEMBLER Given the element type definitions shown for each action, processing would occur in the following sequence.&lt;br /&gt;1. SYSTEM A: ADD ELEMENTS...TYPE COPYBOOK 2. SYSTEM A: GENERATE ELEMENTS...TYPE COPYBOOK... 3. SYSTEM A: ADD ELEMENTS...TYPE COBOL... 4. SYSTEM B: RETRIEVE ELEMENTS...TYPE MACRO 5. SYSTEM B: ADD ELEMENTS...TYPE ASSEM... Note: The element type must have been previously defined by your administrator, and placed in the appropriate sequence using the Type Processing Sequence panel. For details, refer to the discussion about defining type sequence processing in the Administrator Guide.&lt;br /&gt;When Global Type Sequencing IS in Effect Actions are put into the appropriate type sequence and executed as defined by your administrator. For example, assume that the system administrator has established the following type sequence:&lt;br /&gt;1. COPYBOOK 2. MACRO 3. COBOL 4. ASSEMBLER 1-4 SCL Reference Guide&lt;br /&gt;1.1 Type Sequence Processing Given the element type sequencing definition, processing would occur in the following sequence.&lt;br /&gt;1. ADD ELEMENTS...TYPE COPYBOOK 2. GENERATE ELEMENTS...TYPE MACRO 3. RETRIEVE ELEMENTS...TYPE MACRO 4. ADD ELEMENTS...TYPE COBOL 5. ADD ELEMENTS...TYPE ASSEMBLER Chapter 1. What Is SCL? 1-5&lt;br /&gt;1.2 Process Flow 1.2 Process Flow 1.2.1 Overview When you submit your SCL requests, Endevor follows a specific processing flow to execute the actions.&lt;br /&gt;Note: If the option Global Type Sequencing is enabled at your site, the processing order is different. SCL element actions execute in type sequence order defined at the site level by the Endevor administrator, regardless of the action's inventory location. For details, see Global Type Sequence Processing Order.&lt;br /&gt;If Global Type Sequencing is not enabled at your site, the process flow is as follows:&lt;br /&gt;1. Endevor first parses, or validates, the SCL syntax, assigning a statement number to each SCL statement coded. A Syntax Report is produced, echoing the SCL statements entered and&lt;br /&gt;flagging any syntax errors.&lt;br /&gt;2. When all requests have been validated, Endevor checks for errors. If errors exist within the syntax, processing is terminated. If no errors exist, processing continues.&lt;br /&gt;3. Endevor checks whether any statements have been entered with an archive file designated as the FROM location. All such actions are performed first, as they are encountered. For example, assume you code both an ARCHIVE action and a RESTORE action. If you want Endevor to perform the RESTORE action before the ARCHIVE action, designate an archive file as the RESTORE action's FROM location. If you want to perform the ARCHIVE action before the RESTORE action, however, you need to execute SCL twice—first to perform the ARCHIVE action and then to perform the RESTORE action.&lt;br /&gt;For elements that are restored, transferred, copied, or listed from an archive file, processing occurs as follows:&lt;br /&gt;¦ The element(s) is restored (or transferred, copied, or listed), but it is not generated at this time. ¦ Endevor continues processing the remaining actions, as described in the following steps (beginning with Step 4, below). 1-6 SCL Reference Guide&lt;br /&gt;1.2 Process Flow 4. Endevor expands any name mask that may have been entered for system, subsystem, stage, and type. ¦ Beginning with the first SCL syntax request, Endevor checks for use of the name mask with the system name. If a name mask has not been used with the system name in the first SCL syntax request, Endevor checks for the name mask in the next syntax request. If no name mask is found and the system name is the same, Endevor checks the system name of the third syntax request. This procedure continues until a system name is found with a name mask or a new system name is encountered, or until all syntax requests have been searched.&lt;br /&gt;When one of the three situations mentioned above occurs, Endevor returns to the first syntax request and checks for a name mask with the type name.&lt;br /&gt;Again, if no name mask is found, the second syntax request is checked, and so on until a type name is found with a name mask or a new type name is encountered, or until all syntax requests have been checked. This procedure is repeated for stage and subsystem.&lt;br /&gt;Endevor examines each clause (SYSTEM and STAGE) in the syntax request until a non-match is found. Once a difference is encountered, Endevor executes the previous syntax requests—in type sequence order (see Step 5). Processing then continues accordingly with the next syntax request.&lt;br /&gt;¦ If a name mask has been used with the system name in the first syntax request, Endevor expands the entries. Then, within each system of the first syntax request, any remaining name masks are expanded (in the appropriate order). 5. Endevor sorts the types based on type sequence order. Processing involves syntax requests for stage within a particular system. Type processing sequence conventions still apply, however. If a name mask is not used with type, the syntax requests themselves are sorted in type sequence order.&lt;br /&gt;If a name mask is used with type, actions across all syntax requests are executed in type sequence order. So, depending on the elements indicated (see Step 6 below), it is not unusual to see an ADD from syntax #2, followed by a GENERATE from syntax #3, followed by an ADD from syntax #2. When all information has been generated for the first (set of matching) syntax request(s), Endevor executes the next (set of) syntax request(s).&lt;br /&gt;Chapter 1. What Is SCL? 1-7&lt;br /&gt;1.2 Process Flow 6. Once all types have been defined, Endevor checks the stage identifier involved within the first type. If a name mask has been used with the stage identifier, Endevor expands the entries. Still within the first type, and within the first stage identified, Endevor expands any subsystem name masks that have been coded.&lt;br /&gt;7. Endevor expands the element name mask if it exists (element is the element-name entered in the first [action] clause of the statement) and executes each action within the system, including those actions previously performed but not generated (because they were from an archive file). Remember: all SCL statements are executed in type sequence order. 8. Endevor assigns each action an action number. As all actions are processed, an Execution Report is produced. The Execution Report fully expands the action request, providing the complete system name, subsystem name, type, and stage for the element being processed. In addition, the report lists all options in effect for the action. Endevor also produces a Summary Report. This report provides one line of summary information for each action performed. 1.2.2 Example The example above displays a typical set of SCL requests. The type processing sequence has been determined as COPYBOOK, COBOL, MACRO. Processing takes place as follows:&lt;br /&gt;1. Endevor first checks the system specification. No name mask is found, but the system in request #4 —PERSONEL—differs from the system in the first three requests—FINANCE. 1-8 SCL Reference Guide&lt;br /&gt;1.2 Process Flow 2. Endevor returns to the first request to check the type specification. Remember: All actions within a particular system are executed at the same time. When a different system name or use of the name mask is encountered, Endevor returns to the first request in the "initial" system and continues processing from that point.&lt;br /&gt;3. The type is different for all three requests in system FINANCE. Because type sequence processing conventions apply, the requests are executed in the following order: Statement #3 Statement #2 Statement #1&lt;br /&gt;Before the requests are executed, Endevor checks whether name masks have been used with stage. The field is the same for all three requests. Therefore, the actions are executed in the appropriate order.&lt;br /&gt;4. Endevor returns to request #4 and checks the system specification in the remaining requests. Both request #4 and request #5 contain the same system—PERSONEL. Request #6, however, contains a different system. 5. Endevor returns to request #4 and checks the type specification. Again, the types are different, and the requests are executed in type sequence order: Statement #4&lt;br /&gt;Statement #5&lt;br /&gt;Endevor checks the stage and subsystem specifications for a name mask; none is found. Consequently, Endevor continues processing by executing the requests in the order shown above.&lt;br /&gt;6. Request #6 is the last request, and contains a name mask in the system specification. Endevor processes this request by expanding all name masks encountered in the system, type, stage, and subsystem names and, finally, executing the actions. 1.2.3 Global Type Sequence Processing Order When the Global Type Sequencing option is enabled, SCL and API element actions are executed in type sequence order defined at the site level in the Type Sequence member.&lt;br /&gt;Any types that are not included in the Type Sequence member are processed after all the types in the Type Sequence member have completed processing.&lt;br /&gt;Chapter 1. What Is SCL? 1-9&lt;br /&gt;1.2 Process Flow All actions are processed in the following order:&lt;br /&gt;1. All actions that have Archive file as the source location. These are executed first, in the element order found on the archive file. These actions are: Copy, List from Archive, Restore, Transfer from Archive. The execution of these elements is based on the element's placement within the archive file. The order of their execution is not affected by the Global Type Sequence option. 2. Non-Endevor actions. These include List Member, Print Member, and List ACMQ, which are executed next, in their API/SCL action order. A List ACMQ request is really a list element request with the following attributes and restrictions:&lt;br /&gt;¦ the through element name cannot be used ¦ the CCID, date, or processor where clauses cannot be used ¦ restricted to ACM input or related input component clauses ¦ the through component name option cannot be used ¦ build with components and build level none must be specified 3. All other Endevor actions. These are executed in type sequence order followed by the statement SCL order. The order of the type records in the site's defined Type Sequence member determines the type sequence processing order. The following table lists the actions with the Endevor inventory side of each action where inventory expansion and type sequencing is done. Actions Add/Update Generate Endevor inventory where inventory expansion and type sequencing occurs Target Source Retrieve Source Delete Source Move Source Archive Source Transfer to Archive Source Transfer C1-C1 Signin Print C1 Target Source Source List C1 Source&lt;br /&gt;1-10 SCL Reference Guide&lt;br /&gt;1.2 Process Flow The following special conditions apply:&lt;br /&gt;¦ When inventory errors are found during the API/SCL expansion phase, these actions are reported as they occur. They always appear before any dispatched Endevor action. ¦ When a not found condition occurs for an element or member name, they will be reported last, after all other actions have been processed. Chapter 1. What Is SCL? 1-11&lt;br /&gt;1.3 Documentation Overview 1.3 Documentation Overview This manual is part of a comprehensive documentation set that fully describes the features and functions of Endevor and explains how to perform everyday tasks. For a complete list of Endevor manuals, see the PDF Table of Contents file in the PDF directory, or the Bookmanager Bookshelf file in the Books directory.&lt;br /&gt;The following sections describe documentation and product conventions.&lt;br /&gt;1-12 SCL Reference Guide&lt;br /&gt;1.4 Name Masking 1.4 Name Masking A name mask allows you to specify all names, or all names beginning with a particular string, to be considered when performing an action.&lt;br /&gt;Name masks are valid on:&lt;br /&gt;¦ Element names ¦ System, subsystem, and type names within FROM clauses. ¦ RESTRICT and REMOVE RESTRICTION clauses of the DEFINE CCID and DEFINE SECURITY CLASS statements ¦ Report syntax ¦ ISPF panels ¦ API requests ¦ Package IDs Name masks are not valid on:&lt;br /&gt;¦ Environment names, except in the FROM ENVIRONMENT field of the WHERE COMPONENTS EQUAL clause. Refer to the description of the LIST action in Chapter 4, “Element Action Statements” for additional information. ¦ Element names in the following situations: – When entering a LEVel in a statement – When using the MEMber clause with a particular action – When building a package 1.4.1 Usage There are three ways to mask names: by using the wildcard character (*), by using the placeholder character (%), and by using both together.&lt;br /&gt;The wildcard (*) can be used in one of two ways to specify external file names:&lt;br /&gt;¦ When coded as the only character of a search string, Endevor returns all members of the search field. For example, if you coded the statement ADD ELEMENT *, all elements would be added. ¦ When coded as the last character of a search string, Endevor returns all members of the search field beginning with the characters in the search string preceding the wildcard. For example: – The statement ADD ELEMENT UPD* would add all elements beginning with "UPD", such as UPDATED or UPDATE. – PKG* would return all package IDs beginning with PKG. Chapter 1. What Is SCL? 1-13&lt;br /&gt;1.4 Name Masking Note: You cannot use more than one wildcard in a string. The statement ADD ELEMENT U*PD* would result in an error.&lt;br /&gt;The placeholder (%), which represents any one character in a string, can also be used in one of two ways:&lt;br /&gt;¦ When coded as the last character in a string, Endevor returns all members of the search field, beginning with the characters in the search string preceding the placeholder, but which have no more characters than were coded in the search string. – If you coded the statement ADD ELEMENT UPD%, only those elements with four-character-long names beginning with "UPD" (UPD1 or UPDA, for example) would be added. – PKG% returns PKGS, PKGB, PKGC, and so on. ¦ It is also possible to use the placeholder multiple times in a single search string. The statement ADD ELEMENT U%PD% would return all elements with five-character-long names that have U as the first character, and PD third and fourth. The wildcard and the placeholder can be used together, provided that the wildcard appears only at the end of the search string and is used only once. For example:&lt;br /&gt;¦ The statement ADD ELEMENT U%D*, which uses both the wildcard and the placeholder, would add elements with names of any length that have U as the first character, any one character as the second character, and D as the third character. ¦ P%G* returns PKGABCD, POGS, PIGGY, PPG1234NDVR, and so on. 1.4.2 Masking Improvements Endevor's name masking capabilities support the use of both the asterisk (*) as a wildcard character and the percent sign (%) as a placeholder character. You can use the name masks on ISPF panels, in SCL, report syntax, and API requests.&lt;br /&gt;Use the asterisk to specify all names, or all names beginning with a particular character string. Enter the asterisk as the last or only character in any of the eligible fields, including element name, system name, subsystem name, type name, and stage. Multiple asterisks are not allowed.&lt;br /&gt;Use the percent sign as a substitute for a single character in a name. For example, if you typed COPY% as the element name, Endevor would locate all elements with 5-character names beginning with COPY. You can use multiple instances of the % character. You can also use the % and * characters together.&lt;br /&gt;Refer to the appropriate Endevor document for more specific information on using name masks and wildcards in SCL, reports, ISPF panels, and API calls.&lt;br /&gt;1-14 SCL Reference Guide&lt;br /&gt;1.5 Syntax Conventions 1.5 Syntax Conventions Endevor uses the IBM standard for representing syntax. The following table explains the syntax conventions:&lt;br /&gt;Syntax Explanation ---------------------------------- Represents the beginning of a syntax statement. ---------------------------------- Represents the end of a syntax statement. ----------------------------------- Represents the continuation of a syntax statement to the following line. ----------------------------------- Represents the continuation of a syntax statement from the preceding line. --KEYword----------------------- Represents a required keyword. Only the uppercase letters are necessary. --variable---------------------- Represents a required user-defined variable. - ------------- ------------------ +-KEYword-+ Represents an optional keyword. Optional keywords appear below the syntax line. If coded, only the uppercase letters are necessary. - -------------- ----------------- + +-variable- Represents an optional user-defined variable. Optional variables appear below the syntax line.&lt;br /&gt;Represents a choice of required,&lt;br /&gt;----KEYword ONE----------------- +-KEYword TWO---¦mutually exclusive keywords. You +-KEYword THRee-+ must choose one and only one keyword.&lt;br /&gt;Represents a choice of required,&lt;br /&gt;----variable one---------------- -variable two---¦ mutually exclusive, user-defined +-variable three-+ variables. You must choose one and only one variable.&lt;br /&gt;Represents a choice of optional,&lt;br /&gt;-------------------------------- +-KEYword ONE---¦mutually exclusive keywords.&lt;br /&gt;+-KEYword TWO---¦Optional keywords appear below+-KEYword THRee-+&lt;br /&gt;the syntax line.&lt;br /&gt;Chapter 1. What Is SCL? 1-15&lt;br /&gt;1.5 Syntax Conventions Syntax Explanation&lt;br /&gt;Represents a choice of optional,&lt;br /&gt;-------------------------------- -variable one---¦ mutually exclusive, user-defined&lt;br /&gt;+-variable two---¦ variables. Optional variables&lt;br /&gt;+-variable three-+&lt;br /&gt;appear below the syntax line.&lt;br /&gt;Represents a choice of optional&lt;br /&gt;--¤---------------------¤------- +-KEYword ONE---¦keywords. The stars (¤) indicate&lt;br /&gt;+-KEYword TWO---¦that the keywords are not+-KEYword THRee-+&lt;br /&gt;mutually exclusive. Code no keyword more than once.&lt;br /&gt;Represents a choice of optional&lt;br /&gt;--¤----------------------¤------ +-variable one---¦ user-defined variables. The stars&lt;br /&gt;+-variable two---¦ (¤) indicate that the variables are+-variable three-+&lt;br /&gt;not mutually exclusive. Code no variable more than once.&lt;br /&gt;Represents a choice of required,&lt;br /&gt;+-KEYword ONE---+ --+-KEYword TWO---+-------------mutually exclusive keywords, one +-KEYword THRee-+ of which is the default. In this example, KEYword ONE is the default keyword because it appears above the syntax line.&lt;br /&gt;Represents a choice of required,&lt;br /&gt;+-variable one---+ --+-variable two---+------------mutually exclusive, user-defined +-variable three-+ variables, one of which is the default. In this example, variable one is the default variable because it appears above the syntax line.&lt;br /&gt;Represents a choice of optional,&lt;br /&gt;+-KEYword ONE---+&lt;br /&gt;--+---------------+-------------mutually exclusive keywords, one +-KEYword TWO---¦of which is the default. In this +-KEYword THRee-+&lt;br /&gt;example, KEYword ONE is the default keyword because it appears above the syntax line.&lt;br /&gt;Represents a choice of optional,&lt;br /&gt;+-variable one---+&lt;br /&gt;--+----------------+------------mutually exclusive, user-defined +-variable two---¦ variables, one of which is the +-variable three-+&lt;br /&gt;default. In this example, variable one is the default variable because it appears above the syntax line.&lt;br /&gt;Represents a required variable that&lt;br /&gt;+-,--------+ --(----variable----)------------ can be repeated. Separate each occurrence with a comma and enclose any and all variables in a single set of parenthesis.&lt;br /&gt;1-16 SCL Reference Guide&lt;br /&gt;1.5 Syntax Conventions Syntax Explanation&lt;br /&gt;Represents an optional variable&lt;br /&gt;-------------------------------- +-,--------+¦ that can be repeated. Separate&lt;br /&gt;+-(----variable----)-+each occurrence with a comma and enclose any and all variables in a single set of parenthesis.&lt;br /&gt;Represents a variable which must&lt;br /&gt;--(variable)--------------------&lt;br /&gt;be enclosed by parenthesis.&lt;br /&gt;Represents a variable which must&lt;br /&gt;--'variable'--------------------&lt;br /&gt;be enclosed by single quotes.&lt;br /&gt;Represents a variable which must&lt;br /&gt;--"variable"--------------------&lt;br /&gt;be enclosed by double quotes.&lt;br /&gt;Represents a reference to a syntax&lt;br /&gt;--¦ FRAGMENT REFERENCE +--------&lt;br /&gt;fragment. Fragments are listed on the lines immediately following the required period at the end of each syntax statement.&lt;br /&gt;Represents a syntax fragment.&lt;br /&gt;FRAGMENT:&lt;br /&gt;+--KEYword--variable---------------¦&lt;br /&gt;------------------------.-------- Represents the period required at the end of all syntax statements.&lt;br /&gt;Chapter 1. What Is SCL? 1-17&lt;br /&gt;1.5 Syntax Conventions 1.5.1 Sample Syntax Diagram --ARChive ELEment--element-name-------------------------------------- +---THRough----element-name-+ +-THRu----+&lt;br /&gt;--FROm- -ENVironment--env-name--SYStem--sys-name-----------------------&lt;br /&gt;- -SUBsystem--subsys-name--TYPe--type-name-----------------------------&lt;br /&gt;----STAge--stage-id-----------TO----FILe------dd-name----------------- -STAge NUMber--stage-no-++-DDName-+&lt;br /&gt;----------------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;-----------------------------------------------.---------------------&lt;br /&gt;-OPTion--¤-----------------------------¤-+ +-CCId--ccid------------¦ +-COMment--comment------¦ +-OVErride SIGNOut------¦ +-BYPass ELEment DELete-+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)---------------¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)-----------------------¦ +-=--+&lt;br /&gt;1.5.2 Syntax Diagram Explanation Syntax Explanation ARChive ELEment The keyword ARChive ELEment appears on the element-name main line, indicating that it is required. The variable element-name, also on the main line, must be coded. THRough / THRu The keywords THRough and THRu appear below element-name the main line, indicating that they are optional. They are also mutually exclusive. FROm ENVironment ... Each keyword and variable in this segment appear TYPe type-name on the main line, indicating that they are required. STAge stage-id / STAge The keywords STAge and STAge NUMber appear NUMber stage-no on and below the main line, indicating that they are required, mutually exclusive keywords.&lt;br /&gt;1-18 SCL Reference Guide&lt;br /&gt;1.5 Syntax Conventions Syntax Explanation&lt;br /&gt;TO ... dd-name The keyword TO appears on the main line, indicating that it is required. The keywords FILe and DDName appear on and below the main line, indicating that they are required, mutually exclusive keywords. The variable dd-name also appears on the main line, indicating that it is required.&lt;br /&gt;WHEre clause This clause appears below the main line, indicating that it is optional. The keyword WHEre appears on the main line of the clause, indicating that it is required. CCID and PRO are syntax fragments that appear below the main line, indicating that they are optional. The stars (¤) indicate that they are not mutually exclusive. For details on the CCID and PRO fragments, see the bottom of this table.&lt;br /&gt;OPTion clause This clause appears below the main line, indicating that it is optional. The keyword OPTion appears on the main line of the clause, indicating that it is required. The keywords CCId, COMment, OVErride SIGNOut, and BYPass ELEment DELete all appear below the main line, indicating that they are optional. The stars (¤) indicate that they are not mutually exclusive.&lt;br /&gt;CCID fragment The keyword CCId appears on the main line, indicating that it is required. The OF clause appears below the main line, indicating that it is optional. If you code this clause, you must code the keyword OF, as it appears on the main line of the clause. CURrent, ALL, and RETrieve appear above, on, and below the main line of the clause, indicating that they are required, mutually exclusive keywords. CURrent appears above the main line, indicating that it is the default. If you code the keyword OF, you must choose one and only one of the keywords.&lt;br /&gt;The keywords EQual and = appear above and below the main line, indicating that they are optional, mutually exclusive keywords. EQual appears above the main line, indicating that it is the default. You can include only one. The variable ccid appears on the main line, indicating that it is required. The arrow indicates that you can repeat this variable, separating each instance with a comma. Enclose any and all variables in a single set of parenthesis.&lt;br /&gt;Chapter 1. What Is SCL? 1-19&lt;br /&gt;1.5 Syntax Conventions Syntax Explanation&lt;br /&gt;PRO fragment The keyword PROcessor GROup appears on the main line, indicating that it is required. The keywords EQual and = appear on and below the main line, indicating that they are required, mutually exclusive keywords. You must include one. The variable group name appears on the main line, indicating that it is required. The arrow indicates that you can repeat this variable, separating each instance with a comma. Enclose any and all variables in a single set of parenthesis.&lt;br /&gt;1.5.3 General Coding Information In coding syntax, you must adhere to certain rules and guidelines regarding valid characters, incompatible commands and clauses, and ending statements. In addition, knowing how the SCL parser processes syntax will help you resolve errors and undesired results. The following sections outline these rules and guidelines.&lt;br /&gt;1.5.3.1 Valid Characters The following characters are allowed when coding syntax:&lt;br /&gt;¦ Uppercase letters ¦ Lowercase letters ¦ Numbers ¦ National characters ¦ Hyphen (-) ¦ Underscore (_) The following characters are allowed when coding syntax, but must be enclosed in either single (') or double (") quotation marks:&lt;br /&gt;¦ Space ¦ Tab ¦ New line ¦ Carriage return ¦ Comma (,) ¦ Period (.) ¦ Equal sign (=) ¦ Greater than sign (&gt;) 1-20 SCL Reference Guide&lt;br /&gt;1.5 Syntax Conventions ¦ Less then sign (&lt;) ¦ Parenthesis ( ) ¦ Single quotation marks ¦ Double quotation marks A string containing single quotation marks must be enclosed in double quotation marks. A string containing double quotation marks must be enclosed in single quotation marks.&lt;br /&gt;To remove information from an existing field in the database, enclose a blank space in single or double quotation marks. For example, the following statement removes the default CCID for user TCS:&lt;br /&gt;DEFINE USER TCS DEFAULT CCID " ".&lt;br /&gt;Note: The characters "*" and "%" are reserved for name masking. See the section “Name Masking” earlier in this chapter for more information.&lt;br /&gt;1.5.3.2 Incompatible Commands and Clauses The following commands and clauses are mutually exclusive:&lt;br /&gt;¦ THRough and MEMber clauses within any action except LIST ¦ Endevor location information (environment, system, subsystem, type, and stage) and data set names (DSName) ¦ File names (DDName) and data set names (DSName) ¦ The stage id (STAge / STAge ID) and the stage number (STAge NUMber) ¦ The SET TO Endevor location information and the SET TO MEMber clause 1.5.3.3 Ending A Statement You must enter a period at the end of each statement. If no period is found, you receive an error message and the job terminates.&lt;br /&gt;1.5.3.4 &amp;amp;&amp;amp;ACTION Statement If you use the &amp;amp;&amp;amp;ACTION statement, you must have previously coded a SET ACTION statement. Refer to the descriptions of SET ACTION in the Set Action section of Chapter 3, “Set, Clear, and EOF Statements”, and the description of &amp;amp;&amp;amp;ACTION in the &amp;amp;&amp;amp;ACTION Statement section of Chapter 4, “Element Action Statements”, for complete coding information.&lt;br /&gt;Chapter 1. What Is SCL? 1-21&lt;br /&gt;1.5 Syntax Conventions 1.5.3.5 SCL Parsing Information ¦ The SCL parser does not look for information in columns 73-80 of the input. Therefore, be sure that all relevant information is coded in columns 1-72. ¦ The SCL parser does not catch duplicate clauses coded for an SCL request. If you code the same clause twice, SCL uses the Boolean "AND" to combine the clauses. If the result is invalid, you receive an error message. ¦ If you enter an asterisk (*) in column 1, the remainder of the line is considered a comment by the SCL parser and is ignored during processing. ¦ Any value found to the right of the period terminating the SCL statement is considered a comment by the SCL parser and is ignored during processing. 1.5.3.6 SCL Continuation Syntax Rules SCL keyword parameters cannot span multiple lines; however, the parameter values can span multiple lines. All SCL parameter values that span multiple lines must be enclosed in single or double quotes. The syntax required to span a parameter value must start with a single or double quote at the beginning of the specification and a trailing single or double quote at the end of the value. Spaces at the beginning or end of the spanned lines, must be surrounded by non-blank characters in order to be included in the text string. Example:&lt;br /&gt;ADD ELEMENT 'Spanned ElementName' CCID 'CC ID1'&lt;br /&gt;This would result in an element value of "SpannedElementName" and a CCID value of "CCID001".&lt;br /&gt;1-22 SCL Reference Guide&lt;br /&gt;1.6 Syntax for Long File and Path Names 1.6 Syntax for Long File and Path Names The following considerations apply to the Path clause for ADD, UPDATE, COPY and RETRIEVE statements:&lt;br /&gt;¦ The PATH clause is mutually exclusive with the FILE or Data Set clauses. ¦ The HFSFile clause is mutually exclusive with a Member clause. ¦ The PATH name must begin with a “/” and be terminated with a “/” and cannot be followed by the file name. ¦ The HFS file name can be up to 255 bytes in length. ¦ The PATH name can be up to 768 bytes in length. 1.6.1 HFSFile Syntax Rules A filename can be up to 255 characters long. To be portable, the filename should use only the characters in the POSIX portable filename character set:&lt;br /&gt;¦ Uppercase or lowercase A to Z ¦ Numbers 0 to 9 ¦ Period (.) ¦ Underscore (_) ¦ Hyphen (-) Do not include any nulls or slash characters in a filename.&lt;br /&gt;Doublebyte characters are not supported in a filename and are treated as singlebyte data. Using doublebyte characters in a filename may cause problems. For instance, if you use a doublebyte character in which one of the bytes is a . (dot) or / (slash), the file system treats this as a special delimiter in the pathname.&lt;br /&gt;The shells are case-sensitive, and distinguish characters as either uppercase or lowercase. Therefore, FILE1 is not the same as file1.&lt;br /&gt;A filename can include a suffix, or extension, that indicates its file type. An extension consists of a period (.) and several characters. For example, files that are C code could have the extension .c, as in the filename dbmod3.c. Having groups of files with identical suffixes makes it easier to run commands against many files at once.&lt;br /&gt;Chapter 1. What Is SCL? 1-23&lt;br /&gt;1.6 Syntax for Long File and Path Names 1.6.2 Path Name Syntax Rules The path name value can be up to 768 characters long. It can contain only the following characters:&lt;br /&gt;¦ Uppercase letters ¦ Lowercase letters ¦ Numbers ¦ National characters ¦ Slash (/) ¦ Plus (+) ¦ Hyphen (-) ¦ Period (.) 1.6.3 Element Name Syntax Rules The Element name can be up to 255 characters long. It can contain only the following characters:&lt;br /&gt;¦ Uppercase letters ¦ Lowercase letters ¦ Numbers ¦ National characters ¦ Period (.) ¦ Hyphen (-) ¦ Underscore(_) Element names name include a percent sign (%) in any column as a placeholder character in most SCL. The final one or more characters may be replaced in SCL and some panels with an asterisk (*) as a wild character for selection purposes.&lt;br /&gt;1-24 SCL Reference Guide&lt;br /&gt;Chapter 2. About the SCL Language&lt;br /&gt;The SCL language consists of SCL statements written in an easy-to-follow format. The format must always include an action, an element, and one or more required clauses. Optional clauses can be added to the request to provide Endevor with additional information about the selected elements. This chapter discusses general coding information as well as coding conventions unique to Endevor (and SCL).&lt;br /&gt;Chapter 2. About the SCL Language 2-1&lt;br /&gt;2.1 SCL Statements 2.1 SCL Statements There are several types of SCL statements:&lt;br /&gt;¦ Set statements ¦ Clear statements ¦ EOF (EOJ) statement ¦ Element action statements (also referred to as action statements) ¦ Environment definition statements ¦ Package action statements A brief overview of each type of statement follows. Note: SET and CLEAR statements apply only to element action statements.&lt;br /&gt;2.1.1 Set Statements SET statements are global default statements that establish values for subsequent element action statements. A SET statement establishes applicable keyword values (for example, FROM and TO) for specific items that may be omitted from selected action statements. If a certain parameter is used (or required) but not coded in a particular action statement, Endevor looks for that information in a corresponding SET statement.&lt;br /&gt;SET statements also allow consistency across several actions. If you want to use a particular option (such as CCID or comments) for several actions or perform actions against those elements in a specific location (TO or FROM), code the appropriate SET statement. The data you enter is applied to every subsequent action. SET statements are in effect until another SET statement or a CLEAR statement is encountered, or processing ends.&lt;br /&gt;You can define the following SET statements:&lt;br /&gt;¦ SET ACTION ¦ SET BUILD ¦ SET FROM ¦ SET OPTIONS ¦ SET STOPRC ¦ SET TO ¦ SET WHERE 2-2 SCL Reference Guide&lt;br /&gt;2.1 SCL Statements 2.1.2 Clear Statements A CLEAR statements clear the information designated by a related SET statement. When you are working with a series of element actions and need to remove information established in a SET statement, code a parallel CLEAR statement. The CLEAR statement remains in effect until you enter another related SET statement or until processing ends.&lt;br /&gt;CLEAR statements only apply to SET statements. Similar information entered in an element action statement is not affected by a CLEAR statement.&lt;br /&gt;You can use the following CLEAR statements:&lt;br /&gt;¦ CLEAR BUILD ¦ CLEAR FROM ¦ CLEAR OPTIONS ¦ CLEAR TO ¦ CLEAR WHERE 2.1.3 EOF (EOJ) Statement The EOF or EOJ (End of File or End of Job) statement instructs Endevor to stop parsing the SCL syntax at a particular point. Using this statement eliminates the need to manually delete any statements you do not want Endevor to perform.&lt;br /&gt;You can enter either EOF or EOJ. Use the value to which you are most accustomed.&lt;br /&gt;2.1.4 Element Action Statements Element action statements operate against an element or a group of elements. The element actions consist of the following:&lt;br /&gt;¦ ADD—Puts a member under Endevor control from an external data set. ¦ ARCHIVE—Writes the current version of an element to a sequential file (or archive data set). ¦ COPY—Copies an element from an archive data set to a data set external to Endevor. ¦ DELETE—Erases base and delta forms of an element and removes related information from a master control file or component list. ¦ GENERATE—Creates an executable form of an element. ¦ LIST—Creates a list of elements or members that meet specific selection criteria. ¦ MOVE—Moves elements between stages, within or across environments. Chapter 2. About the SCL Language 2-3&lt;br /&gt;2.1 SCL Statements ¦ PRINT—Prints element or member information. ¦ RESTORE—Restores elements to Endevor from an archive data set. ¦ RETRIEVE—Copies elements from Endevor to an external data set. ¦ SIGNIN—Removes the user signout associated with an element. ¦ TRANSFER—Transfers an element from one location to another: Endevor to Endevor, Endevor to an archive data set, or archive data set to Endevor. ¦ UPDATE—Updates an element from an external data set. 2.1.5 Environment Definition Statements Environment definition statements provide the ability to manage environment definitions for all inventory structures using SCL. Environment definition statements allow you to create, update, and delete inventory definitions. The statements manage the following environment definitions:&lt;br /&gt;¦ Approver group ¦ Approver group relationships ¦ Element types ¦ Package shipment data set mapping rules ¦ Package shipment destination ¦ Processor groups ¦ Processor symbols ¦ Subsystem ¦ Systems ¦ Type sequence 2.1.6 Package Action Statements Package action statements provide the ability to perform package processing in batch using SCL. Package action statements consist of the following:&lt;br /&gt;¦ APPROVE PACKAGE—Approves a package for execution. ¦ ARCHIVE PACKAGE—Copies the package definitions to an external data set. ¦ BACKIN PACKAGE—Backs a package in, reversing the BACKOUT PACKAGE action. ¦ BACKOUT PACKAGE—Backouts the change package to restore the executable and output modules to the state they were in prior execution. ¦ CAST PACKAGE—Casts a package, which freezes the data and prevents further changes at that time. 2-4 SCL Reference Guide&lt;br /&gt;2.1 SCL Statements ¦ COMMIT PACKAGE—Commits a package removing all backout/backin data. ¦ DEFINE PACKAGE—Creates a new or updates an existing package. ¦ DELETE PACKAGE—Deletes an entire package from Endevor. ¦ DENY PACKAGE—Denies execution of a package. ¦ EXECUTE PACKAGE—Executes a package. ¦ EXPORT PACKAGE—Writes the SCL associated with a package to an external data set. ¦ RESET PACKAGE—Resets a package back to a status of In-edit. ¦ SUBMIT PACKAGE—Submits a JCL job stream to execute one or more packages. For information on package processing, see the Packages Guide.&lt;br /&gt;Chapter 2. About the SCL Language 2-5&lt;br /&gt;2.2 Statements and Clauses 2.2 Statements and Clauses 2.2.1 Overview References are made to statements and clauses throughout this manual. For SCL purposes, these terms are defined as follows:&lt;br /&gt;¦ A statement begins with an action (for example, ADD or DEFINE) and ends with a period (.). A statement consists of one or more clauses, depending on how you code the SCL syntax. ¦ A clause is an individual line of information within each statement (for example, FROM ENVIRONMENT TEST or WHERE CCID EQ 'FIX01'). Any number of clauses may be contained within one statement. Note the following example:&lt;br /&gt;1.MOVE ELEMENTS COPY1&lt;br /&gt;2. FROM ENVIRONMENT DEMO 3. SYSTEM FINANCE 4. SUBSYSTEM ACCTPAY 5. TYPE COBOL 6. WHERE CCID EQ FIX' 7. OPTIONS WITH HISTORY. Lines 1-7 form a statement. Line 1 begins with an action (MOVE) and line 7 ends with a period.&lt;br /&gt;Lines 2-5 constitute a single clause (a FROM clause). Lines 6 and 7 are individual clauses. Each of these clauses provide information essential to the statement.&lt;br /&gt;2.2.2 Coding Order You must enter the action clause first. You can enter the remaining clauses in any order. Within each clause, however, you must code the sub-clauses in the order in which they are shown in the syntax.&lt;br /&gt;In the example above, you might code the FROM clause last and the OPTIONS clause immediately after the MOVE ELEMENTS clause. Within the FROM clause, though, you must enter ENVIRONMENT first, followed by SYSTEM, followed by SUBSYSTEM, followed by TYPE.&lt;br /&gt;2-6 SCL Reference Guide&lt;br /&gt;2.3 Element Action Examples 2.3 Element Action Examples The following examples demonstrate different ways you can use the element action SCL. The four examples all produce the same result; the only difference is in the number and types of statements and clauses used.&lt;br /&gt;Note: The examples shown here apply to the general structure of environment definition and package action syntax. The major difference, and the reason examples are shown for the element actions, is the use of SET and CLEAR statements.&lt;br /&gt;2.3.1 Example 1 Example 1 illustrates long-hand SCL. The TRANSFER, FROM, TO, WHERE, and OPTIONS statements are repeated for each element.&lt;br /&gt;TRANSFER ELEMENT COPY1 FROM ENVIRONMENT DEMO SYSTEM FINANCE SUBSYSTEM ACCTPAY TYPE COPYBOOK STAGE NUMBER2 TO ENVIRONMENT PROD STAGE NUMBER1 WHERE CCID EQ 'FIX1' OPTIONS COMMENT 'FIX BUG'. TRANSFER ELEMENT COPY2 FROM ENVIRONMENT DEMO SYSTEM FINANCE SUBSYSTEM ACCTPAY TYPE COPYBOOK STAGE NUMBER2 TO ENVIRONMENT PROD STAGE NUMBER1 WHERE CCID EQ 'FIX1' OPTIONS COMMENT 'FIX BUG'. TRANSFER ELEMENT PROG2 FROM ENVIRONMENT DEMO SYSTEM FINANCE SUBSYSTEM ACCTPAY TYPE COBOL STAGE NUMBER2 TO ENVIRONMENT PROD STAGE NUMBER1 WHERE CCID EQ 'FIX1' OPTIONS COMMENT 'FIX BUG'.&lt;br /&gt;Chapter 2. About the SCL Language 2-7&lt;br /&gt;2.3 Element Action Examples Note that the information coded in the FROM clauses (except in the last FROM clause where TYPE is different), TO clause, WHERE clause, and OPTIONS clause is the same. Although there is nothing wrong with coding every line of a request, you may find it time-consuming when you need to code several requests. Therefore, it is important to consider several "shortcuts" when coding the element action syntax. Examples 2 - 4 on the following pages demonstrate these shortcuts.&lt;br /&gt;2.3.2 Example 2 Example 2 illustrates the concept of global settings, using SET statements to assign the location (FROM and TO) information, as well as common WHERE and OPTIONS data.&lt;br /&gt;SET FROM ENVIRONMENT DEMO STAGE NUMBER2. SET TO ENVIRONMENT PROD STAGE NUMBER 1. SET WHERE CCID EQ 'FIX1'. SET OPTIONS COMMENT 'FIX BUG'. TRANSFER ELEMENT COPY1. TRANSFER ELEMENT COPY2. SET FROM TYPE COBOL. TRANSFER ELEMENT PROG1.&lt;br /&gt;In this example, all SET statements coded at the beginning of the syntax are applied to the first two TRANSFER action requests. Because the type is different for the third TRANSFER action request, however, a new SET FROM statement has been entered—containing only the different information.&lt;br /&gt;This new type will be applied to the subsequent TRANSFER request. But, all other previously-coded information will be applied also. Remember: the data entered in a SET statement remains in effect until a new, like SET statement (or a CLEAR statement) is encountered.&lt;br /&gt;2-8 SCL Reference Guide&lt;br /&gt;2.3 Element Action Examples 2.3.3 Example 3 Example 3 illustrates a combination of global and local settings.&lt;br /&gt;SET FROM ENVIRONMENT DEMO SYSTEM FINANCE SUBSYSTEM ACCTPAY TYPE COPYBOOK STAGE NUMBER2. SET TO ENVIRONMENT PROD STAGE NUMBER1. SET WHERE CCID EQ'FIX1'. SET OPTIONS COMMENT 'FIX BUG'. TRANSFER ELEMENT COPY1. TRANSFER ELEMENT COPY2. TRANSFER ELEMENT PROG1 FROM TYPE COBOL.&lt;br /&gt;In this example, the SET statements are applied to all three TRANSFER action requests, with the exception of type in the third request.&lt;br /&gt;Remember: a value entered locally overrides a like value in a SET statement. Therefore, coding the clause FROM TYPE COBOL is all that is required in the third request. The remaining location, WHERE, and OPTIONS information defaults to the entries coded in the previous SET statements.&lt;br /&gt;2.3.4 Example 4 Example 4 illustrates the use of the name mask. The name mask indicates that all elements beginning with the indicated letters should be considered for an action.&lt;br /&gt;TRANSFER ELEMENT ABC FROM ENVIRONMENT DEMO SYSTEM FINANCE SUBSYSTEM ACCTPAY TYPE  STAGE NUMBER2 TO ENVIRONMENT PROD STAGE NUMBER 1 WHERE CCID EQ 'FIX1' OPTIONS COMMENT 'FIX BUG'.&lt;br /&gt;Chapter 2. About the SCL Language 2-9&lt;br /&gt;2.3 Element Action Examples In this example, use of the asterisk alone in the TRANSFER ELEMENTS clause indicates that all elements—as long as the remaining selection criteria is met—should be selected for the TRANSFER.&lt;br /&gt;Use of the name mask in the TYPE clause indicates that any type will be acceptable in the TRANSFER action.&lt;br /&gt;Using the name mask with the element name and the type eliminates the need to set and change SET statements (as was done in examples 2 and 3). Example 4 instructs Endevor to look for all elements, no matter what type, from the Endevor location indicated (in the environment, system, subsystem, and stage number clauses), associated with a CCID of FIX01. And, the comment FIX BUG will be applied to all elements meeting that selection criteria.&lt;br /&gt;2-10 SCL Reference Guide&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements&lt;br /&gt;This chapter illustrates the syntax for SET, CLEAR, and EOF statements, and explains the coding rules specific to each statement. SET, CLEAR, and EOF statements apply only to element action statements (described in the next chapter). See the About the SCL Language section for examples of syntax using SET and CLEAR statements.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-1&lt;br /&gt;3.1 Set Statements 3.1 Set Statements A SET statement sets up applicable keyword values (for example, FROM, TO) for specific items that are omitted from subsequent element action statements. If a parameter is required and not specifically coded with an element action statement, a corresponding SET statement must precede that action statement. The SET statement can be reissued to change the default value of a particular keyword any number of times within an SCL stream.&lt;br /&gt;You can remove a SET statement by using a CLEAR statement for the same keyword. Be sure to issue the CLEAR statement after the related element action statement; otherwise, the SET statement is canceled and you may receive an error message. (CLEAR statements are explained later in this chapter.)&lt;br /&gt;Note: The SET statement establishes default values; it is never executed. Therefore, no element processing is involved.&lt;br /&gt;3.1.1 Conventions The following conventions apply to all SET statements.&lt;br /&gt;¦ SET statements are applied globally to all element action statements following the entry. Each SET statement remains in effect until one of the following conditions occurs: – Endevor encounters another, like SET statement, which overrides the existing SET statement. – Endevor encounters a CLEAR statement for that particular SET statement. For example, a CLEAR WHERE statement would cancel a SET WHERE statement. – Processing for this job ends; that is, an EOF or EOJ statement is encountered. ¦ SET statements, and the information contained in each, apply only where similar data appears on a "local" level; that is, within a specific action statement. For example, if one of the actions following a SET TO statement does not require any TO data, the SET TO statement is ignored. ¦ Information in the SET statement will be replaced by any overriding SET values coded locally. That is, if the element action syntax contains the variable specified in the SET statement, the like information in the SET statement is ignored. For example, if you enter system and subsystem names in the FROM clause for a COPY action, Endevor uses those names rather than the names coded in the related SET FROM statement. 3-2 SCL Reference Guide&lt;br /&gt;3.1 Set Statements ¦ If the information is not available in the element action statement, the like information in the SET statement is applied to the syntax. For example, if you do not code a system and subsystem in the FROM clause for the COPY action, the information will be taken from the related SET FROM statement. 3.1.2 Set Action The SET ACTION statement is used in conjunction with the &amp;amp;&amp;amp;ACTION statement (described in Chapter 4,&lt;br /&gt;"Element Action Statements"). When you use this statement, Endevor sets the action in all following &amp;amp;&amp;amp;ACTION statements to the action indicated. The specified action applies until the system encounters another SET ACTION or a CLEAR ACTION statement, or when processing is terminated.&lt;br /&gt;3.1.3 Syntax --SET ACTion- ---ADD---------.--------------------------------------- +-ARChive--¦ +-COPy-----¦ +-DELete---¦ +-GENerate-¦ +-LISt-----¦ +-MOVe-----¦ +-PRInt----¦ +-REStore--¦ +-RETrieve-¦ +-SIGnin---¦ +-TRAnsfer-¦ +-UPDate---+&lt;br /&gt;3.1.3.1 Syntax Rules SET ACTION&lt;br /&gt;When you use this statement, Endevor sets the action in all following &amp;amp;&amp;amp;ACTION statements to the action you indicate in this statement. The action specifed applies until the system encounters another SET ACTION or a CLEAR ACTION statement, or when processing is terminated.&lt;br /&gt;Although you can enter more than one SET ACTION statement in your syntax, only the action indicated in the SET ACTION statement immediately preceding the &amp;amp;&amp;amp;ACTION statement is performed.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-3&lt;br /&gt;3.1 Set Statements 3.1.4 Set Build You can code the following actions in the SET ACTION statement: ADD—adds an element to the environment's entry stage in Endevor. ARCHIVE—writes the current version of an element to a sequential file (or&lt;br /&gt;archive data set).&lt;br /&gt;COPY—copies an element from an archive data set to a data set external to Endevor. DELETE—removes an element from either Stage 1 or Stage 2. GENERATE—executes the generate processor for an element(s). LIST—lists elements from the Master Control File or an archive data set, or&lt;br /&gt;lists members from a library. MOVE—moves elements from one map location to another. PRINT—prints either element or member information. RESTORE—restores an element from an archive data set to Endevor. RETRIEVE—copies an element from either stage to a user data set. SIGNIN—removes the user signout associated with an element. TRANSFER—transfers an element from one location to another: Endevor to&lt;br /&gt;Endevor, Endevor to an archive data set, or an archive data set/unload tape to Endevor. UPDATE—updates an element in the environment's entry stage only.&lt;br /&gt;The SET BUILD statement applies only to the BUILD statement in the LIST action (see the explanation of LIST earlier in this chapter). This statement has three parts:&lt;br /&gt;¦ ACTION determines the action that is placed in the list of action cards generated by the LIST request. ¦ LEVEL determines whether the element's current version and level is listed. ¦ WITH COMPONENTS determines whether a component list should be included in the listing for the specified element. Note: The WITH COMPONENTS option pertains to the Endevor ACM product only. If you are a Endevor ACM user, refer to the Automated Configuration Option Guide for additional information.&lt;br /&gt;3-4 SCL Reference Guide&lt;br /&gt;3.1 Set Statements 3.1.5 Syntax --SET BUIld--¤- ---------------------------¤--.---------------------- +-ACTion----&amp;amp;&amp;amp;Action---¦ ¦ +-ADD------¦¦ ¦ +-ARChive--¦¦ ¦ +-COPy-----¦¦ ¦ +-DELete---¦¦ ¦ +-GENerate-¦¦ ¦ +-LISt-----¦¦ ¦ +-MOVe-----¦¦ ¦ +-PRInt----¦¦ ¦ +-REStore--¦¦ ¦ +-RETrieve-¦¦ ¦ +-SIGnin---¦¦ ¦ +-TRAnsfer-¦¦ ¦ +-UPDate---+¦ +-LEVel----CURrent-----¦ ¦ +-NONe----¦¦ ¦ +-ACTUal--+¦ +-WITh COMponent-------+&lt;br /&gt;3.1.5.1 Syntax Rules SET BUILD ACTION&lt;br /&gt;SET BUILD ACTION applies to any element, whether from Endevor or an external file (that is, a sequential file or a library). The action coded stays in effect until Endevor encounters the next SET BUILD ACTION or a CLEAR BUILD ACTION statement, or processing ends.&lt;br /&gt;The following can be coded in the SET BUILD ACTION statement:&lt;br /&gt;&amp;amp;&amp;amp;ACTION— indicates that an action will be designated for this element at a later time.&lt;br /&gt;ADD—adds an element to the environment's entry stage in Endevor.&lt;br /&gt;ARCHIVE—writes the current version of an element to a sequential file (or archive data set).&lt;br /&gt;COPY—copies an element from an archive data set to a data set external to Endevor.&lt;br /&gt;DELETE—removes an element from either Stage 1 or Stage 2 in Endevor.&lt;br /&gt;GENERATE—executes the generate processor for the current level of the element.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-5&lt;br /&gt;3.1 Set Statements LIST—lists elements from the Master Control File or an archive data set, or lists members from a library.&lt;br /&gt;MOVE—moves elements from one map location to another.&lt;br /&gt;PRINT—prints either information relating to an element (if executed against Endevor) or the source of the selected members (if executed against an external library).&lt;br /&gt;RESTORE—restores an element from an archive data set back to Endevor.&lt;br /&gt;RETRIEVE—copies an element from either stage to a user data set (a sequential file, library, or PDS).&lt;br /&gt;SIGNIN—removes the user signout associated with either a Stage 1 or a Stage 2 element.&lt;br /&gt;TRANSFER—transfers an element from one location to another: Endevor to Endevor, Endevor to an archive data set, or archive data set/unload tape to Endevor.&lt;br /&gt;UPDATE—updates an element in the environment's entry stage only.&lt;br /&gt;SET BUILD LEVEL&lt;br /&gt;SET BUILD LEVEL applies only to elements in Endevor (as opposed to those elements currently in external files). The level coded stays in effect until Endevor encounters the next SET BUILD LEVEL or a CLEAR BUILD LEVEL statement, or processing ends.&lt;br /&gt;The following options apply to the SET BUILD LEVEL statement.&lt;br /&gt;¦ CURRENT—If the WHERE COMPONENTS EQUAL clause has not been coded for the action, or no component list exists (that is, the Endevor ACM product is not installed), the system defaults to the current level of the element. ¦ NONE—The current version and level of the element are not to be listed on the action cards generated by the LIST request. ¦ ACTUAL—The actual level of each component as recorded in the component list, rather than the current level of the element as recorded in the Master Control File, should be used to build the element action statement. If the WHERE COMPONENTS EQUAL clause has not been coded, or no&lt;br /&gt;component list exists, (that is, Endevor ACM product is not installed), the&lt;br /&gt;current level of the element is listed.&lt;br /&gt;3-6 SCL Reference Guide&lt;br /&gt;3.1 Set Statements SET BUILD WITH COMPONENTS&lt;br /&gt;SET BUILD WITH COMPONENTS indicates that action cards should be generated for every input component that is associated with the specified element. If you enter this clause, you must also have a WHERE COMPONENTS EQUAL clause coded, either in the LIST action or as part of a SET WHERE statement. SET BUILD WITH COMPONENTS is in effect until the system encounters a CLEAR BUILD WITH COMPONENTS statement or processing ends.&lt;br /&gt;Note: This option pertains to the Endevor ACM product only. If you are a Endevor ACM user, refer to the Automated Configuration Option Guide for additional information.&lt;br /&gt;3.1.6 Set From The SET FROM statement applies to each element action that uses—but does not contain all or part of—a FROM clause, and remains in effect until the system encounters another SET FROM statement or a CLEAR FROM statement, or when processing ends.&lt;br /&gt;The exact information used from the SET FROM statement depends on both the specific action and the data you have entered in that action statement. What you enter in the action's FROM clause overrides that particular entry in the SET FROM statement. For example, you code all Endevor location information (environment, system, subsystem, type, and stage number or stage ID) in a SET FROM statement. Then, when coding a RETRIEVE statement, you enter a different type. Endevor determines the FROM location by applying all SET FROM information except for the type, which is taken from the RETRIEVE statement.&lt;br /&gt;Three types of information can be provided by the SET FROM statement, depending on the action you enter.&lt;br /&gt;¦ Some actions require only Endevor location information. ¦ Some actions require only a file name (DDname) or data set name. ¦ Some actions require both a file name (DDname) and Endevor location information. Each type of information is explained in the following pages. See the individual element action descriptions to determine the requirements for each action.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-7&lt;br /&gt;3.1 Set Statements 3.1.7 Syntax --SET FROm- ---SYSOut-------------------------------------------.---- -C1Print---------------------------------------¦ ---FILe------dd-name---------------------------¦ +-DDName-+¦ +-DSName--dataset-name--------------------------¦ +-MEMber--member-name-+¦ +-¦ LOCATION +----------------------------------+&lt;br /&gt;LOCATION:&lt;br /&gt;+- -ENVironment--env-name- -SYStem--sys-name--SUBsystem--subsys-name-----&lt;br /&gt;- -TYPe--type-name--- -------------------------- ------------------------¦ +-STAge--stage-id--------¦ + -STAge NUMber--stage-no-+&lt;br /&gt;3.1.7.1 Syntax Rules SET FROM ENVIRONMENT env-name SYSTEM sys-name SUBSYSTEM subsys-name TYPE type-name STAGE stage-id STAGE NUMBER stage-no&lt;br /&gt;This clause identifies the Endevor location information. Elements in Endevor are identified by environment, system, subsystem, type, and stage (ID or number). Several actions require all or part of this information in the FROM clause. Whatever data you do not code in the syntax of the specific action must be entered in the SET FROM statement.&lt;br /&gt;Listed below is a brief definition of each identifier.&lt;br /&gt;¦ ENVIRONMENT—The functional areas within an organization. Environment names can be up to 8 characters in length. ¦ SYSTEM—The applications at a site. System names can be up to 8 characters in length. ¦ SUBSYSTEM—Specific applications within a system. Subsystem names can be up to 8 characters in length. ¦ TYPE—Categories of source code. Type names can be up to 8 characters in length. ¦ STAGE—A stage in a software life cycle. You refer to stages in SCL statements by one of the following: – STAGE ID—A 1-character, alphanumeric stage identifier. – STAGE NUMBER—Either 1 or 2. Indicates the position of a stage within the current environment. 3-8 SCL Reference Guide&lt;br /&gt;3.1 Set Statements You can use a name mask with the system, subsystem, and type names, as well as with both stage indicators.&lt;br /&gt;Depending on the particular action, you may have a choice when entering a stage indicator (that is, ID or number). In this situation, the indicator is required, but you decide whether to enter an ID or stage number. If only one type of stage indicator appears in the SCL syntax, you must enter that specific value.&lt;br /&gt;SET FROM FILE (DDNAME) dd-name&lt;br /&gt;SITE site-id&lt;br /&gt;ENVIRONMENT env-name&lt;br /&gt;SYSTEM sys-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;DSNAME dataset-name&lt;br /&gt;Often, an action requires that only a file name or data set name be entered to indicate a FROM location. Follow these rules when specifying this clause:&lt;br /&gt;¦ When you enter a file name (DDname), be sure that the appropriate JCL is coded for the entry. ¦ When you enter a data set name, be sure to enclose the name in quotes (single or double) if there is a period in the name; for example, the data set TEST.LIB must be coded as 'TEST.LIB'. Note: You cannot code both a file name (or DDname) and a data set name. If you do, you receive an error message. You also receive an error message if you code Endevor location information along with a data set name.&lt;br /&gt;Occasionally, you are required to enter both a file name and Endevor location information for the element. Review the conventions listed above for coding information about each of these entries.&lt;br /&gt;Note also that:&lt;br /&gt;¦ With these particular actions, you can optionally specify a particular site, to further qualify the FROM location of the element. Site indicates the location at which Endevor is installed. The site ID is one character in length. ¦ You must enter the file name (DDname) first. If you enter Endevor location information before the file name, that data is ignored and you receive an error message. Chapter 3. Set, Clear, and EOF Statements 3-9&lt;br /&gt;3.1 Set Statements 3.1.8 Set Options The SET OPTIONS statement tells Endevor to apply one or a series of options to all subsequent actions, until the next SET OPTIONS statement or a CLEAR OPTIONS statement is encountered, or processing ends. The exact options used depend on the action specified and the data you have entered in that element action statement:&lt;br /&gt;¦ Those options that do not apply to the action are ignored. ¦ If you enter a particular option in the element action statement and have coded that option in the SET OPTIONS statement, the entry in the action statement overrides the SET OPTIONS selection. 3.1.9 Syntax --SET OPTion--¤- ----------------------------------------------¤--.----------&lt;br /&gt;-CCId--ccid------------------------------¦&lt;br /&gt;+-COMment--comment------------------------¦&lt;br /&gt;+-COPyback--------------------------------¦&lt;br /&gt;+-DELete input source---------------------¦&lt;br /&gt;-DETail report---------------------------¦&lt;br /&gt;-EXPand includes-------------------------¦&lt;br /&gt;+-IGNore generate failed------------------¦&lt;br /&gt;-JUMp------------------------------------¦&lt;br /&gt;-NEW VERsion--version--------------------¦&lt;br /&gt;+-NOCc------------------------------------¦&lt;br /&gt;-NO SIGNOut------------------------------¦&lt;br /&gt;-OVErride SIGNOut------------------------¦&lt;br /&gt;-ONLy COMPonent--------------------------¦&lt;br /&gt;-REPlace MEMber--------------------------¦&lt;br /&gt;-SHOw TEXt- ------------------------------¦&lt;br /&gt;+-PLUs n lines-+ ¦&lt;br /&gt;+-SYNchronize-----------------------------¦&lt;br /&gt;+-UPDate if present-----------------------¦&lt;br /&gt;-WITh HIStory----------------------------¦&lt;br /&gt;+---BYPass DELete PROcessor---------------¦&lt;br /&gt;¦ +-BYPass ELEment DELete---+ ¦&lt;br /&gt;+---BYPass GENerate PROcessor-------------¦&lt;br /&gt;¦ + -PROcessor GROup- ---EQ----group name-+¦&lt;br /&gt;¦ +-=--+¦&lt;br /&gt;+-COMPonent----BROwse---------------------¦&lt;br /&gt;+-CHAnge--¦ ¦&lt;br /&gt;¦ +-HIStory-¦ ¦&lt;br /&gt;¦ +-SUMmary-¦ ¦&lt;br /&gt;¦ +-MASter--+ ¦&lt;br /&gt;+---NOSearch------------------------------¦&lt;br /&gt;¦ +-SEArch---+ ¦&lt;br /&gt;+---RETain SIGNOut------------------------+&lt;br /&gt;+-SIGNin-------------¦&lt;br /&gt;+ -SIGNOut TO--userid-+&lt;br /&gt;3-10 SCL Reference Guide&lt;br /&gt;3.1 Set Statements 3.1.9.1 Syntax Rules SET OPTIONS&lt;br /&gt;The SET OPTIONS statement tells Endevor to apply one or a series of options to all subsequent actions, until the next SET OPTIONS statement or a CLEAR OPTIONS statement is encountered, or processing ends. The exact options used depend on the action you specify and the data you enter in that element action statement:&lt;br /&gt;You can code the following options in the SET OPTIONS statement:&lt;br /&gt;BYPASS DELETE PROCESSOR—tells Endevor not to execute the delete processor for this element.&lt;br /&gt;BYPASS ELEMENT DELETE—tells Endevor not to automatically delete the element in the FROM location after performing the action.&lt;br /&gt;BYPASS GENERATE PROCESSOR—indicates that Endevor should not execute the generate processor for this element.&lt;br /&gt;CCID ccid—specifies a 1- to 12-character CCID.&lt;br /&gt;COMMENT comment—specifies a 1- to 40-character comment.&lt;br /&gt;COMPONENT—tells Endevor to print component list information for the element specified.&lt;br /&gt;BROWSE—tells Endevor to print all statements in the specified level of the element, indicating the level at which each statement was inserted.&lt;br /&gt;CHANGES—tells Endevor to print all inserts and deletes made to the element at the level specified.&lt;br /&gt;HISTORY—tells Endevor to print all statements in all levels of the element.&lt;br /&gt;SUMMARY—tells Endevor to print one line of summary information for each level.&lt;br /&gt;MASTER—tells Endevor to print Master Control File information for the element.&lt;br /&gt;COPYBACK—tells Endevor to copy the current level of an element back to the target stage for a GENERATE action, prior to generating the element.&lt;br /&gt;DELETE INPUT SOURCE—tells Endevor to delete a member from the library in which it originated.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-11&lt;br /&gt;3.1 Set Statements DETAIL REPORT—tells Endevor to provide detail information in the Execution Report. Endevor, by default, lists only those elements matching the selection criteria you specify. If you select the DETAIL REPORT option, every element searched is listed in the report—whether or not a match is found.&lt;br /&gt;EXPAND INCLUDES—tells Endevor to expand INCLUDE statements when the element is copied to a source output library.&lt;br /&gt;IGNORE GENERATE FAILED—enables processing to continue when the generate and/or move processors associated with a particular element have failed.&lt;br /&gt;JUMP—tells Endevor to notify the user if an element exists at an intermediate, non-map stage between the source and target stages of a MOVE.&lt;br /&gt;NEW VERSION—allows you to assign a different version number to the TO location element. Simply enter the number (1-99 inclusive, leading zeros optional) that you want to use.&lt;br /&gt;NOCC—tells Endevor not to print a header on each page of output.&lt;br /&gt;NOSEARCH—tells Endevor to search only in the current environment.&lt;br /&gt;NO SIGNOUT—tells Endevor to retrieve an element without signing it out.&lt;br /&gt;OVERRIDE SIGNOUT—enables you to access an element that has been signed out to a user ID other than your own. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;ONLY COMPONENTS—allows you to delete the component lists for an element, but not the element itself.&lt;br /&gt;PROCESSOR GROUP EQUAL/EQ) /= group name—specifies a 1- to 8-character processor group name.&lt;br /&gt;REPLACE MEMBER—tells Endevor to replace an existing member in a target library with the element specified in the element action statement.&lt;br /&gt;RETAIN SIGNOUT—tells Endevor to retain the current signout for an element.&lt;br /&gt;SEARCH—tells Endevor to search for elements along the map.&lt;br /&gt;SHOW TEXT PLUS n LINES—tells Endevor to print the line of source code that contains a specified text string, plus a designated number of lines of code before and after the text string.&lt;br /&gt;SIGNIN—allows you to override a RETAIN SIGNOUT or SIGNOUT TO clause in a SET OPTIONS statement.&lt;br /&gt;3-12 SCL Reference Guide&lt;br /&gt;3.1 Set Statements SIGNOUT TO—allows you to sign out or reassign an element to another user.&lt;br /&gt;SYNCHRONIZE—tells Endevor to create a sync level at a target location when the base level of an element at a source location is not the same as the current level of that element at the target location.&lt;br /&gt;UPDATE IF PRESENT—automatically changes an ADD action to an UPDATE action if an element currently exists in the entry stage. This option essentially allows you to add the element to the entry stage.&lt;br /&gt;WITH HISTORY—tells Endevor to preserve change history for an element when transferring or moving that element.&lt;br /&gt;3.1.9.2 Actions and the Set Options Statement The following table indicates the action(s) for which you can code each option, and provides notes on the use of each option.&lt;br /&gt;Option Actions Notes BYPASS DELETE TRANSFER Cannot be used with BYPASS ELEMENT DELETE. PROCESSOR Cannot be used for transfer from external data set to Endevor.&lt;br /&gt;BYPASS ELEMENT DELETE ARCHIVE, MOVE, TRANSFER Cannot be used with BYPASS DELETE PROCESSOR. Cannot be used for transfer from external data set to Endevor. BYPASS GENERATE PROCESSOR ADD, RESTORE, TRANSFER, UPDATE Cannot be used for transfer from Endevor to external data set. Cannot be used with PROCESSOR GROUP EQUAL. CCID ccid ADD, ARCHIVE, DELETE, GENERATE, MOVE, RESTORE, RETRIEVE, TRANSFER, UPDATE COMMENT Same as for comment CCID [COMPONENT] BROWSE PRINT ACM required to use [COMPONENT]. One clause (BROWSE, CHANGE, HISTORY, SUMMARY, or MASTER) allowed per statement.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-13&lt;br /&gt;3.1 Set Statements Option Actions Notes [COMPONENT] CHANGES PRINT Same as [COMPONENT] BROWSE. [COMPONENT] HISTORY PRINT Same as [COMPONENT] BROWSE. [COMPONENT] SUMMARY PRINT Same as [COMPONENT] BROWSE. [COMPONENT] MASTER PRINT Same as [COMPONENT] BROWSE. COPYBACK GENERATE DELETE INPUT SOURCE ADD, UPDATE DETAIL REPORT LIST EXPAND INCLUDES RETRIEVE IGNORE GENERATE FAILED TRANSFER Cannot be used for transfer from external data set to Endevor. JUMP MOVE NEW VERSION version number ADD, RESTORE, TRANSFER Cannot be used for transfer from Endevor to external data set. NOCC PRINT NOSEARCH GENERATE, LIST, PRINT, RETRIEVE Cannot be used with SEARCH.&lt;br /&gt;NO SIGNOUT RETRIEVE OVERRIDE SIGNOUT ADD, ARCHIVE, DELETE, GENERATE, RETRIEVE, SIGNIN, TRANSFER, UPDATE ONLY COMPONENTS DELETE&lt;br /&gt;3-14 SCL Reference Guide&lt;br /&gt;3.1 Set Statements Option Actions Notes&lt;br /&gt;PROCESSOR GROUP EQUAL GROUP NAME ADD, GENERATE, RESTORE, TRANSFER, UPDATE Cannot be used with BYPASS GENERATE PROCESSOR. REPLACE MEMBER COPY, LIST, RETRIEVE&lt;br /&gt;RETAIN SIGNOUT MOVE, TRANSFER Cannot be used with SIGNIN or SIGNOUT TO. SEARCH GENERATE, Cannot be used with NOSEARCH. LIST, PRINT, RETRIEVE SHOW TEXT [PLUS LIST n LINES] SIGNIN MOVE, TRANSFER Cannot be used with RETAIN SIGNOUT or SIGNOUT TO&lt;br /&gt;SIGNOUT TO MOVE, Cannot be used with SIGNIN or RETAIN SIGNOUT USERID SIGNIN, TRANSFER SYNCHRONIZE MOVE, TRANSFER UPDATE IF ADD PRESENT WITH HISTORY MOVE, TRANSFER&lt;br /&gt;3.1.10 Set STOPRC The SET STOPRC statement provides a control for processing during batch execution. Prior to executing the job stream, Endevor checks for the SET STOPRC statement. If more than one statement has been coded, the return code entered in the last statement found is used.&lt;br /&gt;During execution, Endevor checks the Endevor return code (NDVR RC) for the current action before proceeding with the next action.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-15&lt;br /&gt;3.1 Set Statements 3.1.11 Syntax --SET STOprc--return code--.----------------------------------------&lt;br /&gt;3.1.11.1 Syntax Rules SET STOPRC return-code&lt;br /&gt;The STOPRC statement identifies your highest acceptable return code for the current action processing. You can specify a return code value in the range of 4 through 99. If the Endevor return code is equal to or exceeds the return code entered in the STOPRC statement, Endevor stops processing and the remaining actions are not executed.&lt;br /&gt;If you do not enter a STOPRC value, Endevor operates as if a STOPRC of 16 has been coded.&lt;br /&gt;3.1.12 Set To The SET TO statement applies to each element action that uses—but does not contain all or part of—a TO clause, and remains in effect until Endevor encounters another SET TO statement or a CLEAR TO statement, or when processing ends.&lt;br /&gt;The exact information used from the SET TO statement depends on both the specific action and the data you have entered in that element action statement. What you enter in the action's TO clause overrides that particular entry in the SET TO statement. For example, you code all Endevor location information (environment, system, subsystem, type, and stage ID or stage number) in the SET TO statement. Then, when coding an UPDATE statement, you enter a different subsystem. Endevor determines the TO location by applying all SET TO information except for subsystem, which is taken from the UPDATE statement.&lt;br /&gt;The SET TO information you enter differs from action to action; see the individual element action descriptions in Chapter 4, "Element Action Statements" to determine the requirements for each. Remember that you cannot use a name mask with any TO location field names.&lt;br /&gt;3-16 SCL Reference Guide&lt;br /&gt;3.1.13 Syntax 3.1 Set Statements --SET TO- ---SYSOut-------------------------------------------.------&lt;br /&gt;-C1Print---------------------------------------¦&lt;br /&gt;---FILe------dd-name---------------------------¦&lt;br /&gt;+-DDName-+ ¦&lt;br /&gt;+-DSName--dataset-name--------------------------¦&lt;br /&gt;+-MEMber--member-name-+¦&lt;br /&gt;+-¦ LOCATION +----------------------------------+&lt;br /&gt;LOCATION:&lt;br /&gt;+- -ENVironment--env-name- -SYStem--sys-name--SUBsystem--subsys-name-----&lt;br /&gt;- -TYPe--type-name--- -------------------------- ------------------------¦ +-STAge--stage-id--------¦ + -STAge NUMber--stage-no-+&lt;br /&gt;3.1.13.1 Syntax Rules SET TO SYSOUT&lt;br /&gt;SYSOUT applies to the LIST action only. Normally when you execute the LIST action, Endevor lists the action cards in both the listing (Execution Report) and the location you have indicated in the TO clause. If you do not enter any information in the TO clause for the LIST action, Endevor checks the SET TO statement for information. If the appropriate information has not been entered in the SET TO statement or the SET TO statement indicates only SYSOUT, Endevor defaults to SYSOUT alone.&lt;br /&gt;When SYSOUT alone is selected, the action cards requested in the LIST action are printed immediately after the LIST request, as part of the listing. You cannot perform any editing on these action cards because they are available only in the printout. If you have indicated another location (such as a library) in the TO clause, however, you can access, and therefore edit, the action cards generated.&lt;br /&gt;SET TO C1PRINT&lt;br /&gt;C1PRINT applies to the PRINT action only. If you do not enter any information in the TO clause for the PRINT action, Endevor checks the SET TO statement for information. If the appropriate information has not been entered in the SET TO statement or the SET TO statement indicates C1PRINT, Endevor defaults to C1PRINT and prints the specified element or member in a listing.&lt;br /&gt;Note: If you want to use C1PRINT, be sure you have included the appropriate JCL. See the examples below:&lt;br /&gt;¦ To send your output to the queue, code the following: //C1PRINT DD SYSOUT= Chapter 3. Set, Clear, and EOF Statements 3-17&lt;br /&gt;3.1 Set Statements ¦ To send your output to a specific file, code the following: //C1PRINT DD DSN=filename&lt;br /&gt;SET TO FILE (DDNAME) dd-name DSNAME dataset-name&lt;br /&gt;When the TO location for the element is external to Endevor (for example, a library, sequential file, or PDS), you can enter either a file name (or DDname) or a data set name in the TO clause.&lt;br /&gt;¦ When you enter a file name (DDname), be sure that the appropriate JCL is coded for the entry. ¦ When you enter a data set name, be sure to enclose the name in quotes (single or double) if there is a period in the name; for example, the data set TEST.LIB must be coded as 'TEST.LIB'. Note: You cannot code both a file name (or DDname) and a data set name. If you do, you receive an error message. You also receive an error message if you enter Endevor location information along with a data set name.&lt;br /&gt;SET TO ENVIRONMENT env-name SYSTEM sys-name SUBSYSTEM subsys-name TYPE type-name STAGE stage-id STAGE NUMBER stage-no&lt;br /&gt;Elements in Endevor are identified by environment, system, subsystem, type, and stage (ID or number). Several actions require all or part of this information in the TO clause. Whatever data you do not code in the syntax of the specific action must be entered in the SET TO statement.&lt;br /&gt;A brief definition of each identifier follows.&lt;br /&gt;¦ ENVIRONMENT—The functional areas within an organization. Environment names can be up to 8 characters in length. ¦ SYSTEM—The applications at a site. System names can be up to 8 characters in length. ¦ SUBSYSTEM—Specific applications within a system. Subsystem name can be up to 8 characters in length. ¦ TYPE—Categories of source code. Type names can be up to 8 characters in length. ¦ STAGE—A stage in a software life cycle. You refer to stages i n SCL statements by one of the following: – STAGE ID—A 1-character, alphanumeric stage identifier. – STAGE NUMBER—Either 1 or 2. Indicates the position of a stage within the current environment. 3-18 SCL Reference Guide&lt;br /&gt;3.1 Set Statements See the User Guide for complete information about each term.&lt;br /&gt;SET TO MEMBER NAME&lt;br /&gt;SET TO MEMBER applies only to the LIST action. If you do not enter a member name in the LIST action, Endevor checks the related SET TO statement for a member name. If a member name has not been coded, the system defaults to SYSOUT and the list is produced in the listing immediately following the request.&lt;br /&gt;Note: If this statement is used for any other action other than LIST it will be ignored.&lt;br /&gt;3.1.14 Set Where The SET WHERE statement applies to each element action that uses—but does not contain all or part of—a WHERE clause, and remains in effect until the system encounters another SET WHERE statement or a CLEAR statement, or processing ends. The exact information used from the SET WHERE statement depends on both the specific action and the data you have entered in that element action statement. What you enter in the action's WHERE clause overrides that particular entry in the SET Where statement.&lt;br /&gt;SET WHERE differs from the SET BUILD, SET FROM, and SET TO statements in that the WHERE (and consequently the SET WHERE) clause is optional. If you do not enter WHERE information for a specific action and a SET WHERE statement has not been coded, the system continues processing; you do not receive an error message nor does processing terminate.&lt;br /&gt;The WHERE clause is most useful when you are using a name mask, as it further qualifies the criteria you have entered for the element(s). When you use a name mask, the designated action is performed for only those elements matching the WHERE criteria entered (along with any other qualifying data entered).&lt;br /&gt;Each clause is explained in the following pages. See the individual element action descriptions in Chapter 4, "Element Action Statements" to determine which WHERE information you can enter for each request.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-19&lt;br /&gt;3.1 Set Statements 3.1.15 Syntax 3-20 SCL Reference Guide&lt;br /&gt;--SET WHEre--¤- -------------------¤--.---------------------------------- +-¦ CCID +-----¦ +-¦ GENERATE +-¦ +-¦ ARCHIVE +--¦ +-¦ SPEC +-----¦ +-¦ PRO +------+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)-------------------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;GENERATE:&lt;br /&gt;+--GENerate----FAIled------------------------------------------------------¦ +-¦ DATE +-----------¦ +-¦ FROM +-----------¦ +-¦ THROUGH +--------¦ +-¦ FROM - THROUGH +-+&lt;br /&gt;ARCHIVE:&lt;br /&gt;+----¦ DATE +--------------------------------------------------------------¦ +-¦ FROM +-----------¦ +-¦ THROUGH +--------¦ +-¦ FROM - THROUGH +-+&lt;br /&gt;DATE:&lt;br /&gt;+- -DATe- -- -- -&lt;br /&gt;-EQ- -date--- -&lt;br /&gt;-------------------- -----------------------------¦ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;FROM:&lt;br /&gt;+- -FROm--DATe- -- -- -&lt;br /&gt;-EQ- -date--- -&lt;br /&gt;-------------------- -----------------------¦ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;THROUGH:&lt;br /&gt;+----THRough----DATe----EQ----date-----------------------------------------¦ +-THRu----+ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;SPEC:&lt;br /&gt;+----TEXt----text-spec-----------------------------------------------------¦ ¦ +-,---------+ +-,---------+¦ ¦&lt;br /&gt;+-(----text-spec------AND------text-spec----)-+¦ +-OR--+¦ +-ACM----comp-spec--------------------------------------+&lt;br /&gt;+-,---------+ +-,---------+¦&lt;br /&gt;+-(----comp-spec------AND------comp-spec----)-+ +-OR--+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)---------------------------¦ +-=--+&lt;br /&gt;3.1 Set Statements 3.1.15.1 Syntax Rules SET WHERE CCID&lt;br /&gt;The SET WHERE statement applies to each element action that uses—but does not contain all or part of—a WHERE clause, and remains in effect until the system encounters another SET WHERE statement or a CLEAR statement, or processing ends. There are two forms of WHERE CCID SCL:&lt;br /&gt;WHERE CCID ccid—Limits processing to only those elements that match one of the CCIDs coded.&lt;br /&gt;WHERE CCID OF ccid—Also limits the processing to those elements that match one of the supplied CCIDs. With this SCL, however, you can indicate where you want Endevor to look for the CCID(s):&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File's RETRIEVE CCID field. You can use a name mask with the CCID.&lt;br /&gt;If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The examples below illustrate the two forms of WHERE CCID SCL.&lt;br /&gt;Example 1: WHERE CCID EQ PROJ. Example 2: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4) Example 3: WHERE CCID OF ALL (PROJ)&lt;br /&gt;SET WHERE GENERATE&lt;br /&gt;WHERE GENERATE SCL allows you to set a generation date and, optionally, time as a selection criterion. There are five possible forms for this clause:&lt;br /&gt;¦ WHERE GENERATE FAILED—Tells Endevor to list only those elements for which the generate processor failed. Chapter 3. Set, Clear, and EOF Statements 3-21&lt;br /&gt;3.1 Set Statements ¦ WHERE GENERATE DATE mm/dd/yy TIME hh:mm—Tells Endevor to select only those elements with this generate date, and optionally, this time stamp. ¦ WHERE GENERATE FROM DATE mm/dd/yy TIME hh:mm—Tells Endevor to select all elements with a generate date and, optionally, a time stamp on or after the specified date and time stamps. ¦ WHERE GENERATE THROUGH DATE mm/dd/yy TIME hh:mm—Tells Endevor to select all elements with a generate date and, optionally, a time stamp earlier than and including the specified date and time stamp. ¦ WHERE GENERATE FROM DATE mm/dd/yy TIME hh:mm THROUGH DATE mm/dd/yy TIME hh:mm—Tells Endevor to select only those elements with a generate date, and optionally, time stamps within the specified range. The date(s) must be in mm/dd/yy format (leading zeros are not required). The time(s) must be in hh:mm format. If you enter a time in this clause, you must enter a date.&lt;br /&gt;SET WHERE ARCHIVE&lt;br /&gt;WHERE ARCHIVE SCL allows you to set an archive date and, optionally, time as a selection criteria. There are four possible forms for this clause:&lt;br /&gt;¦ WHERE ARCHIVE DATE mm/dd/yy TIME hh:mm—Tells Endevor to select only those elements with this archive date, and optionally, this time stamp. ¦ WHERE ARCHIVE FROM DATE mm/dd/yy TIME hh:mm—Tells Endevor to select all elements with an archive date and, optionally, a time stamp on or after the specified date and time stamps. ¦ WHERE ARCHIVE THROUGH DATE mm/dd/yy TIME hh:mm—Tells Endevor to select all elements with an archive date and, optionally, a time stamp earlier than and including the specified date and time stamp. ¦ WHERE ARCHIVE FROM DATE mm/dd/yy TIME hh:mm THROUGH DATE mm/dd/yy TIME hh:mm—Tells Endevor to select only those elements with an archive date and, optionally, a time stamp within the specified range. The date(s) must be in mm/dd/yy format (leading zeros are not required). The time(s) must be in hh:mm format. If you enter a time in this clause, you must enter a date.&lt;br /&gt;3-22 SCL Reference Guide&lt;br /&gt;3.1 Set Statements SET WHERE TEXT&lt;br /&gt;WHERE TEXT SCL limits a list to elements that contain (or do not contain) one or more specified 1- to 70-character text strings. The examples below show how you might code WHERE TEXT SCL. See The List Statement section of Chapter 4, "Element Action Statements," for an illustration of WHERE TEXT syntax.&lt;br /&gt;¦ This example tells Endevor to list all elements containing the text string "WO9- LINKAGE:" WHERE TEXT 'WO9-LINKAGE'&lt;br /&gt;¦ This example tells Endevor to list all elements that contain the text strings "COPY COPY005" and "COPY COPY010" between columns 8 and 40 of the element source: WHERE TEXT ('COPY COPY5' COLUMN 8 4 AND 'COPY COPY1' COLUMN 8 4)&lt;br /&gt;¦ This example tells Endevor to list all elements that do not contain the text string "REMARKS" between columns 8 and 15 of the element source: WHERE TEXT DOES NOT CONTAIN 'REMARKS' COLUMN 8 15&lt;br /&gt;¦ This example tells Endevor to list all elements that contain either the text string "M605SUB" or the text string "M607SUB" and do not contain the text string "M606SUB:" WHERE TEXT (('M65SUB' OR 'M67SUB')AND DOES NOT CONTAIN 'M66SUB')&lt;br /&gt;Note: The WHERE TEXT EQUAL clause cannot be used with the WHERE ACM clauses.&lt;br /&gt;SET WHERE ACM&lt;br /&gt;WHERE ACM SCL limits a list to component lists containing (or not containing) the designated 1- to 10-character component name. Wildcards are acceptable in the component name specification. See The List Statement section of Chapter 4,&lt;br /&gt;See the Set Statements section at the beginning of this chapter for complete explanations of "Element Action Statements," for an illustration of WHERE ACM syntax.. There are four clauses:&lt;br /&gt;¦ WHERE INPUT COMPONENT tells Endevor to list only input components matching your entry. This is the default. ¦ WHERE RELATED INPUT COMPONENT—tells Endevor to list only related input components matching your entry. Chapter 3. Set, Clear, and EOF Statements 3-23&lt;br /&gt;3.1 Set Statements ¦ WHERE OUTPUT COMPONENT tells Endevor to list only output components matching your criteria. ¦ WHERE RELATED OUTPUT COMPONENT—tells Endevor to list only related output components matching your entry. ¦ WHERE PROCESSOR COMPONENT tells Endevor to list only processor components matching the criteria. ¦ WHERE ALL COMPONENT tells Endevor to list for matches within all three types of components. Additional selection criteria for the component includes the following clauses.&lt;br /&gt;¦ THROUGH (THRU) comp-name—tells Endevor to list elements within a specific range of 1- to 10-character component names. The range begins with the component name coded in the WHERE COMPONENTS clause, and encompasses all components up to and including the component specified in this clause. Wildcards are acceptable in the component name specification. ¦ VERSION version—tells Endevor to list elements containing components with a specific 1- to 99-character version number. The version number of the component may differ from the version number of the element with which it is associated. ¦ LEVEL level tells—Endevor to list elements containing components with a specific 0- to 99-character level number. The level number of the component can differ from the level number of the element with which it is associated. ¦ ENVIRONMENT env name—tells Endevor to list elements with components located in the specified environment. If you provide an environment name, you must also provide the following information: – SYSTEM—1 to 8 characters – SUBSYSTEM—1 to 8 characters – TYPE—1 to 8 characters – STAGE NUMBER—either 1 or 2 3-24 SCL Reference Guide&lt;br /&gt;3.1 Set Statements ¦ FILE (DDNAME) ddname—tells Endevor to list elements whose: – Input components originated from the specified DDname – Output components were written to the specified DDname – Components were produced by a processor step specified by and associated with the designated DDname ¦ DSNAME data set name—tells Endevor to list elements whose: – Input components originated from the specified data set – Output components were written to the specified data set – Components were produced by a processor step specified by and associated with the designated data set WHERE ACM comp spec {AND/OR} comp spec&lt;br /&gt;This clause allows you to provide compound component selection criteria, using the same options as described above.&lt;br /&gt;Note: The WHERE ACM clauses cannot be used with the WHERE TEXT clause.&lt;br /&gt;WHERE PROCESSOR GROUP&lt;br /&gt;WHERE PROCESSOR GROUP SCL allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The examples below illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII) Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-25&lt;br /&gt;3.2 Clear Statements 3.2 Clear Statements 3.2.1 Overview A CLEAR statement clears the information that has been designated by a SET statement. The CLEAR statement must be in the same syntax as the SET statement to which it applies, and must be entered (at some point in your code) after that SET statement. The CLEAR statement affects all syntax following it until a new SET statement is encountered or processing ends. The CLEAR statement does not affect the related information coded within each individual element action's syntax. Because these statements are not executed, no source or output management is involved.&lt;br /&gt;3.2.2 Clear Build The CLEAR BUILD statement clears like information you have entered in the SET BUILD statement.&lt;br /&gt;3.2.3 Syntax --CLEar BUIld--¤- ---------------------¤--.------------------ +-ALL------------¦ +-ACTion---------¦ +-LEVel----------¦ +-WITh COMPonent-+&lt;br /&gt;3.2.3.1 Syntax Rules CLEAR BUILD&lt;br /&gt;You can code the following options in the CLEAR BUILD statement.&lt;br /&gt;ALL—Clears every selection designated in the related SET BUILD clause—action, level, and WITH COMPONENTS (if applicable).&lt;br /&gt;ACTION—Clears the related SET BUILD ACTION clause, no matter which action is coded in that clause.&lt;br /&gt;LEVEL—Clears the level selection designated in the related SET BUILD LEVEL clause.&lt;br /&gt;WITH COMPONENTS—Clears the related SET BUILD WITH COMPONENTS clause.&lt;br /&gt;3-26 SCL Reference Guide&lt;br /&gt;3.2 Clear Statements 3.2.4 Clear To/From 3.2.5 Syntax 3.2.5.1 Syntax Rules Note: WITH COMPONENTS pertains to the Endevor ACM product only. See the Set Build section in this chapter, and The List Statement (BUILD clause) in Chapter 4, "Element Action Statements," for additional information.&lt;br /&gt;The CLEAR TO and CLEAR FROM statements clear information from previously coded SET TO and SET FROM statements.&lt;br /&gt;--CLEar----TO------¤-------------------¤--.-----------------&lt;br /&gt;+-FROm-+ +---FILe------¦ ¦ +-DDName-+¦ +-DSName------¦ +-MEMber------¦ +-ALL---------¦ +-SITe--------¦ +-ENVironment-¦ +-SYStem------¦ +-SUBsystem---¦ +-TYPe--------¦ +-STAge-------+&lt;br /&gt;CLEAR/TO FROM&lt;br /&gt;You can enter the following values in the CLEAR TO and CLEAR FROM statements:&lt;br /&gt;FILE/DDNAME—Clears the related SET TO/FROM FILE (DDNAME) clause.&lt;br /&gt;DSNAME—Clears the related SET TO/FROM DSNAME clause.&lt;br /&gt;MEMBER—Clears the related SET TO/FROM MEMBER clause.&lt;br /&gt;ALL—Clears all clauses entered for the related SET statement(s).&lt;br /&gt;SITE—Clears the related SET FROM SITE (site ID) clause.&lt;br /&gt;ENVIRONMENT—Clears the related SET TO/FROM ENVIRONMENT clause.&lt;br /&gt;SYSTEM—Clears the related SET TO/FROM SYSTEM clause.&lt;br /&gt;SUBSYSTEM—Clears the related SET TO/FROM SUBSYSTEM clause.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-27&lt;br /&gt;3.2 Clear Statements TYPE—Clears the related SET TO/FROM TYPE clause.&lt;br /&gt;STAGE—Clears the related SET TO/FROM STAGE (ID) or SET TO/FROM STAGE NUMBER clause(s).&lt;br /&gt;3.2.6 Clear Options The CLEAR OPTIONS statement clears any "matching" SET OPTIONS statement coded previously.&lt;br /&gt;3.2.7 Syntax --CLEar OPTion--¤- ----------------------------------------------¤---- -ALL-------------------------------------¦ -CCId--ccid------------------------------¦ +-COMment--comment------------------------¦ +-COPyback--------------------------------¦ +-DELete input source---------------------¦ -DETail report---------------------------¦ -EXPand includes-------------------------¦ +-IGNore generate failed------------------¦ -JUMp------------------------------------¦ -NEW VERsion--version--------------------¦ +-NOCc------------------------------------¦ -NO SIGNOut------------------------------¦ -OVErride SIGNOut------------------------¦ -ONLy COMPonent--------------------------¦ -REPlace MEMber--------------------------¦ -SHOw TEXt- ------------------------------¦ +-PLUs n lines-+ ¦ +-SYNchronize-----------------------------¦ +-UPDate if present-----------------------¦ -WITh HIStory----------------------------¦ +---BYPass DELete PROcessor---------------¦ ¦ +-BYPass ELEment DELete---+ ¦ +---BYPass GENerate PROcessor-------------¦ ¦ + -PROcessor GROup- ---EQ----group name-+¦ ¦ +-=--+¦ +-COMponent----BROwse---------------------¦ +-CHAnge--¦¦ ¦ +-HIStory-¦¦ ¦ +-SUMmary-¦¦ ¦ +-MASter--+¦ +---NOSearch------------------------------¦ ¦ +-SEArch---+¦ +---RETain SIGNOut------------------------+&lt;br /&gt;+-SIGNin-------------¦ + -SIGNOut TO--userid-+&lt;br /&gt;--.------------------------------------------------------------------&lt;br /&gt;3-28 SCL Reference Guide&lt;br /&gt;3.2 Clear Statements 3.2.7.1 Syntax Rules 3.2.8 Clear Where 3.2.9 Syntax 3.2.9.1 Syntax Rules CLEAR OPTIONS&lt;br /&gt;Specify a particular option(s) in a CLEAR OPTIONS clause to clear only that option(s). Specify ALL to clear all options previously set. See the section, Set Options, for a description of each option.&lt;br /&gt;The CLEAR WHERE statement clears all related SET WHERE clauses coded previously.&lt;br /&gt;--CLEar WHEre--¤- ----------------------¤--.----------------- +-ALL-------------¦ +-TEXt------------¦ +-CCId------------¦ +-GENerate FAIled-¦ +-GENerate DATe---¦ +-ARChive DATe----¦ +-ACM-------------+&lt;br /&gt;CLEAR WHERE&lt;br /&gt;You can enter the following values in the CLEAR WHERE statement: ALL—Clears all SET WHERE statements previously coded. TEXT—Clears the related SET WHERE TEXT EQUALS clause. CCID—Clears the related SET WHERE CCID clause. GENERATE FAILED—Clears the related SET WHERE GENERATE&lt;br /&gt;FAILED clause.&lt;br /&gt;GENERATE DATE—Clears the related SET WHERE GENERATE DATE (and GENERATE TIME) clause. ARCHIVE DATE—Clears the related SET WHERE ARCHIVE DATE&lt;br /&gt;(and ARCHIVE TIME) clause. ACM—Clears all information coded in relation to the SET WHERE COMPONENTS EQUAL clause, including:&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-29&lt;br /&gt;3.2 Clear Statements ¦ Type of component (input, output, processor, all). ¦ THROUGH, VERSION, LEVEL in a WHERE COMPONENTS EQUAL clause. ¦ Component inventory location (environment, system, subsystem, type, and stage number). ¦ File (DDname) or data set name. 3-30 SCL Reference Guide&lt;br /&gt;3.3 EOF (EOJ) Statement 3.3 EOF (EOJ) Statement 3.3.1 Overview The EOF (EOJ) statement tells Endevor to stop parsing the SCL syntax at a particular point. For example, if you have listed two actions and want to perform only the first action, you would enter EOF. (or EOJ.) immediately after the last line of the first action (or immediately before the first line of the second action).&lt;br /&gt;If you do not use the EOF (EOJ) statement, you need to manually delete the actions (lines of code) you do not want performed.&lt;br /&gt;3.3.2 Syntax ----EOF----.------------------------------------------------ +-EOJ-+&lt;br /&gt;3.3.2.1 Syntax Rules EOF (EOJ)&lt;br /&gt;Simply code either EOF or EOJ in the appropriate place in the syntax.&lt;br /&gt;Chapter 3. Set, Clear, and EOF Statements 3-31&lt;br /&gt;3-32 SCL Reference Guide&lt;br /&gt;Chapter 4. Element Action Statements&lt;br /&gt;This chapter illustrates the syntax for each Endevor element action, and explains the coding rules specific to that statement.&lt;br /&gt;Chapter 4. Element Action Statements 4-1&lt;br /&gt;4.1 Coding Conventions 4.1 Coding Conventions Most of the actions for which you can code SCL can also be accessed in foreground or batch mode. A discussion of the processing flow for these actions can be found in the User's Guide: refer to that as necessary.&lt;br /&gt;A strict coding order applies to the THROUGH, VERSION, and LEVEL clauses, as follows:&lt;br /&gt;¦ When coding the THROUGH clause, it must immediately follow the initial action clause. If you enter a THROUGH clause, however, you cannot specify a level for the action. ¦ When coding the VERSION clause, it must immediately follow the THROUGH clause. If a THROUGH clause has not been entered, the VERSION clause must immediately follow the initial action clause. ¦ When coding the LEVEL clause, it must immediately follow the VERSION clause. If a VERSION clause has not been entered, the LEVEL clause must immediately follow the initial action clause. If you specify a LEVEL, however, you cannot enter a THROUGH clause for the action. All other clauses (following THROUGH, VERSION, and/or LEVEL) can be coded in any order.&lt;br /&gt;Note: You can enter VERSION and LEVEL for the following actions, although this is not indicated in the syntax: ADD, ARCHIVE, GENERATE, MOVE, RESTORE, SIGNIN, TRANSFER, and UPDATE. However, these fields are ignored during processing.&lt;br /&gt;4-2 SCL Reference Guide&lt;br /&gt;4.2 SCL Execution JCL 4.2 SCL Execution JCL 4.2.1 Overview As mentioned previously in this manual, you can use batch panels to enter your element action requests. The standard JCL required for execution is already defined. You most likely do not need to code additional JCL, except in special situations (for example, when you reference a file by DDname).&lt;br /&gt;If you decide not to use the batch panels, you must code specific JCL in order to execute your requests. A sample of the JCL required is provided on the installation tape and loaded to the JCL library (iprfx.iqual.JCL) during installation. The sample JCL is shown below:&lt;br /&gt;// ( COPY JOBCARD ) // // BC1JSCL JCL TO EXECUTE ENDEVOR SCL REQUESTS.  // PLEASE CONSULT YOUR ENDEVOR SCL REFERENCE MANUAL FOR A  // DESCRIPTION OF SELECTION CRITERIA.  // //REPORTS EXEC PGM=NDVRC1,DYNAMNBR=15,PARM='C1BM3',REGION=496K //STEPLIB DD DSN=SYS2.PANVALET.LOAD,DISP=SHR PANVALET LOADLIB //CONLIB DD DSN=iprfx.iqual.CONLIB,DISP=SHR //BSTIPT1 DD &lt;br /&gt; PUT SCL STATEMENTS HERE  //C1MSGS1 DD SYSOUT= MESSAGE OUTPUT //C1PRINT DD SYSOUT= PRINT ACTION FILE //SYSOUT DD SYSOUT=&lt;br /&gt;Chapter 4. Element Action Statements 4-3&lt;br /&gt;4.2 SCL Execution JCL 4.3 The &amp;amp;&amp;amp;ACTION Statement 4.3.1 Overview The &amp;amp;&amp;amp;ACTION statement allows you to substitute any action for a specified element at run time. This statement normally is generated when you use the LIST action.&lt;br /&gt;If you do not indicate a specific action(s) to be performed when you request a list, &amp;amp;&amp;amp;ACTION appears at the beginning of each clause. You can then input the appropriate action(s) at a later date, using the SET ACTION statement.&lt;br /&gt;For example, at the beginning of a month, you may want to see a list of elements involved with a particular project, although you may not know what actions you will request for those elements. If you request the list without indicating any specific actions, &amp;amp;&amp;amp;ACTION appears, in lieu of a specific action, for every action card generated. When you are ready to perform individual actions, simply specify those actions with the necessary SET ACTION clause(s).&lt;br /&gt;Whenever you execute an &amp;amp;&amp;amp;ACTION statement, you must precede it with a SET ACTION statement that contains the action to be performed. Depending on the action specified, you may need to include supplementary information, such as TO or FROM clauses, in the related SET ACTION statement. See the discussions of the SET ACTION statements in Chapter 3, "Set, Clear, and EOF Statements," and in The List Statement section in this chapter for more information.&lt;br /&gt;Note: Additional clauses may be required depending on the action coded in the SET ACTION statement. Similarly, additional optional clauses will be available depending on the action you use. See the individual action descriptions for detailed information regarding each action's requirements and options.&lt;br /&gt;4.3.2 Syntax - -&amp;amp;&amp;amp;Action ELEment- ---element-------------------------------- +-member-name-+&lt;br /&gt;----THRough----element name----------------------------------- +-THRu----+ +-VERsion-+ +-version-+&lt;br /&gt;------------------------------------------------------------- +-LEVel-+ +-level.-+&lt;br /&gt;4-4 SCL Reference Guide&lt;br /&gt;4.3.2.1 Syntax Rules 4.3 The &amp;amp;&amp;amp;ACTION Statement &amp;amp;&amp;amp;ACTION ELEMENTS element member-name&lt;br /&gt;Indicates the element(s) involved when the designated action is performed. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name. If you specify a level (in the LEVEL clause), however, you cannot use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates the range of elements affected by the &amp;amp;&amp;amp;ACTION statement. You can use a name mask with the element name. You cannot have both a THROUGH clause and a LEVEL clause.&lt;br /&gt;VERSION version&lt;br /&gt;Indicates the version you want to see for the specified element. Acceptable values are 1-99.&lt;br /&gt;You must code a full element name if you want to indicate a version number.&lt;br /&gt;If you code the VERSION clause, it must follow the THROUGH clause.&lt;br /&gt;LEVEL level&lt;br /&gt;Indicates the level you want to see for the specified element. Acceptable values are 00-99. By default, Endevor retrieves the current level of the element.&lt;br /&gt;If you enter a LEVEL clause, you cannot enter a THROUGH clause. In addition, you must code a full element name in the &amp;amp;&amp;amp;ACTION ELEMENTS clause.&lt;br /&gt;The LEVEL option is not available for all actions. Check the individual action to see if this clause can be used.&lt;br /&gt;Chapter 4. Element Action Statements 4-5&lt;br /&gt;4.3 The &amp;amp;&amp;amp;ACTION Statement 4.3.3 Example of &amp;amp;&amp;amp;ACTION SCL The following is an example of &amp;amp;&amp;amp;ACTION SCL. In this example, the SET ACTION GENERATE statement has been specified, as well the appropriate SET OPTIONS and SET FROM statements.&lt;br /&gt;SET ACTION GENERATE .&lt;br /&gt;SET FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1 .&lt;br /&gt;SET OPTIONS CCID REQ#4323 COMMENT 'REGENERATE WITH NEW COPY BOOKS' COPYBACK SEARCH .&lt;br /&gt;&amp;amp;&amp;amp;ACTION ELEMENTS PAYRPT .&lt;br /&gt;4-6 SCL Reference Guide&lt;br /&gt;4.3 The &amp;amp;&amp;amp;ACTION Statement 4.4 The Add Statement 4.4.1 Overview The ADD statement allows you to add an element to an environment's entry stage in Endevor. The entry stage for an environment is defined through the C1DEFLTS table.&lt;br /&gt;4.4.2 Add Syntax --ADD ELEment--element-name------------------------------------------ +---THRough----element-name-+ +-THRu----+&lt;br /&gt;- -FROm- -----FILe------dd-name------------------------------TO--------- +-DDName-+¦ +-DSName--dataset-name--------------------------¦ +-MEMber--member-name-+¦ +-PATH--hfspath--HFSFILE--filename--------------+&lt;br /&gt;- -ENVironment--env-name- -SYStem--sys-name--SUBsystem--subsys-name-----&lt;br /&gt;--TYPe--type-name-----------------------------------------------------&lt;br /&gt;----------------------------------------------------------------------&lt;br /&gt;-OPTion--¤--------------------------------------------------¤-+ -CCId--ccid---------------------------------¦ +-COMment--comment---------------------------¦ +-NEW VERsion--version-----------------------¦ +-UPDate if present--------------------------¦ +-DELete input source------------------------¦ -OVErride SIGNOut---------------------------¦ +---BYPass GENerate PROcessor----------------+&lt;br /&gt;+ -PROcessor GROup- ---EQual----group name-+ +-=-----+&lt;br /&gt;--.------------------------------------------------------------------&lt;br /&gt;4.4.2.1 Syntax Rules ADD ELEMENTS element-name&lt;br /&gt;Indicates the element(s) to be added. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be added, beginning with the element coded in the ADD ELEMENTS statement, up to and including the element specified in this statement. You can use a name mask with the element name. If you use the THROUGH clause, however, you cannot enter a member name in the FROM clause.&lt;br /&gt;Chapter 4. Element Action Statements 4-7&lt;br /&gt;4.4 The Add Statement Note: If you are working with a sequential file, the THROUGH clause is ignored.&lt;br /&gt;FROM FILE (DDNAME) dd-name DSNAME dataset-name MEMBER member-name&lt;br /&gt;PATH hfspath HFSFILE filename&lt;br /&gt;The FROM clause indicates the location of the element being added. Endevor uses both the FROM clause in the action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;The SET FROM statement allows you to specify only a file (DDname) or data set name, not a member name.&lt;br /&gt;You must enter a FILE, DDNAME, DSNAME, or PATH in conjunction with HFSFILE (enter one and only one). If you enter either a FILE or DDNAME, be sure the appropriate JCL DD statement is coded.&lt;br /&gt;Enter a member name (up to 10 characters) if it differs from the element name specified in the ADD ELEMENTS clause. If you do not enter a member name, Endevor assumes that the element name and member name are the same. If you provide a member name:&lt;br /&gt;¦ The ADD ELEMENTS clause must contain a fully qualified element name. ¦ You cannot also code a THROUGH clause. PATH&lt;br /&gt;The HFS directory where the element source file resides.&lt;br /&gt;HFSFILE&lt;br /&gt;The file in the HFS directory that you want to put under the control of Endevor.&lt;br /&gt;4-8 SCL Reference Guide&lt;br /&gt;4.4 The Add Statement For more information see 1.6.1, “HFSFile Syntax Rules” on page 1-23.1.6.1, “HFSFile Syntax Rules” on page 1-23.&lt;br /&gt;TO ENVIRONMENT env-name&lt;br /&gt;SYSTEM sys-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;The TO clause indicates where the element is being added. Endevor uses both the TO clause in the action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, and type for the ADD action. Remember that you cannot use a name mask with any field in the TO location.&lt;br /&gt;OPTIONS&lt;br /&gt;OPTION clauses allow you to further specify action requests.&lt;br /&gt;CCID ccid/COMMENT comment—You can enter a 1- to 12-character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the ADD action fails.&lt;br /&gt;When you specify a CCID and/or comment in an ADD action, Endevor treats the CCID and/or COMMENT fields differently depending on whether you are adding a new element or an existing element.&lt;br /&gt;¦ When you specify a CCID and/or comment in an ADD action for a new element, Endevor uses this CCID and/or comment to: – Set the source and source delta CCID and/or COMMENT fields. – Set the generate and component list delta CCID and/or COMMENT fields if the generate processor is run. – Set the last action CCID and/or COMMENT fields. Endevor also clears the environment's entry stage RETRIEVE CCID and/or COMMENT fields when you add a new element.&lt;br /&gt;Chapter 4. Element Action Statements 4-9&lt;br /&gt;4.4 The Add Statement ¦ When you specify a CCID and/or comment in an ADD action for an existing element, Endevor uses this CCID and/or comment to: – Set the source CCID and/or COMMENT fields if the CCID and/or comment has changed. – Set the source delta CCID and/or COMMENT fields. – Set the generate CCID and/or COMMENT fields if the generate proc&amp;amp;essor is run. – Set the component list delta CCID and/or COMMENT fields if running the generate processor creates a change. – Set the last action CCID and/or COMMENT fields. Endevor also clears the environment's entry stage RETRIEVE CCID and/or COMMENT fields when you add an existing element. If you use the BYPASS GENERATE PROCESSOR option, the ADD action does not set the generate or component list delta CCID and/or COMMENT fields.&lt;br /&gt;NEW VERSION version—If the element exists up the map, the version number associated with the existing element will be assigned, by default. If the element does not exist up the map, the element is assigned version 1.&lt;br /&gt;UPDATE IF PRESENT—To successfully add an element to Endevor, that element cannot currently exist in the entry stage. If the element is present in the entry stage, Endevor returns an error message. The UPDATE IF PRESENT option, however, allows you to add the element even if it is in the entry stage, by automatically changing the ADD action to UPDATE.&lt;br /&gt;DELETE INPUT SOURCE—After an element has been successfully added to Endevor, you can use this option to remove the member from the library in which it originated.&lt;br /&gt;If you input a sequential file, this option deletes that file.&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option to perform this action. This option updates the signout ID at the appropriate stage, with the user ID of the person performing the override. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;BYPASS GENERATE PROCESSOR—Use this option if you do not want the generate processor executed for the element. Otherwise, as part of normal processing, Endevor looks for and executes the generate processor for the element when it is added.&lt;br /&gt;4-10 SCL Reference Guide&lt;br /&gt;4.4 The Add Statement PROCESSOR GROUP EQ/= group name—You can specify that a particular processor group be used for this action. If you do not indicate a processor group and:&lt;br /&gt;¦ You are adding a new member, the system defaults to the processor group associated with the type to which the element is assigned. ¦ You are adding an existing element, the system defaults to the processor group last used for this element. 4.4.3 Example of Add SCL The following is an example of ADD SCL. This SCL adds a new element to the Payroll reporting subsystem in the environment PROD. After the ADD action completes, the source member will be deleted.&lt;br /&gt;ADD ELEMENT 'PAYRPT31'&lt;br /&gt;TO ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE ' COBOL'&lt;br /&gt;FROM DSNAME 'PAYROLL.SRCLIB'&lt;br /&gt;OPTIONS DELETE INPUT SOURCE CCID REQ#43213 COMMENT 'ADD THE NEW PAYROLL REPORTING PROGRAM' .&lt;br /&gt;Chapter 4. Element Action Statements 4-11&lt;br /&gt;4.4 The Add Statement 4.5 The Archive Statement 4.5.1 Overview The ARCHIVE statement writes the base level and all change levels of an element to a sequential file (known as an archive data set). In addition, for Endevor ACM users, the ARCHIVE action writes the base level and all change levels of the Component List to the archive data set.&lt;br /&gt;Use the ARCHIVE action to:&lt;br /&gt;¦ Maintain a backup copy of the element source. ¦ Delete the existing version of a particular element from Stage 2. ¦ Maintain an archive version of the element source, that is, to maintain a version of the element source outside of Endevor. Archive is available in batch only. Once an element has been archived, COPY, LIST, RESTORE, and TRANSFER actions can be executed against the archive data set.&lt;br /&gt;4-12 SCL Reference Guide&lt;br /&gt;4.5 The Archive Statement 4.5.2 Syntax --ARChive ELEment--element-name------------------------------&lt;br /&gt;---------------------------------FROm------------------------- ---THRough----element-name-+ +-THRu----+&lt;br /&gt;- -ENVironment--env-name--SYStem--sys-name---------------------&lt;br /&gt;- -SUBsystem--subsys-name--TYPe--type-name---------------------&lt;br /&gt;----STAge--stage-id-----------TO----FILe------dd-name--------- -STAge NUMber--stage-no-++-DDName-+&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;-----------------------------------------------.-------------&lt;br /&gt;-OPTion--¤-----------------------------¤-+ +-CCId--ccid------------¦ +-COMment--comment------¦ +-OVErride SIGNOut------¦ +-BYPass ELEment DELete-+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)-------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)---------------¦ +-=--+&lt;br /&gt;4.5.2.1 Syntax Rules ARCHIVE ELEMENTS element-name&lt;br /&gt;Indicates the element(s) to be archived. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;Chapter 4. Element Action Statements 4-13&lt;br /&gt;4.5 The Archive Statement THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be archived, beginning with the element coded in the ARCHIVE ELEMENTS statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM sys-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element being archived. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. TO FILE (DDNAME) dd-name&lt;br /&gt;The TO clause indicates where the element is being archived. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;4-14 SCL Reference Guide&lt;br /&gt;4.5 The Archive Statement The DCB must specify variable blocked records (RECFM=VB), and the DSORG should be PS.&lt;br /&gt;¦ The minimum LRECL should be the greater of 3 times the maximum MCF-record length or the TYPE-LENGTH plus (+) 14. ¦ When archiving to disk, the recommended block size is one-half a track, and the recommended LRECL is one-half a track minus (-) 4 unless the previous rule requires a bigger LRECL/BLKSIZE. ¦ When archiving to tape, the recommended block size is 32760 and the recommended LRECL is 32756. WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID OF ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary. The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4) Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;Chapter 4. Element Action Statements 4-15&lt;br /&gt;4.5 The Archive Statement WHERE PROCESSOR GROUP EQ/= group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify requests.&lt;br /&gt;CCID ccid/COMMENTcomment—You can enter a 1- to 12- character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDS and/or comments may be required. If you do not provide a required CCID and/or comment, the ARCHIVE action fails.&lt;br /&gt;This is the CCID that Endevor looks for if WHERE ARCHIVE CCID is specified for the LIST, COPY, RESTORE, and TRANSFER actions.&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option in order to perform this action. Note, however, that OVERRIDE SIGNOUT does not apply when you select the BYPASS ELEMENT DELETE option for this action. This option updates the SIGNOUT ID at the appropriate stage with the user ID of the person performing the override. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;BYPASS ELEMENT DELETE—Use this option if you do not want the element automatically deleted (the default) after it is archived. Otherwise, Endevor deletes the element, that is, the base and all change levels.&lt;br /&gt;4-16 SCL Reference Guide&lt;br /&gt;4.5 The Archive Statement 4.5.3 Example of Archive SCL The following is an example of ARCHIVE SCL. This SCL archives all of the elements from the Payroll Reporting subsystem. The archived elements will be written to the preallocated DD name "ARCHOUT.' The signout status will be overridden, if necessary.&lt;br /&gt;ARCHIVE ELEMENT ''&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;TO DDNAME ARCHOUT&lt;br /&gt;OPTIONS CCID REQ#44145 COMMENT 'ARCHIVE REPORTING SUBSYSTEM PROGRAMS' OVERRIDE SIGNOUT .&lt;br /&gt;Chapter 4. Element Action Statements 4-17&lt;br /&gt;4.5 The Archive Statement 4.6 The Copy Statement 4.6.1 Overview The COPY statement copies an element from an archive data set to a user data set (that is, a data set external to Endevor). The user data set can be a library (an AllFusion CA-Panvalet file, an AllFusion CA-Librarian file, or a PDS) or a sequential file. The element is not restored to the Master Control File.&lt;br /&gt;The COPY action is available in batch only. Note, also, that copy processing is strictly external to Endevor.&lt;br /&gt;4-18 SCL Reference Guide&lt;br /&gt;4.6 The Copy Statement 4.6.2 Syntax --COPy ELEment--element-name---------------------------------&lt;br /&gt;-------------------------------------------------------------- ---THRough----element-name-++-VERsion--version-+ +-THRu----+&lt;br /&gt;--FROm----FILe------dd-name----------------------------------- +-DDName-+ +-SITe--site-id-+&lt;br /&gt;- -ENVironment--env-name--SYStem--sys-name---------------------&lt;br /&gt;- -SUBsystem--subsys-name--TYPe--type-name---------------------&lt;br /&gt;--STAge NUMber--stage-no--TO----------------------------------&lt;br /&gt;------FILe------dd-name--------------------------------------- +-DDName-+¦ +-DSName--dataset-name--------------------------¦ +-MEMber--member-name-+¦ +-PATH--hfspath--HFSFILE--filename--------------+&lt;br /&gt;-------------------------------------------------------------- -WHERE--¤------------------------------------¤-+ +-,----+¦&lt;br /&gt;+-CCId----EQ----(----ccid----)-¦ +-=--+¦ +-ARChive----¦ DATE +----------+&lt;br /&gt;+-¦ FROM +----¦ +-¦ THROUGH +-+&lt;br /&gt;-----------------------------------.------------------------- -OPTions---------------------+ +-REPlace member-+&lt;br /&gt;DATE:&lt;br /&gt;+- -DATe- -- -- -&lt;br /&gt;-EQ- -date--- -&lt;br /&gt;-------------------- -----------------¦ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;FROM:&lt;br /&gt;+- -FROm--DATe- -- -- -&lt;br /&gt;-EQ- -date--- -&lt;br /&gt;-------------------- -----------¦ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;THROUGH:&lt;br /&gt;+----THRough----DATe----EQ----date-----------------------------¦ +-THRu----+ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;Chapter 4. Element Action Statements 4-19&lt;br /&gt;4.6 The Copy Statement 4.6.2.1 Syntax Rules 4-20 SCL Reference Guide&lt;br /&gt;COPY ELEMENTS element-name&lt;br /&gt;Indicates the element(s) you want to copy. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that you want to copy a range of elements, beginning with the element coded in the COPY ELEMENTS statement, up to and including the element specified in this statement. You can use a name mask with the element name. If you enter the THROUGH clause, however, you cannot enter a member name (in the TO clause).&lt;br /&gt;VERSION version&lt;br /&gt;Indicates the version of the element you want to copy. Acceptable values are 1-99.&lt;br /&gt;You must code a full element name if you want to indicate a version number.&lt;br /&gt;If you code the VERSION clause, it must follow the THROUGH clause.&lt;br /&gt;FROM FILE (DDNAME) dd-name&lt;br /&gt;ENVIRONMENT env-name&lt;br /&gt;SYSTEM sys-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element being copied. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;The FILE (DDNAME) portion of the clause is required. The file name indicates from which archive file the element is being copied. Enter this information first when coding the syntax.&lt;br /&gt;4.6 The Copy Statement You must specify an environment, system, subsystem, type, and stage number (either 1 or 2). The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage.&lt;br /&gt;Entering a site ID is optional. This field further defines the location of the element being copied.&lt;br /&gt;TO FILE (DDNAME) dd-name&lt;br /&gt;DSNAME dataset-name&lt;br /&gt;MEMBER member-name&lt;br /&gt;The TO clause indicates the file or data set name to which the element is being copied. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;You must enter either a FILE, a DDNAME, or a DSNAME (enter one and only one). If you enter a FILE or DDNAME, be sure the appropriate JCL is coded.&lt;br /&gt;Enter a member name (up to 10 characters) if it differs from the element name specified in the COPY ELEMENTS clause. Remember that you cannot use a name mask with a TO field name.&lt;br /&gt;If you do not enter a member name, Endevor assumes that the element name and member name are the same.&lt;br /&gt;¦ You can enter a member name only if a full element name has been coded in the COPY ELEMENTS clause; that is, if you have not used a name mask. ¦ If you want to code a member name, you must do so in the COPY statement; the SET TO MEMBER clause does not apply to the COPY action. If you do enter a member name, you cannot use the THROUGH clause. Chapter 4. Element Action Statements 4-21&lt;br /&gt;4.6 The Copy Statement WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID EQ/= ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID EQ PROJV&lt;br /&gt;Example 2: WHERE CCID (PROJ1, PROJ2, PROJ4)&lt;br /&gt;WHERE ARCHIVE—This clause allows you to select elements based on the date and, optionally, time that an element was archived. There are four possible forms for this clause:&lt;br /&gt;WHERE ARCHIVE DATE mm/dd/yy [TIME hh:mm ]&lt;br /&gt;This clause tells Endevor to copy only those elements with this date, and optionally, time stamp.&lt;br /&gt;WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ]&lt;br /&gt;This clause tells Endevor to copy all elements with a date and, optionally, time stamp on or after the specified date and time stamps.&lt;br /&gt;WHERE ARCHIVE THROUGH DATE mm/dd/yy [TIME hh:mm ]&lt;br /&gt;This clause tells Endevor to copy all elements with a date and, optionally, time stamp earlier than and including the specified date and time stamp.&lt;br /&gt;4-22 SCL Reference Guide&lt;br /&gt;4.6 The Copy Statement WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ] TH ROUGH DATE mm/dd/yy [TIME hh:mm ]&lt;br /&gt;This clause tells Endevor to copy only those elements with a date, and optionally, time stamps within the specified range. If you enter a time, you must enter the date with it.&lt;br /&gt;OPTIONS REPLACE MEMBER&lt;br /&gt;If the element you are copying exists in the target location, Endevor rejects the request unless you code the REPLACE MEMBER option. Specify this option when you want to replace the existing member in the library.&lt;br /&gt;4.6.3 Example of Copy Action SCL The following is an example of the COPY action. This SCL copies the archived version of Payroll program "PAYRPT43" to a user data set. The input is taken from a DDname that refers to a data set that was created with the ARCHIVE action.&lt;br /&gt;COPY ELEMENT 'PAYRPT43'&lt;br /&gt;FROM DDNAME ARCHIVE ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;TO DSNAME 'PAYROLL.SRCLIB' MEMBER 'PAYRPT43' OPTIONS REPLACE MEMBER .&lt;br /&gt;Chapter 4. Element Action Statements 4-23&lt;br /&gt;4.6 The Copy Statement 4.7 The Delete Statement 4.7.1 Overview The DELETE statement deletes an element from the specified inventory location.&lt;br /&gt;4.7.2 Syntax --DELete ELEment--element-name-------------------------------&lt;br /&gt;-------------------------------------------------------------- ---THRough----element-name-+ +-THRu----+&lt;br /&gt;- -FROm- -ENVironment--env-name--SYStem--sys-name---------------&lt;br /&gt;- -SUBsystem--subsys-name--TYPe--type-name---------------------&lt;br /&gt;----STAge--stage-id------------------------------------------- -STAge NUMber--stage-no-+&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;------------------------------------------.------------------&lt;br /&gt;-OPTion--¤------------------------¤-+ +-CCId--ccid-------¦ +-COMment--comment-¦ +-ONLy COMPonent---¦ +-OVErride SIGNOut-+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)-------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)---------------¦ +-=--+&lt;br /&gt;4-24 SCL Reference Guide&lt;br /&gt;4.7.2.1 Syntax Rules 4.7 The Delete Statement DELETE ELEMENTS element-name&lt;br /&gt;Indicates the element(s) to be deleted. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be deleted, beginning with the element coded in the DELETE ELEMENTS statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM sys-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element being deleted. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. Chapter 4. Element Action Statements 4-25&lt;br /&gt;4.7 The Delete Statement WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID OF ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4)&lt;br /&gt;Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;WHERE PROCESSOR GROUP EQ/= group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;4-26 SCL Reference Guide&lt;br /&gt;4.7 The Delete Statement The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;CCID ccid/COMMENT comment—You can enter a 1- to 12- character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the DELETE action fails.&lt;br /&gt;ONLY COMPONENTS—Applicable for Endevor ACM users only. Indicates whether you want to delete both the element component list and the element, or the element component list only. Y (yes—delete just the element component list) or N (no—delete the element as well as the element component list).&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option in order to perform this action. This option updates the SIGNOUT ID at the appropriate stage with the user ID of the person performing the override. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;4.7.3 Example of Delete Action SCL The following is an example of DELETE SCL. This SCL deletes an element from Stage 2. The signout will be overridden, if necessary.&lt;br /&gt;DELETE ELEMENT 'PAYRPT3'&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 2&lt;br /&gt;OPTIONS CCID REQ#4334 COMMENT 'DELETE AN OBSOLETE PAYROLL PROGRAM' OVERRIDE SIGNOUT .&lt;br /&gt;Chapter 4. Element Action Statements 4-27&lt;br /&gt;4.7 The Delete Statement 4.8 The Generate Statement 4.8.1 Overview The GENERATE statement executes the generate processor for the current level of an element, in either Stage 1 or Stage 2.&lt;br /&gt;4.8.2 Syntax --GENerate ELEment--element-name---------------------------------FROm--------- +---THRough----element-name-+ +-THRu----+&lt;br /&gt;- -ENVironment--env-name- -SYStem--sys-name--SUBsystem--subsys-name--------------&lt;br /&gt;- -TYPe--type-name----STAge--stage-id------------------------------------------- + -STAge NUMber--stage-no-+&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;-------------------------------------------------------------.----------------&lt;br /&gt;-OPTion--¤-------------------------------------------¤-+ -CCId--ccid--------------------------¦ +-COMment--comment--------------------¦ +-OVErride SIGNOut--------------------¦ +-SEArch---+¦ +-COPyback----NOSearch----------------¦ -PROcessor GROup- ---EQ----group name-+&lt;br /&gt;+-=--+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)------------------------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+--PROcessor GROup- ---EQ--------------------------------------------------------¦ +-=--+&lt;br /&gt;4.8.2.1 Syntax Rules GENERATE ELEMENTS element-name&lt;br /&gt;Indicates the element(s) to be generated. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name .&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be generated, beginning with the element coded in the GENERATE ELEMENTS statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;4-28 SCL Reference Guide&lt;br /&gt;4.8 The Generate Statement FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element being generated. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. If you use a name mask, Endevor begins searching for the specified element(s) in Stage 1 of the current environment, and generates the first element that matches the specified element name, regardless of its location, version or level.&lt;br /&gt;Chapter 4. Element Action Statements 4-29&lt;br /&gt;4.8 The Generate Statement WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID OF ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File's RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4)&lt;br /&gt;Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;WHERE PROCESSOR GROUP EQ/= group name— This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;4-30 SCL Reference Guide&lt;br /&gt;4.8 The Generate Statement The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow to further specify an action request.&lt;br /&gt;CCID ccid/COMMENT comment— You can enter a 1- to 12- character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the GENERATE action fails.&lt;br /&gt;When you specify a CCID and/or comment in a GENERATE action, Endevor updates the CCID and/or COMMENT fields differently, depending on whether you specify the GENERATE action with or without the COPYBACK option.&lt;br /&gt;When you specify a CCID and/or comment in a GENERATE action without the COPYBACK option, Endevor uses this CCID and/or comment to:&lt;br /&gt;¦ Set the generate CCID and/or COMMENT fields. ¦ Set the last action CCID and/or COMMENT fields. ¦ Set the component list delta CCID and/or COMMENT fields if running the generate processor creates a change. When you specify a CCID and/or comment in a GENERATE action with the COPYBACK option, Endevor uses this CCID and/or comment to:&lt;br /&gt;¦ Set the generate and component list delta CCID and/or COMMENT fields. ¦ Set the last action CCID and/or COMMENT fields. Endevor also uses the CCID and comment associated with the copied-back element to set the source and source delta CCID and/or COMMENT fields when you generate that element using the COPYBACK option.&lt;br /&gt;COPYBACK—If you select this option, Endevor first copies the current level of the element back to the FROM stage, then generates the element.&lt;br /&gt;Chapter 4. Element Action Statements 4-31&lt;br /&gt;4.8 The Generate Statement Endevor searches for the element first in the current environment, then in other stages along the map. You can restrict the search to the current environment by coding the NOSEARCH option.&lt;br /&gt;If the element currently exists in the FROM stage, Endevor ignores the COPYBACK option and simply generates the element.&lt;br /&gt;SEARCH or NOSEARCH—This option is valid only when you have selected the COPYBACK option. The SEARCH option tells Endevor to look for the element to be generated with copyback along the map, if it is not in the current environment.&lt;br /&gt;Code NOSEARCH to restrict Endevor's search to the current environment.&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option in order to perform this action. This option updates the SIGNOUT ID at the appropriate stage with the user ID of the person performing the override. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;PROCESSOR GROUP EQ/= group name—Select this option to specify a predefined, named group of processors. If you do not specify a processor group, Endevor defaults to the processor group last used for this element.&lt;br /&gt;4.8.3 Example of Generate SCL The following is an example of GENERATE SCL. This SCL generates COBOL program PAYRPT01 at Stage 1. The element will be fetched if it does not already exist at Stage 1.&lt;br /&gt;GENERATE ELEMENT 'PAYRPT17'&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE COBOL STAGE NUMBER 1&lt;br /&gt;OPTIONS CCID REQ#4323 COMMENT 'REGENERATE WITH NEW COPY BOOKS' COPYBACK SEARCH .&lt;br /&gt;4-32 SCL Reference Guide&lt;br /&gt;4.8 The Generate Statement 4.9 The List Statement 4.9.1 Overview The LIST statement scans elements or members in the Master Control File, an archive data set, or a library, and generates a list of elements/members that meet your selection criteria. The LIST action is available in batch only. The WHERE clause supplies the selection criteria for the LIST action. It selects the elements based on content as opposed to the names of the elements.&lt;br /&gt;The LIST action searches for elements and/or members in a location defined by the data you enter in the FROM clause. You can request a LIST action from one of the following:&lt;br /&gt;¦ Endevor (Master Control File) ¦ An archive data set ¦ An external library The processing involved is the same for each type of LIST request. The clauses required, however, depend on the location being searched. Similarly, the options available depend on the location of the element or member. This section of the chapter addresses each type of LIST request separately; the appropriate syntax is illustrated first, followed by a complete discussion of the associated LIST action rules.&lt;br /&gt;4.9.2 List from Endevor Statement The LIST FROM Endevor statement generates a list of elements from Endevor's Master Control File.&lt;br /&gt;4.9.3 Syntax --LISt ELEment--element-name----THRough----element-name--FROm--ENVironment--env-name----- +-THRu----+&lt;br /&gt;- -SYStem--sys-name- -SUBsystem--subsys-name--TYPe--type-name-------------------------------&lt;br /&gt;----STAge--stage-id----------------------------------------------------------------------- -STAge NUMber--stage-no-+&lt;br /&gt;------------------------------------------------------------------------------------------ +-SYSOut----------------------------------------+¦ +-TO--+---FILe------dd-name---------------------------+-+&lt;br /&gt;+-DDName-+¦&lt;br /&gt;+-DSName--dataset-name--------------------------+ +-MEMber--member-name-+&lt;br /&gt;- -WHEre--¤- -- -- ---------------------- -¤--- -&lt;br /&gt;------------------------------------------ ----- +-¦ CCID +------------¦ +-BUIld--¤-------------------------------¤-++-¦ GENERATE +--------¦ ¦ +-&amp;amp;&amp;amp;Action----+ ¦ +-¦ SPEC +------------¦ +-ACTion----action-name---¦+-¦ PROCESSOR GROUP +-+ ¦ +-CURrent-+¦&lt;br /&gt;+-LEVel--+-NONe----+------¦ ¦ +-ACTual--+¦ +-WITh COMponent----------+&lt;br /&gt;Chapter 4. Element Action Statements 4-33&lt;br /&gt;4.9 The List Statement ----------------------------------------------------.------------------------------------&lt;br /&gt;-OPTion--¤----------------------------------¤-+ +-REPlace member-------------¦ +-DETail REPort--------------¦ + -SHOw TEXt- -----------------¦ +-PLUs n line-+¦ ¦ +-NOSearch-+¦ +---SEArch-------------------+&lt;br /&gt;CCId:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+------------------------+-------+--(----ccid----)-----------------------------------------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;GENERATE:&lt;br /&gt;+--GENerate----FAIled----------------------------------------------------------------------¦ +-EQual-+¦ +-DATe----=--------date-----------------------------------¦ +-TIMe--------------------date-+¦ ¦ ¦ +-EQual-+¦ ¦ ¦ +------------=-+¦ +-¦ FROM +------------------------------------------------¦ +-¦ THROUGH +---------------------------------------------¦ +-¦ FROM-THROUGH +----------------------------------------+&lt;br /&gt;FROM:&lt;br /&gt;+-EQual-+ +--FROM--DATe--+-------+--date-------------------------------------------------------------¦ +-=-----+ ¦ +-EQual-+¦ +-TIMe----=--------time-+&lt;br /&gt;THRough:&lt;br /&gt;+-EQual-+ +-------------------DATe--+-------+--date--------------------------------------------------¦ +---THRough---+ +-=-----+ ¦ +-EQual-+¦&lt;br /&gt;+-THRu----+ +-TIMe--+-------+-+ +-=-----¦ +-time--+&lt;br /&gt;FROM-THROUGH:&lt;br /&gt;+-EQual-+ +-EQual-+&lt;br /&gt;+--FROM--DATe----=--------date-------------------------------THRough----DATe--+-------+---- ¦ +-EQual-+ ¦ +-THRu----+ +-=-----+ +-TIMe--+-------+--time-+&lt;br /&gt;+-=-----+&lt;br /&gt;--date------------------------------------------------------------------------------------¦ +-EQual-+¦ +-TIMe--+-------+--time-+ +-=-----+&lt;br /&gt;SPEC:&lt;br /&gt;+----TEXt----text-spec---------------------------------------------------------------------¦ ¦ +-,---------+ +-,---------+¦ ¦&lt;br /&gt;¦ +---text-spec------AND------text-spec---+¦ ¦ +-OR--+¦ +-ACM----comp-spec--------------------------------+&lt;br /&gt;+-,---------+ +-,---------+¦&lt;br /&gt;+---comp-spec------AND------comp-spec---+ +-OR--+&lt;br /&gt;PROCESSOR GROUP:&lt;br /&gt;+-EQuAL-+ +-,----------+&lt;br /&gt;+--PROcessor GROup--+-------+--(----group name----)----------------------------------------¦ +-=-----+&lt;br /&gt;Where text-spec is replaced as necessary with:&lt;br /&gt;-----------------------------text------------------------------------------------------- +-EQual---+ ¦ +--------------start-pos--end-pos-+ + -DOEs NOT- -+---------+-++-columns-+&lt;br /&gt;+-CONTain-¦ +-=-------+&lt;br /&gt;and comp-spec is replaced as necessary with:&lt;br /&gt;4-34 SCL Reference Guide&lt;br /&gt;4.9 The List Statement +-INPut-----+ ---------------+-----------+--COMPonent--------------------------------------------------&lt;br /&gt;+-RELated-+ +-OUTput----¦ +---------------------------+ +-PROcessor-¦ + -DOEs NOT-+ +-CONTain-¦ +-ALL-------+ +-EQ------¦&lt;br /&gt;+-=-------+&lt;br /&gt;--comp-name--¤---------------------------------------------------------------¤------------ ---THRough----comp-name----------------------------------¦ +-THRu----+¦ +-ENVironment--env-name- -¤- -----------------------------¤-¦ +-SYStem--sys-name-------¦ ¦ ¦ +-SUBsystem--subsys-name-¦¦ ¦ +-TYPe--type-name--------¦ ¦ ¦ + -STAge NUMber--stage-no-¦¦ ¦ +-VERsion--version-------¦ ¦ ¦ +-LEVel--level-----------+ ¦ +---FILe------dd-name-------------------------------------¦ +-DDName-+¦ +-DSNname--dataset-name-----------------------------------+&lt;br /&gt;--RELated-----------------------COMponent------------------------------------------------- +-OBJect--COMment-+&lt;br /&gt;----------------------------------------------------------------------------.------------ +----------------------------text--------------------------------------+&lt;br /&gt;+-DOEs NOT-+ +-CONTain-¦ +--------------start-pos--end pos-+ +-EQ------¦ +-columns-+ +-=-------+&lt;br /&gt;4.9.3.1 Syntax Rules LIST ELEMENT element-name&lt;br /&gt;Indicates the element(s) to be listed. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be listed, beginning with the element coded in the LIST ELEMENT clause, up to and including the element specified in this statement. You can use a name mask with the element name. If you code the THROUGH clause, you cannot enter a member name (in the TO clause).&lt;br /&gt;FROM ENVIRONMENT env-name SYSTEM system-name SUBSYSTEM subsys-name TYPE type-name STAGE stage-id STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element to be listed. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. Chapter 4. Element Action Statements 4-35&lt;br /&gt;4.9 The List Statement See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. TO&lt;br /&gt;The TO clause indicates where the element is to be listed. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;TO SYSOUT—SYSOUT is the default TO location. If you do not provide a TO clause, and no SET TO information has been coded, Endevor writes the action cards to the Execution Report. The Execution Report appears immediately after the LIST request and cannot be edited.&lt;br /&gt;TO FILE (DDNAME) dd-name or DSNAME dataset- name— You can tell Endevor to write action cards to both the Execution Report and an external data set by providing a file name (DDname) or a data set name; if you enter a FILE or DDNAME, be sure the appropriate JCL is coded. Use this option if you want to edit the action cards.&lt;br /&gt;TO MEMBER member-name— Enter a member name (up to 10 characters). This clause is valid only if you are not specifying a sequential file.&lt;br /&gt;¦ Endevor ignores a member specification if you have coded the TO SYSOUT option. ¦ The action fails if you code a member name along with a file (DDname) or data set name that is sequential. 4-36 SCL Reference Guide&lt;br /&gt;4.9 The List Statement If you are using PDSs and do not provide a member name, Endevor assigns a temporary name of TEMPNAME. If you wish to use the temporary naming capability, do not code multiple list requests to the same external data set.&lt;br /&gt;If you are using a PDS and have multiple list statements with only one member name on a SET statement, then all lists go to same member name and only first LIST results are available.&lt;br /&gt;WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID OF ccid — Limits the list to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4)&lt;br /&gt;Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;Chapter 4. Element Action Statements 4-37&lt;br /&gt;4.9 The List Statement WHERE GENERATE—This clause allows you to select elements based on the date and, optionally, time that an element was generated. There are five forms for this clause.&lt;br /&gt;¦ WHERE GENERATE FAILED—Tells Endevor to list only those elements for which the generate processor failed. ¦ WHERE GENERATE DATE mm/dd/yy [TIME hh:mm ]—Tells Endevor to list only those elements with this date, and optionally, time stamp. ¦ WHERE GENERATE FROM DATE mm/dd/yy [TIME hh:mm ] —Tells Endevor to list all elements with a date and, optionally, time stamp on or after the specified date and time stamps. ¦ WHERE GENERATE THROUGH DATE mm/dd/yy [TIME hh:mm ]—Tells Endevor to list all elements with a date and, optionally, time stamp earlier than and including the specified date and time stamp. ¦ WHERE GENERATE FROM DATE mm/dd/yy [TIME hh:mm ] THROUGH DATE mm/dd/yy [TIME hh:mm]—Tells Endevor to list only those elements with date, and optionally, time stamps within the specified range. If you enter a time, you must enter the date with it. WHERE TEXT text spec—Limits the list to elements that contain (or do not contain) one or more specified 1- to 70-character text strings.&lt;br /&gt;Examples:&lt;br /&gt;WHERE TEXT 'WO9-LINKAGE'&lt;br /&gt;In this example, Endevor lists all elements containing the text string WO9-LINKAGE.&lt;br /&gt;WHERE TEXT ((EQ 'COPY COPY005' COLUMN 8 40) AND EQ 'COPY COPY010' COLUMN 8 40))&lt;br /&gt;In this example, Endevor lists all element containing the text strings COPY COPY005 and COPY COPY010 between columns 8 and 40 of the element source.&lt;br /&gt;WHERE TEXT DOES NOT CONTAIN 'REMARKS' COLUMN 8 15&lt;br /&gt;In this example, Endevor lists all elements that do not contain the text string REMARKS between columns 8 and 15 of the element source.&lt;br /&gt;WHERE TEXT (('M605SUB' OR 'M607SUB') AND DOES NOT CONTAIN 'M606SUB')&lt;br /&gt;4-38 SCL Reference Guide&lt;br /&gt;4.9 The List Statement In this example, Endevor lists all elements that contain either the text string M605SUB or the text string M607SUB and do not contain the text string M606SUB.&lt;br /&gt;The WHERE TEXT EQUAL clause cannot be used with the WHERE ACM clauses.&lt;br /&gt;WHERE [ACM] comp spec—Limits the list to component lists containing the designated 1- to 10-character component name. Wildcards are acceptable in the component name specification.&lt;br /&gt;WHERE INPUT COMPONENT—is the default. It tells Endevor to list both input components and related input components matching your entry.&lt;br /&gt;WHERE RELATED INPUT COMPONENT—Tells Endevor to list only related input components matching your entry.&lt;br /&gt;WHERE OUTPUT COMPONENT—Tells Endevor to list both output components and related output components matching your criteria.&lt;br /&gt;WHERE RELATED OUTPUT COMPONENT—Tells Endevor to list only related output components matching your entry.&lt;br /&gt;WHERE PROCESSOR COMPONENT—Tells Endevor to list only processor components matching the criteria.&lt;br /&gt;WHERE ALL COMPONENT—Tells Endevor to list matches within all three types of components.&lt;br /&gt;WHERE RELATED OBJECT COMPONENT—Tells Endevor to list only objects matching your entry.&lt;br /&gt;WHERE RELATED COMMENT COMPONENT—Tells Endevor to list comments matching your entry. Note that this applies only to comments that have been added to the component list by the CONRELE utility in a processor step. For more information on the CONRELE utility, see the Extended Processors Guide&lt;br /&gt;You can further specify the component using the following clauses.&lt;br /&gt;THROUGH (THRU) comp-name—Tells Endevor to list elements containing one in a specific range of 1- to 10-character component names. The range begins with the component name coded in the WHERE COMPONENTS clause, and encompasses all components up to and including the component specified in this clause. Wildcards are acceptable in the component name specification.&lt;br /&gt;Chapter 4. Element Action Statements 4-39&lt;br /&gt;4.9 The List Statement ENVIRONMENT env name—Tells Endevor to list elements with components located in the specified environment. If you provide an environment name you must also provide the following:&lt;br /&gt;SYSTEM—1 to 8 characters&lt;br /&gt;SUBSYSTEM—1 to 8 characters&lt;br /&gt;TYPE—1 to 8 characters&lt;br /&gt;STAGE NUMBER—either 1 or 2&lt;br /&gt;VERSION version—Tells Endevor to list elements containing components with a specific version number. Acceptable values are 1-99. The version number of the component may differ from the version number of the element with which it is associated.&lt;br /&gt;LEVEL level—Tells Endevor to list elements containing components with a specific level number. Acceptable values are 00-99. The level number of the component may differ from the level number of the element with which it is associated.&lt;br /&gt;FILE (DDNAME) dd-name—Tells Endevor to list elements whose:&lt;br /&gt;¦ Input components originated from the specified DDname; ¦ Output components were written to the specified DDname; ¦ Components were produced by a processor step specified by and associated with the designated DDname. DSNAME data set name—Tells Endevor to list elements whose:&lt;br /&gt;¦ Input components originated from the specified data set; ¦ Output components were written to the specified data set; ¦ Components were produced by a processor step specified by and associated with the designated data set. WHERE ACM comp spec {AND/OR} comp spec—Allows you to provide compound component selection criteria. See the previous section for option descriptions. The WHERE ACM clauses cannot be used with the WHERE TEXT clause.&lt;br /&gt;WHERE PROCESSOR GROUP group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;4-40 SCL Reference Guide&lt;br /&gt;4.9 The List Statement The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;BUILD&lt;br /&gt;Indicates specific information to be applied to each action statement generated by LIST. The data in this clause assists in building the SCL statements (and builds additional SCL statements if you enter WITH COMPONENTS) that result from your LIST request.&lt;br /&gt;Note: You cannot build a generate with copyback request using LIST. This is because LIST can only build an action for an element when the element exists in the FROM stage.&lt;br /&gt;If you do not enter BUILD information, Endevor looks for a SET BUILD clause containing the appropriate information. (See the description of SET BUILD, in Chapter 3, "Set, Clear, and EOF Statements, for additional coding details.) If a SET BUILD clause has not been coded, the system defaults to &amp;amp;&amp;amp;ACTION for BUILD ACTION and to CURRENT for BUILD LEVEL.&lt;br /&gt;The WITH COMPONENTS clause is optional within the BUILD clause; if it is not coded here or in the SET BUILD statement, component information is not provided in the list.&lt;br /&gt;BUILD ACTION—Determines the action that appears in the LIST action syntax for the specified element. You can enter either a specific action name or &amp;amp;&amp;amp;ACTION, which indicates that a specific action will be designated for this element at a later time. This action can be entered manually or using the SET ACTION statement.&lt;br /&gt;¦ BUILD LEVEL—Indicates whether you want the version and level of the specified element to appear on the action cards generated by the LIST request: ¦ CURRENT—Tells Endevor to include the current version and level of elements in LIST actions. This is the default if the WHERE COMPONENTS SPEC clause has not been coded for the action, or no component list exists (Endevor ACM is not installed). If the where component spec clause has been coded for the action, the default is ACTUAL. ¦ NONE—Tells Endevor not to list the current version and level for the element. Chapter 4. Element Action Statements 4-41&lt;br /&gt;4.9 The List Statement ¦ ACTUAL—valid only if ACM is installed. Tells Endevor to include the level of the component as recorded in the component list in LIST action statements, rather than the current level of the element as recorded in the Master Control File. This is the default if a WHERE COMPONENTS SPEC clause has been coded for the action. BUILD WITH COMPONENTS—Indicates that action cards should be generated for every input component that is associated with the specified element. BUILD WITH COMPONENTS pertains to the Endevor ACM product only, and must be used in conjunction with the WHERE ACM clause (explained earlier in this section).&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;REPLACE MEMBER—When you specify a PDS and member name in the TO clause, list requests fail if the member already exists. Use the REPLACE MEMBER option if you want to replace the existing member in the TO location library.&lt;br /&gt;DETAIL REPORT—By default, in the Execution Report, Endevor lists only those elements matching the selection criteria you specify. If you select the DETAIL REPORT option, every element searched is listed in the report—whether or not a match is found.&lt;br /&gt;SHOW TEXT [ PLUS n LINES ]—This option allows you to print the line of source code that contains a specified text string, plus a designated number of lines of code before and after the text string.&lt;br /&gt;You must code the WHERE TEXT clause if you use the SHOW TEXT option. Otherwise, you receive a syntax error.&lt;br /&gt;SEARCH or NOSEARCH—The SEARCH option tells Endevor to look for and list all occurrences of the element on the map. The default is NOSEARCH. Code NOSEARCH to restrict Endevor's list to the current environment.&lt;br /&gt;4-42 SCL Reference Guide&lt;br /&gt;4.9 The List Statement 4.9.4 List from Archive Data Set The LIST FROM ARCHIVE DATA SET statement generates a list of elements from an archive data set.&lt;br /&gt;4.9.5 Syntax --LISt ELEment--element-name---------------------------------FROm------------- +---THRough----element-name-+ +-THRu----+&lt;br /&gt;----FILe------dd-name---------------------ENVironment--env-name---------------- +-DDName-+ +-SITe--site-id-+&lt;br /&gt;- -SYStem--sys-name- -SUBsystem--subsys-name--TYPe--type-name--------------------&lt;br /&gt;--STAge NUMber--stage-no-------------------------------------------------------&lt;br /&gt;------------------------------------------------------------------------------- +-SYSOut----------------------------------------+¦ +-TO--+---FILe------dd-name---------------------------+-+&lt;br /&gt;¦ +-DDName-+¦ +-DSName--dataset-name--------------------------+ +-MEMber--member-name-+&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;-WHEre--¤---------------------------------------¤-++-¦ CCID +------------------------¦ +-¦ PRO +-------------------------¦ -ARChive----¦ DATE +-------------+&lt;br /&gt;+-¦ FROM +-----------¦ +-¦ THROUGH +--------¦ +-¦ FROM - THROUGH +-+&lt;br /&gt;------------------------------------------------------------------------------- +-&amp;amp;&amp;amp;Action----+¦ +-BUIld--ACTion----action-name---+&lt;br /&gt;-----------------------------------------------------.------------------------&lt;br /&gt;-OPTion--¤-----------------------------------¤-+ +-REPlace member--------------¦ +-DETail REPort---------------¦ + -SHOw TEXt- ------------------+&lt;br /&gt;+-PLUs n lines-+&lt;br /&gt;CCID:&lt;br /&gt;+-,----+&lt;br /&gt;+--CCId----EQ----(----ccid----)-------------------------------------------------¦ +-=--+&lt;br /&gt;DATE:&lt;br /&gt;+- -DATe- -- -- -&lt;br /&gt;-EQ- -date--- -&lt;br /&gt;-------------------- ----------------------------------¦ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;FROM:&lt;br /&gt;+- -FROm--DATe- -- -- -&lt;br /&gt;-EQ- -date--- -&lt;br /&gt;-------------------- ----------------------------¦ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;THROUGH:&lt;br /&gt;+----THRough----DATe----EQ----date----------------------------------------------¦ +-THRu----+ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)--------------------------------¦ +-=--+&lt;br /&gt;Chapter 4. Element Action Statements 4-43&lt;br /&gt;4.9 The List Statement 4.9.5.1 Syntax Rules 4-44 SCL Reference Guide&lt;br /&gt;LIST ELEMENT element-name&lt;br /&gt;Indicates the element(s) to be listed. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be listed, beginning with the element coded in the LIST ELEMENT clause, up to and including the element specified in this statement. You can use a name mask with the element name. If you code the THROUGH clause, you cannot enter a member name (in the TO clause).&lt;br /&gt;FROM FILE (DDNAME)dd-name SITE site-id&lt;br /&gt;ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element to be listed. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must code at least a FILE or DDNAME for this request, indicating the archive data set to be searched for the specified element. Enter this information first when coding the syntax.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage number (either 1 or 2). The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage.&lt;br /&gt;Entering a site ID is optional. This field further defines the location of the element to be listed.&lt;br /&gt;4.9 The List Statement TO&lt;br /&gt;The TO clause indicates where the element is to be listed. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;TO SYSOUT—SYSOUT is the default TO location. If you do not provide a TO clause, and no SET TO information has been coded, Endevor writes the action cards to the Execution Report. The Execution Report appears immediately after the LIST action request and cannot be edited.&lt;br /&gt;TO FILE (DDNAME) dd-name or DSNAME dataset-name—You can tell Endevor to write action cards to both the Execution Report and an external data set by providing a file name (DDname) or a data set name; if you enter a FILE or DDNAME, be sure the appropriate JCL is coded. Use this option if you want to edit the action cards.&lt;br /&gt;TO MEMBER member-name—Enter a member name (up to 10 characters). This clause is valid only if you are not specifying a sequential file.&lt;br /&gt;¦ Endevor ignores a member specification if you have coded the TO SYSOUT option. ¦ The action fails if you code a member name along with a file (DDname) or data set name that is sequential. If you are using PDSs and do not provide a member name, Endevor assigns a temporary name of TEMPNAME. If you wish to use the temporary naming capability, do not code multiple list requests to the same external data set.&lt;br /&gt;If you are using a PDS and have multiple list statements with only one member name on a SET statement, then all lists go to same member name and only first LIST results are available.&lt;br /&gt;Chapter 4. Element Action Statements 4-45&lt;br /&gt;4.9 The List Statement WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID ccid —Limits the list to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID EQ PROJV&lt;br /&gt;Example 2: WHERE CCID (PROJ1, PROJ2, PROJ4)&lt;br /&gt;WHERE ARCHIVE—This clause allows you to select elements based on the date and, optionally, time that an element was archived. There are four possible forms for this clause:&lt;br /&gt;¦ WHERE ARCHIVE DATE mm/dd/yy [TIME hh:mm ] ¦ This clause tells Endevor to list only those elements with this archive date, and optionally, time stamp. ¦ WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ] ¦ This clause tells Endevor to list all elements with an archive date and, optionally, time stamp on or after the specified date and time stamps. 4-46 SCL Reference Guide&lt;br /&gt;4.9 The List Statement ¦ WHERE ARCHIVE THROUGH DATE mm/dd/yy [TIME hh:mm] ¦ This clause tells Endevor to list all elements with an archive date and, optionally, time stamp earlier than and including the specified date and time stamp. ¦ WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ] THROUGH DATE mm/dd/yy [TIME hh:mm ] ¦ This clause tells Endevor to list only those elements with archive date, and optionally, time stamps within the specified range. If you enter a time, you must enter the date with it. WHERE PROCESSOR GROUP group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;BUILD ACTION&amp;amp;&amp;amp;ACTION&lt;br /&gt;action-name&lt;br /&gt;Determines the action that appears in the LIST action syntax for the specified element. If you do not enter required BUILD information here, Endevor looks for a SET BUILD clause containing the appropriate information. (See the description of SET BUILD, in Chapter 3, "Set, Clear, and EOF Statements, for additional coding information.) If a SET BUILD clause has not been coded, the system defaults to &amp;amp;&amp;amp;ACTION.&lt;br /&gt;You can enter a specific action (for example, ADD or MOVE) in this clause or the variable &amp;amp;&amp;amp;ACTION. &amp;amp;&amp;amp;ACTION indicates that a specific action will be designated for this element at a later time. This action can be entered manually or using the SET ACTION statement. (See the description of SET ACTION, in Chapter 3, "Set Clear, and EOF Statements," for additional coding information.)&lt;br /&gt;Chapter 4. Element Action Statements 4-47&lt;br /&gt;4.9 The List Statement OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;REPLACE MEMBER—When you specify a PDS and member name in the TO clause, LIST requests fail if the member already exists. Use the REPLACE MEMBER option if you want to replace the existing member in the TO location library.&lt;br /&gt;DETAIL REPORT—By default, in the Execution Report, Endevor lists only those elements matching the selection criteria you specify. If you select the DETAIL REPORT option, every element searched is listed in the report—whether or not a match is found.&lt;br /&gt;SHOW TEXT [ PLUS n LINES ]—This option allows you to print the line of source code that contains a specified text string, plus a designated number of lines of code before and after the text string.&lt;br /&gt;4-48 SCL Reference Guide&lt;br /&gt;4.9 The List Statement 4.9.6 List Members (List from External Library) The LIST MEMBER statement generates a list of elements from an external library.&lt;br /&gt;4.9.7 Syntax --LISt MEMber--member-name--------------------------------FROm---------------- +---THRough----member-name-+ +-THRu----+&lt;br /&gt;------FILe------dd-name-------------------------------------------------------- +-DDName-+¦ +-DSName--dataset-name-+&lt;br /&gt;------------------------------------------------------------------------------- +-SYSout----------------------------------------+¦ +-TO--+---FILe------dd-name---------------------------+-+&lt;br /&gt;¦ +-DDName-+¦ +-DSName--dataset-name--------------------------+ +-MEMber--member-name-+&lt;br /&gt;------------------------------------------------------------------------------- + -WHEre TEXt- ---text-spec-------------------------------------------+ +-,---------+ +-,---------+¦&lt;br /&gt;+-(----text-spec----)----AND----(----text-spec----)-+ +-OR--+&lt;br /&gt;------------------------------------------------------------------------------- +-&amp;amp;&amp;amp;Action----+¦ + -BUIld ACTion- ---action-name---+&lt;br /&gt;----------------------------------------------------.-------------------------&lt;br /&gt;-OPTion--¤----------------------------------¤-+ +-REPlace member-------------¦ +-DETail REPort--------------¦ + -SHOw TEXt- -----------------+&lt;br /&gt;+-PLUs n line -+&lt;br /&gt;-----------------------------text-------------------------------------------- +-EQual---+ ¦ +-------------start-pos--end-pos-+ -DOEs NOT- -+---------+-++-column-+&lt;br /&gt;+-CONTain-¦ +-=-------+&lt;br /&gt;4.9.7.1 Syntax Rules LIST MEMBER member-name&lt;br /&gt;Indicates the member(s) to be listed. Code the required syntax and enter the appropriate member name; up to 10 characters are allowed. In addition, you can use a name mask with the member name.&lt;br /&gt;THROUGH (THRU) member-name&lt;br /&gt;Indicates that a range of members should be listed, beginning with the member coded in the LIST MEMBER clause, up to and including the member specified in this statement. You can use a name mask with the member name. If you code the THROUGH clause, you cannot enter a member name in the TO clause.&lt;br /&gt;Chapter 4. Element Action Statements 4-49&lt;br /&gt;4.9 The List Statement FROM FILE (DDNAME) dd-name DSNAME dataset-name&lt;br /&gt;The FROM clause indicates the location of the member being listed. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;If you enter a FILE or DDNAME, be sure the appropriate JCL is coded. The data set you specify in the FROM clause cannot be a load module library or a sequential file.&lt;br /&gt;TO&lt;br /&gt;The TO clause indicates where the element is to be listed. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;TO SYSOUT—SYSOUT is the default TO location. If you do not provide a TO clause, and no SET TO information has been coded, Endevor writes the action cards to the Execution Report. The Execution Report appears immediately after the LIST action request and cannot be edited.&lt;br /&gt;TO FILE (DDNAME)dd-name or DSNAME dataset- name—You can tell Endevor to write action cards to both the Execution Report and an external data set by providing a file name (DDname) or a data set name; if you enter a FILE or DDNAME, be sure the appropriate JCL is coded. Use this option if you want to edit the action cards.&lt;br /&gt;4-50 SCL Reference Guide&lt;br /&gt;4.9 The List Statement TO MEMBER member-name—Enter a member name (up to 10 characters). This clause is valid only if you are not specifying a sequential file.&lt;br /&gt;¦ Endevor ignores a member specification if you have coded the TO SYSOUT option. ¦ The action fails if you code a member name along with a file (DDname) or data set name that is sequential. If you are using PDSs and do not provide a member name, Endevor assigns a temporary name of TEMPNAME. If you wish to use the temporary naming capability, do not code multiple list requests to the same external data set.&lt;br /&gt;If you are using a PDS and have multiple list statements with only one member name on a SET statement, then all lists go to same member name and only first LIST results are available.&lt;br /&gt;WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE TEXT text spec—Limits the list to elements that contain (or do not contain) one or more specified 1- to 70-character text strings.&lt;br /&gt;Examples:&lt;br /&gt;WHERE TEXT 'WO9-LINKAGE'&lt;br /&gt;In this example, Endevor lists all elements containing the text string WO9-LINKAGE.&lt;br /&gt;Where TEXT ('COPY COPY005' COLUMN 7 41 AND 'COPY COPY010' COLUMN 7 41)&lt;br /&gt;In this example, Endevor lists all elements containing the text strings COPY COPY005 and COPY COPY010 between columns 7 and 41 of the element source.&lt;br /&gt;Chapter 4. Element Action Statements 4-51&lt;br /&gt;4.9 The List Statement WHERE TEXT DOES NOT CONTAIN 'REMARKS' COLUMN 8 15&lt;br /&gt;In this example, Endevor lists all elements that do not contain the text string REMARKS between columns 8 and 15 of the element source.&lt;br /&gt;WHERE TEXT (('M605SUB' OR 'M607SUB') AND DOES NOT CONTAIN 'M606SUB')&lt;br /&gt;In this example, Endevor lists all elements that contain either the text string M605SUB or the text string M607SUB and do not contain the text string M606SUB.&lt;br /&gt;BUILD ACTION&amp;amp;&amp;amp;ACTION action-name&lt;br /&gt;Determines the action that appears in the LIST action syntax for the specified element. If you do not enter required BUILD information here, Endevor looks for a SET BUILD clause containing the appropriate information. (See the description of SET BUILD, in Chapter 3, "Set, Clear, and EOF Statements," for additional coding information.) If a SET BUILD clause has not been coded, the system defaults to &amp;amp;&amp;amp;ACTION.&lt;br /&gt;You can enter a specific action (for example, ADD or MOVE) in this clause or the variable &amp;amp;&amp;amp;ACTION. &amp;amp;&amp;amp;ACTION indicates that a specific action will be designated for this element at a later time. This action can be entered manually or using the SET ACTION statement. (See the description of SET ACTION, in Chapter 3, "Set, Clear, and EOF Statements," for additional coding information.)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;REPLACE MEMBER—When you specify a PDS and member name in the TO clause, list requests fail if the member already exists. Use the REPLACE MEMBER option if you want to replace the existing member in the TO location library.&lt;br /&gt;DETAIL REPORT—By default, in the Execution Report, Endevor lists only those elements matching the selection criteria you specify. If you select the DETAIL REPORT option, every element searched is listed in the report—whether or not a match is found.&lt;br /&gt;4-52 SCL Reference Guide&lt;br /&gt;4.9 The List Statement SHOW TEXT [ PLUS n LINES ]—This option allows you to print the line of source code that contains a specified text string, plus a designated number of lines of code before and after the text string.&lt;br /&gt;You must code the WHERE TEXT clause if you use the SHOW TEXT option. Otherwise, you receive a syntax error.&lt;br /&gt;4.9.8 Example of List SCL The following are examples of LIST SCL. In the first example, the SCL generates a list of all the elements in the Payroll Reporting subsystem that contain the text "COPY PAYCOPY1" in columns 7 through 45, inclusive. SCL will be generated for each element found.&lt;br /&gt;LIST ELEMENT ''&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;WHERE TEXT EQ 'COPY PAYCOPY1' COLUMN 7 45&lt;br /&gt;BUILD ACTION GENERATE .&lt;br /&gt;In the second example, the SCL generates a list of all members in PAYROLL.SRCLIB that begin with "PAYRPT*' and contain the string "COPY PAYCOPY3" in columns 7 through 45, inclusive. The subsequent report will display the entire line in which the text was found.&lt;br /&gt;LIST MEMBER 'PAYRPT' FROM DSNAME 'PAYROLL.SRCLIB' WHERE TEXT EQ 'COPY PAYCOPY3' IN COLUMN 7 45 OPTIONS SHOW TEXT .&lt;br /&gt;Chapter 4. Element Action Statements 4-53&lt;br /&gt;4.9 The List Statement 4.10 The Move Statement 4.10.1 Overview The MOVE statement moves elements between inventory locations along a map.&lt;br /&gt;4.10.2 Syntax --MOVe ELEment--element-name---------------------------------&lt;br /&gt;---------------------------------FROm------------------------- ---THRough----element-name-+ +-THRu----+&lt;br /&gt;- -ENVironment--env-name--SYStem--sys-name---------------------&lt;br /&gt;- -SUBsystem--subsys-name--TYPe--type-name---------------------&lt;br /&gt;----STAge--stage-id------------------------------------------- -STAge NUMber--stage-no-+&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;------------------------------------------------.------------&lt;br /&gt;-OPTion--¤------------------------------¤-+ +-CCId--ccid-------------¦ +-COMment--comment-------¦ +-SYNchronize------------¦ +-WITh HIStory-----------¦ +-BYPass ELEment DELete--¦ +-SIGnin-------------+¦ +-+-RETAin SIGNOut-----+-¦ ¦ + -SIGNOut TO--userid-+¦ +-JUMp-------------------+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)-------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)---------------¦ +-=--+&lt;br /&gt;4-54 SCL Reference Guide&lt;br /&gt;4.10.2.1 Syntax Rules 4.10 The Move Statement MOVE ELEMENT element-name&lt;br /&gt;Indicates the element(s) to be moved. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be moved, beginning with the element coded in the MOVE ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM sys-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element being moved. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. You can use a name mask with the system, subsystem and type. The environment name and stage information must be explicit. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. Chapter 4. Element Action Statements 4-55&lt;br /&gt;4.10 The Move Statement WHERE&lt;br /&gt;Use the WHERE clause to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Stage 3, for more information.&lt;br /&gt;WHERE CCID OF ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4)&lt;br /&gt;Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;WHERE PROCESSOR GROUP group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;4-56 SCL Reference Guide&lt;br /&gt;4.10 The Move Statement If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify requests.&lt;br /&gt;CCID ccid/COMMENT comment—You can enter a 1- to 12- character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the MOVE action fails.&lt;br /&gt;When you specify a CCID and/or comment in a MOVE action, Endevor updates the CCID and/or COMMENT fields differently, depending on whether you specify the MOVE action with history or without history.&lt;br /&gt;When you specify a CCID and/or comment in a MOVE action without history, Endevor uses this CCID and/or comment to set the last action CCID and/or COMMENT fields. Endevor also:&lt;br /&gt;¦ Sets the source and generate CCID and/or COMMENT fields to their value at the source location of the move. ¦ Sets the source and component list delta CCID and/or COMMENT fields to their last value at the source location of the move. ¦ Clears the retrieve CCID and/or COMMENT field. When you specify a CCID and/or comment in a MOVE action using the WITH HISTORY option, Endevor uses this CCID and/or comment to set the last action CCID and/or COMMENT fields.&lt;br /&gt;Endevor also does the following:&lt;br /&gt;¦ Sets the source and generate CCID and/or COMMENT fields to their value at the source location of the move. ¦ Clears the retrieve CCID and/or COMMENT fields. ¦ Moves source delta and component list delta CCIDs and comments with their respective delta levels. Chapter 4. Element Action Statements 4-57&lt;br /&gt;4.10 The Move Statement SYNCHRONIZE— The SYNCHRONIZE option compensates for differences between the base level of a source element and the current level of a target element. Endevor attempts to find a sync level between the source and target elements, beginning with the first level at the source, and working forward through the deltas. If Endevor finds a sync level, it compares the two and creates a new level at the target that reflects the differences. If Endevor cannot find a sync level and you specify SYNC, Endevor issues an out of sync message. Endevor then compares the last level of the source and last level of the target, and creates a new level at the target that reflects the differences.&lt;br /&gt;When moving with history, if the sync point is found, Endevor moves the element from the FROM location to the TO location, appending the FROM location delta levels after the sync-point element. If the two levels are different, and SYNC is specified, Endevor first creates a sync level at the target reflecting the differences between the base level of the FROM element and the target, then moves the element to the TO location and appends the FROM location delta levels to the target.&lt;br /&gt;WITH HISTORY—The WITH HISTORY option preserves source element change history. If you request MOVE WITH HISTORY, Endevor first ensures that the current level of the target element is the same as the base level of the source element. It then moves all levels of the element from source to target, appending the source change history to the target change history.&lt;br /&gt;If you do not code this option, Endevor moves the element(s) without history. When you move the element without history Endevor searches through the element levels at the source location to find a matching level at the target location. Endevor then compares the two and creates a new level at the target location that reflects the differences.&lt;br /&gt;If the base level of the source element differs from the current level at the target, the move fails unless you code the SYNCHRONIZE option.&lt;br /&gt;4-58 SCL Reference Guide&lt;br /&gt;4.10 The Move Statement BYPASS ELEMENT DELETE—This option tells Endevor to retain the element in the source stage after successfully completing the move.&lt;br /&gt;SIGNIN—Default. This option tells Endevor to sign in all elements at the target stage after successfully completing the move. You must code this option to override SET OPTION RETAIN SIGNOUT or SET OPTION SIGNOUT TO clauses.&lt;br /&gt;RETAIN SIGNOUT—This option tells Endevor to retain the source location signouts for all elements at the target location. This option applies only if the element was signed out at the target before the MOVE.&lt;br /&gt;If the element was signed out at the target before the MOVE, it will be signed out to that same ID—at the target—after the MOVE.&lt;br /&gt;If the element was not signed out at the target before the MOVE, it will not be signed out at the target after the MOVE.&lt;br /&gt;If you do not use this option, the element at the target location is not signed out, regardless of whether it was signed out at the target before the MOVE took place.&lt;br /&gt;SIGNOUT TO userid—This option tells Endevor to sign all elements out to the specified user ID at the target stage.&lt;br /&gt;JUMP—The JUMP option tells Endevor to move elements across environments even if the element exists at an intermediate stage that is not on the map. If the element exists at an intermediate stage, the move fails if REQ ELM JUMP ACKNOWLEDGE=Y at the system level and the JUMP option is not coded.&lt;br /&gt;In either case, Endevor issues a message informing you that the element exists in a non-map stage between the source and target stages of the move.&lt;br /&gt;Chapter 4. Element Action Statements 4-59&lt;br /&gt;4.10 The Move Statement 4.10.3 Example of Move SCL The following is an example of MOVE SCL. This SCL moves an element from Stage 1. The element history will be retained at the target stage.&lt;br /&gt;MOVE ELEMENT 'PAYRPT17'&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;OPTIONS CCID REQ#4334 COMMENT 'MOVE INTO PRODUCTION' WITH HISTORY .&lt;br /&gt;4-60 SCL Reference Guide&lt;br /&gt;4.10 The Move Statement 4.11 The Print Statement 4.11.1 Overview The PRINT statement prints selected information about an element(s) or library member(s), depending on the data entered in the FROM clause. You can print from either Endevor or selected output libraries (for example, a PDS, AllFusion CA-PANVALET, and so on).&lt;br /&gt;4.11.2 Printing from Endevor When executing the PRINT action against Endevor, you can request the following information about elements and component lists:&lt;br /&gt;¦ BROWSE (the default) prints all statements in the specified level of the element, as well as the level at which each statement was inserted. ¦ CHANGES shows all inserts and deletes made to the element at the level specified. ¦ HISTORY prints all statements in all levels of the element. ¦ SUMMARY prints one line of summary information for each level. You can request the following information about elements only:&lt;br /&gt;¦ MASTER prints Master Control File information for the element. 4.11.3 Printing from an Output Library When you execute the PRINT action against an output library, the source of the selected, footprinted member(s) is printed.&lt;br /&gt;Chapter 4. Element Action Statements 4-61&lt;br /&gt;4.11 The Print Statement 4.11.4 Print Element Statement The PRINT ELEMENT statement prints selected information about the element you specify. You can print from either Endevor or from selected output libraries.&lt;br /&gt;4.11.5 Syntax --PRInt ELEment--element-name--------------------------------&lt;br /&gt;-------------------------------------------------------------- ---THRough----element-name-++-VERsion--version-+ +-THRu----+&lt;br /&gt;--------------------FROm--ENVironment--env-name--------------- +-LEVel--level-+&lt;br /&gt;- -SYStem--sys-name--SUBsystem--subsys-name--------------------&lt;br /&gt;- -TYPe--type-name--STAge NUMber--stage-no---------------------&lt;br /&gt;-C1Print-------------+&lt;br /&gt;- -TO- ---- -- ---FILe--- -dd-name- -------------------------------- +-DDName-+&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;-------------------------------------------------.-----------&lt;br /&gt;-OPTions--¤------------------------------¤-+ +-NOCc-------------------¦ ¦ +-BROwse--+¦ +-COMPonent--+-CHAnge--+-¦ ¦ +-HIStory-¦¦ ¦ +-SUMmary-+¦ +-MASter-----------------¦ ¦ +-NOSearch-+¦ +---SEArch---------------+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)-------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)---------------¦ +-=--+&lt;br /&gt;4-62 SCL Reference Guide&lt;br /&gt;4.11.5.1 Syntax Rules 4.11 The Print Statement PRINT ELEMENT element-name&lt;br /&gt;Indicates the 1- to 10-character name of the element(s) to be printed. You can use a name mask, unless you specify a level (in the LEVEL clause).&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be printed, beginning with the element coded in the PRINT ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with either name. If you enter a THROUGH clause, you cannot enter a LEVEL clause.&lt;br /&gt;VERSION version&lt;br /&gt;Indicates the version number of the element you want to print. Acceptable values are 1-99. You must code a full element name if you want to indicate a version number.&lt;br /&gt;LEVEL level&lt;br /&gt;Tells Endevor to print data for the designated level of the element. Acceptable values are 00-99. By default Endevor prints information for the current level.&lt;br /&gt;If you enter a LEVEL clause, you cannot use the THROUGH clause, and you must code a full element name in the PRINT ELEMENT clause.&lt;br /&gt;FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM sys-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element being printed. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. Chapter 4. Element Action Statements 4-63&lt;br /&gt;4.11 The Print Statement See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage number (either 1 or 2). The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage number.&lt;br /&gt;TO C1PRINT.. FILE (DDNAME) dd-name&lt;br /&gt;The TO clause indicates where the element is being printed. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information. If a SET TO clause has not been entered, the system defaults to C1PRINT and prints the element in a listing.&lt;br /&gt;As an alternative, you can print the element or member to a sequential file; that is, to a FILE (DDNAME). The indicated file must be sequential, with a record length of 133, or the PRINT action fails. Be sure the appropriate JCL is coded if you use either a FILE or DDNAME for the TO location.&lt;br /&gt;WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;4-64 SCL Reference Guide&lt;br /&gt;4.11 The Print Statement WHERE CCID OF ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File's RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The following examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4)&lt;br /&gt;Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;WHERE PROCESSOR GROUP group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause:&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify an action request.&lt;br /&gt;NOCC—By default, Endevor prints a header on each page of the printed output. You can suppress the printing of the header by entering this option in the PRINT statement.&lt;br /&gt;Chapter 4. Element Action Statements 4-65&lt;br /&gt;4.11 The Print Statement COMPONENTS—When you select this option, Endevor prints all component information for the element specified. There are five forms of this clause:&lt;br /&gt;¦ BROWSE—When you select the BROWSE option, Endevor prints the current element or component list source, indicating the level at which each line was added. If you specify a particular level, Endevor prints the source for that level. ¦ CHANGES—When you select the CHANGES option, Endevor prints all the changes—inserts and deletes—made to the element or component list at the level specified. If you do not specify a level in the LEVEL clause, changes for the current level of the element are shown. ¦ HISTORY—When you select the HISTORY option, Endevor prints all lines that have ever been in the element or component list source, noting the level at which the line was added, changed, or deleted. If you specify a level in the LEVEL clause, Endevor prints history for that level. ¦ SUMMARY—When you select the SUMMARY option, Endevor prints a summary line of data for each level of the element or component list specified, and includes information appropriate to that level (for example, the number of inserts and the number of deletes). MASTER—When you select the MASTER option, Endevor prints Master Control File information stored for the selected element, as well as current data pertaining to that element (such as last processor, processor return codes, current version or level, and so on.)&lt;br /&gt;The BROWSE, CHANGES, HISTORY, SUMMARY, and MASTER printouts provide the same information as their corresponding online panels. See the User's Guide for additional details.&lt;br /&gt;If you code only COMPONENTS, Endevor prints BROWSE information. If you code COMPONENTS in conjunction with the BROWSE, CHANGES, HISTORY, and SUMMARY options, Endevor prints the requested information for the element component list. If you code COMPONENTS in conjunction with the MASTER option, Endevor prints both COMPONENTS and MASTER information.&lt;br /&gt;Endevor prints as much information as is available for the component list. For example, if you code COMPONENTS CHANGES but there were no changes to the output components section, that section would not appear in the associated listing. The COMPONENTS option applies only to section would not appear in the associated listing. The COMPONENTS option applies only to Endevor ACM. If you are not a Endevor ACM user and you code this option, the action fails.&lt;br /&gt;4-66 SCL Reference Guide&lt;br /&gt;4.11 The Print Statement SEARCH or NOSEARCH—The SEARCH option tells Endevor to look and print all occurrences of the element on the map.&lt;br /&gt;The default is NOSEARCH. Code NOSEARCH to restrict Endevor's search to the current environment.&lt;br /&gt;Chapter 4. Element Action Statements 4-67&lt;br /&gt;4.11 The Print Statement 4.11.6 Print Member Statement The PRINT MEMBER statement prints selected information about the member you specify. You can print from either Endevor or from selected output libraries.&lt;br /&gt;4.11.7 Syntax --PRInt MEMber--member-name---------------------------------- +---THRough----member-name-+ +-THRu----+&lt;br /&gt;- -FROm- -----FILe------dd-name--------------------------------- +-DDName-+¦ +-DSName--dataset-name-+&lt;br /&gt;-C1Print-------------+&lt;br /&gt;- -TO- ---- -- ---FILe--- -dd-name- -.----------------------------- +-DDName-+&lt;br /&gt;4.11.7.1 Syntax Rules PRINT MEMBER member-name&lt;br /&gt;Indicates the 1- to 10-character name of the member(s) to be printed. You can use a name mask.&lt;br /&gt;THROUGH (THRU) member-name&lt;br /&gt;Indicates that a range of members should be printed beginning with the member coded in the PRINT MEMBER statement, up to and including the member specified in this statement. You can use a name mask with either name.&lt;br /&gt;FROM FILE (DDNAME) dd-name DSNAME dataset-name&lt;br /&gt;The FROM clause indicates the location of the member being printed. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;4-68 SCL Reference Guide&lt;br /&gt;4.11 The Print Statement You must enter a FILE, DDNAME, or DSNAME (enter one and only one); be sure the appropriate JCL is coded for a FILE or DDNAME. If you enter any other information in the FROM clause, it is ignored.&lt;br /&gt;TO C1PRINT.. FILE (DDNAME) dd-name&lt;br /&gt;The TO clause indicates where the member is being printed. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information. If a SET TO clause has not been entered, the system defaults to C1PRINT and prints the element in a listing.&lt;br /&gt;As an alternative, you can print the element or member to a sequential file; that is, to a FILE or DDNAME. The indicated file must be sequential, with a record length of 133, or you receive an error message. Be sure the appropriate JCL is coded if you use either a FILE or DDNAME for the TO location.&lt;br /&gt;4.11.8 Example of Print SCL The following are examples of PRINT SCL. In the first example, the SCL prints the current version of element "PAYRPT19." The output is written to the default DDname (C1PRINT).&lt;br /&gt;PRINT ELEMENT 'PAYRPT19'&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1 .&lt;br /&gt;The SCL in the second example prints member "PAYRPT12" from the Endevor Listing Library. The output is sent to the default DDname (C1PRINT).&lt;br /&gt;PRINT MEMBER 'PAYRPT12' FROM DSNAME 'ENDEVOR.PAYROLL.STAGE1.LISTINGS' .&lt;br /&gt;Chapter 4. Element Action Statements 4-69&lt;br /&gt;4.11 The Print Statement 4.12 The Restore Statement 4.12.1 Overview The RESTORE statement restores an element from an archive data set back to Endevor, "copying" the source as it was before the element was archived or transferred to the data set.&lt;br /&gt;The RESTORE action is available in batch only.&lt;br /&gt;4.12.2 Syntax --REStore ELEment--element-name---------------------------------FROm---------- +---THRough----element-name-+ +-THRu----+&lt;br /&gt;----FILe------dd-name---------------------ENVironment--env-name---------------- +-DDName-+ +-SITe--site-id-+&lt;br /&gt;- -SYStem--sys-name- -SUBsystem--subsys-name--TYPe--type-name--------------------&lt;br /&gt;--STAge NUMber--stage-no--TO- -ENVironment--env-name--SYStem--sys-name----------&lt;br /&gt;- -SUBsystem--subsys-name- -TYPe--type-name----STAge--stage-id------------------- + -STAge NUMber--stage-no-+&lt;br /&gt;--ELEment--element-name--------------------------------------------------------&lt;br /&gt;------------------------------------------------------------------------------- -WHERE--¤---------------------------------------¤-+ +-,----+¦&lt;br /&gt;+-CCId----EQ----(----ccid----)----¦ +-=--+¦ +-ARChive----¦ DATE +-------------+&lt;br /&gt;+-¦ FROM +-----------¦ +-¦ THROUGH +--------¦ +-¦ FROM - THROUGH +-+&lt;br /&gt;------------------------------------------------------------------.-----------&lt;br /&gt;-OPTions--¤-----------------------------------------------¤-+ -CCId--ccid------------------------------¦ +-COMment--comment------------------------¦ +-NEW VERsion--version--------------------¦ +---BYPass GENerate PROcessor-------------+&lt;br /&gt;+ -PROcessor GROup- ---EQ----group-name-+ +-=--+&lt;br /&gt;DATE:&lt;br /&gt;+- -DATe- -- -- -&lt;br /&gt;-EQ- -date--- -&lt;br /&gt;-------------------- ----------------------------------¦ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;FROM:&lt;br /&gt;+- -FROm--DATe- -- -- -&lt;br /&gt;-EQ- -date--- -&lt;br /&gt;-------------------- ----------------------------¦ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;THROUGH:&lt;br /&gt;+----THRough----DATe----EQ----date----------------------------------------------¦ +-THRu----+ +-=--+ +-TIMe----EQ----time-+ +-=--+&lt;br /&gt;4-70 SCL Reference Guide&lt;br /&gt;4.12.2.1 Syntax Rules 4.12 The Restore Statement RESTORE ELEMENT element-name&lt;br /&gt;Indicates the element(s) to be restored. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be restored, beginning with the element coded in the RESTORE ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with the element name. If you use the THROUGH clause, however, you cannot enter a new element name (in the TO clause).&lt;br /&gt;FROM FILE (DDNAME) dd-name SITE site-id&lt;br /&gt;ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element being restored. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must enter a FILE or DDNAME, indicating from which archive file the element is being restored. Enter this information first when coding the syntax.&lt;br /&gt;You must also specify the environment, system, subsystem, type, and stage number (either 1 or 2). The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage number.&lt;br /&gt;Entering a site ID is optional. This field further defines the location of the element being restored.&lt;br /&gt;Chapter 4. Element Action Statements 4-71&lt;br /&gt;4.12 The Restore Statement TO ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;ELEMENT element-name&lt;br /&gt;The TO clause indicates where the element is being restored. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;If no SET TO clause has been coded, Endevor retrieves the required information from the FROM clause coded for this action. Environment must be coded first in TO.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. Remember that you cannot use a name mask with a TO field name.&lt;br /&gt;Enter a different element name if you want to change the element name specified (that is, the archived element name) in the RESTORE ELEMENT clause. If you do not enter an element name here, Endevor uses the archived element name.&lt;br /&gt;¦ You can enter a new element name only if a full element name was coded in the RESTORE ELEMENT clause; that is, if you have not used a name mask. ¦ If you enter an element name here, you cannot use the THROUGH clause. ¦ If you want to code a different element name, you must do so in the RESTORE statement. The SET TO MEMBER clause does not apply to this action. 4-72 SCL Reference Guide&lt;br /&gt;4.12 The Restore Statement WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause:&lt;br /&gt;Example 1: WHERE CCID EQ PROJV&lt;br /&gt;Example 2: WHERE CCID (PROJ1, PROJ2, PROJ4)&lt;br /&gt;WHERE ARCHIVE—This clause allows you to select elements based on the date and, optionally, time that an element was archived. There are four possible forms for this clause:&lt;br /&gt;WHERE ARCHIVE DATE mm/dd/yy [TIME hh:mm ]&lt;br /&gt;This clause tells Endevor to archive only those elements with this date, and optionally, time stamp.&lt;br /&gt;WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm]&lt;br /&gt;This clause tells Endevor to archive all elements with a date and, optionally, time stamp on or after the specified date and time stamps.&lt;br /&gt;WHERE ARCHIVE THROUGH DATE mm/dd/yy [TIME hh:mm ]&lt;br /&gt;This clause tells Endevor to archive all elements with a date and, optionally, time stamp earlier than and including the specified date and time stamp.&lt;br /&gt;Chapter 4. Element Action Statements 4-73&lt;br /&gt;4.12 The Restore Statement WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ] THROUGH DATE mm/dd/yy [TIME hh:mm ]&lt;br /&gt;This clause tells Endevor to archive only those elements with date, and optionally, time stamps within the specified range.&lt;br /&gt;Note: If you enter a time, you must enter the date with it.&lt;br /&gt;OPTIONS&lt;br /&gt;CCID ccid/COMMENT comment—You can enter a 1- to 12-character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the RESTORE action fails.&lt;br /&gt;When you specify a CCID and/or comment in a RESTORE action for an existing element, Endevor uses this CCID and/or comment to:&lt;br /&gt;¦ Set the generate and component list delta CCID and/or COMMENT fields if the generate processor is run. Endevor writes this comment to the Master Control File replacing the comment for that element. Endevor does not set these fields if you code BYPASS GENERATE PROCESSOR. ¦ Set the last action CCID and/or COMMENT fields. Endevor sets the source, source delta, and RETRIEVE CCID and/or COMMENT fields based on the archive data set.&lt;br /&gt;NEW VERSION version—Tells Endevor to assign the specific version number to the element. Acceptable values are 1-99.&lt;br /&gt;BYPASS GENERATE PROCESSOR—Tells Endevor not to execute the generate processor after restoring the element.&lt;br /&gt;PROCESSOR GROUP group name—Tells Endevor which processor group to associate with the restored element.&lt;br /&gt;4-74 SCL Reference Guide&lt;br /&gt;4.12 The Restore Statement 4.12.3 Example of Restore SCL The following is an example of RESTORE SCL. This SCL restores all of the COBOL elements from the archive file associated with the ARCHIN DD statement that you specify in the execution JCL.&lt;br /&gt;RESTORE ELEMENT ''&lt;br /&gt;FROM FILE ARCHIN ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;TO ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;OPTIONS CCID REQ344145 COMMENT 'ARCHIVE REPORTING SUBSYSTEM PROGRAMS' .&lt;br /&gt;Chapter 4. Element Action Statements 4-75&lt;br /&gt;4.12 The Restore Statement 4.13 The Retrieve Statement 4.13.1 Overview The RETRIEVE statement copies an element to a user data set.&lt;br /&gt;4.13.2 Syntax --RETrieve ELEment--element-name------------------------------------- +---THRough----element-name-+ +-THRu----+&lt;br /&gt;------------------------------------------FROm------------------------ +-VERsion--version-++-LEVel--level-+&lt;br /&gt;- -ENVironment--env-name- -SYStem--sys-name--SUBsystem--subsys-name-----&lt;br /&gt;- -TYPe--type-name----STAge--stage-id-----------TO--------------------- + -STAge NUMber--stage-no-+&lt;br /&gt;------FILe------dd-name----------------------------------------------- +-DDName-+¦ +-DSName--dataset-name--------------------------¦ +-MEMber--member-name-+¦ +-PATH--hfspath--HFSFILE--filename--------------+&lt;br /&gt;----------------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;------------------------------------------.--------------------------&lt;br /&gt;-OPTion--¤------------------------¤-+ +-CCId--ccid-------¦ +-COMment--comment-¦ +-REPlace member---¦ +-NO SIGNOut-------¦ +-EXPand include---¦ +-OVErride SIGNOut-¦ ¦ +-SEArch---+¦ +---NOSearch-------+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)---------------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQual----(----group name----)--------------------¦ +-=-----+&lt;br /&gt;4-76 SCL Reference Guide&lt;br /&gt;4.13.2.1 Syntax Rules 4.13 The Retrieve Statement RETRIEVE ELEMENT element-name&lt;br /&gt;Indicates the 1- to 10-character name of the element(s) to be retrieved. You can specify the element name using a name mask, unless you want to retrieve a specific level of the element.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be retrieved, beginning with the element coded in the RETRIEVE ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;If you use the THROUGH clause, you cannot enter a member name in the TO clause or a different level in the LEVEL clause.&lt;br /&gt;VERSION version&lt;br /&gt;Indicates the version of the element you want to retrieve. Acceptable values are 1-99. By default Endevor retrieves the version of the element at the target stage.&lt;br /&gt;You must specify a full element name if you want to indicate a version number.&lt;br /&gt;LEVEL level&lt;br /&gt;Indicates the level of the element you want to retrieve. Acceptable values are 00-99. By default Endevor retrieves the current level of the element at the target stage.&lt;br /&gt;If you enter a LEVEL clause, you cannot use the THROUGH clause, and you must code a full element name in the RETRIEVE ELEMENT clause.&lt;br /&gt;FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;Chapter 4. Element Action Statements 4-77&lt;br /&gt;4.13 The Retrieve Statement The FROM clause indicates the location of the element being retrieved. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The environment name must be explicit. You can use a name mask with the system, subsystem, type and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. If you use a name mask with the stage, Endevor begins searching for the specified element(s) in Stage 1 of the current environment, and retrieves the first element that matches the specified element name, regardless of its location, version or level.&lt;br /&gt;TO FILE (DDNAME) dd-name&lt;br /&gt;DSNAME dataset-name&lt;br /&gt;MEMBER member-name&lt;br /&gt;PATH hfspath&lt;br /&gt;HFSFILE filename&lt;br /&gt;The TO clause indicates where the element is being retrieved. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must enter a FILE, DDNAME, DSNAME or PATH in conjunction with HFSFILE (enter one and only one). If you enter either a FILE or DDNAME, be sure the appropriate JCL is coded.&lt;br /&gt;Enter a member name (up to 10 characters) if it differs from the element name specified in the RETRIEVE ELEMENT clause. Remember that you cannot use a name mask with a TO field name.&lt;br /&gt;4-78 SCL Reference Guide&lt;br /&gt;4.13 The Retrieve Statement If you do not enter a member name, Endevor assumes that the element name and member name are the same. If you code a member name:&lt;br /&gt;¦ The RETRIEVE ELEMENT clause must contain a fully qualified element name. ¦ You cannot use the THROUGH clause. The SET TO MEMBER clause does not apply to the RETRIEVE action.&lt;br /&gt;PATH&lt;br /&gt;The HFS directory you want to retrieve the element from. This has a maximum of 768 characters.&lt;br /&gt;HFSFILE&lt;br /&gt;The name of the file for the retrieved element. The file name has a maximum of 255 characters.&lt;br /&gt;For more information see HFSFile Syntax Rules in this chapter.&lt;br /&gt;WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID OF ccid—Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the Master Control File to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File RETRIEVE CCID field. Chapter 4. Element Action Statements 4-79&lt;br /&gt;4.13 The Retrieve Statement If you need to select elements identified under more than one&lt;br /&gt;CCID, you can specify multiple CCIDs by enclosing the CCIDs&lt;br /&gt;with parentheses and separating them with commas. The CCIDs&lt;br /&gt;may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause:&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4) Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;WHERE PROCESSOR GROUP group name— This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII) Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;CCID ccid/COMMENT comment—You can enter a 1- to 12-character CCID and/or a 1- to 40-character comment. CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the RETRIEVE action fails.&lt;br /&gt;When you specify a CCID and/or comment in a RETRIEVE action for an existing element, Endevor uses this CCID and /or comment to set the RETRIEVE CCID and/or COMMENT fields.&lt;br /&gt;REPLACE MEMBER—If you retrieve an element to a library, Endevor checks to see whether that element is currently in the library. By default, if this condition exists, the request will be rejected. The REPLACE MEMBER option, however, enables you to replace the member currently in the library with the retrieved element. Specify this option when you want to replace the existing member in the library.&lt;br /&gt;NO SIGNOUT—This option is applicable only if SIGNIN/SIGNOUT is in effect for the system. NO SIGNOUT enables the element to be retrieved without signing it out; that is, if you select this option, the element is not signed out to your user ID. This enables another user to retrieve the element at the same time you are working with it.&lt;br /&gt;4-80 SCL Reference Guide&lt;br /&gt;4.13 The Retrieve Statement Similarly, if you want to use an element currently signed out to another user, you can retrieve a copy of it if that user has selected the NO SIGNOUT option.&lt;br /&gt;If you use NO SIGNOUT, any CCIDS and comments are ignored. Consequently, the Master Control File is not updated&lt;br /&gt;EXPAND INCLUDES—This option indicates that INCLUDE statements should be expanded when the element is copied to the external data set.&lt;br /&gt;In addition, the type definition for this element must specify an INCLUDE library.&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option in order to perform this action. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;SEARCH/NOSEARCH—The SEARCH option tells Endevor to look for the element to be retrieved along the map, if it is not in the current environment. The default is SEARCH.&lt;br /&gt;Code NOSEARCH to restrict Endevor's search to the current environment.&lt;br /&gt;Chapter 4. Element Action Statements 4-81&lt;br /&gt;4.13 The Retrieve Statement 4.13.3 Example of Retrieve SCL The following is an example of RETRIEVE SCL. This SCL retrieves Payroll program "PAYRPT23." The map will be searched if the program is not found at Stage 1.&lt;br /&gt;RETRIEVE ELEMENT 'PAYRPT23'&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE 1&lt;br /&gt;TO DSNAME 'PAYROLL.SRCLIB' MEMBER 'PAYRPT31'&lt;br /&gt;OPTIONS CCID REQ#4324 COMMENT 'RETRIEVE THE FICA TAX REPORTING PROGRAM' SEARCH REPLACE MEMBER .&lt;br /&gt;4-82 SCL Reference Guide&lt;br /&gt;4.13 The Retrieve Statement 4.14 The Signin Statement 4.14.1 Overview The SIGNIN statement removes a user signout associated with an element. It also enables you to sign out or reassign an element to another user.&lt;br /&gt;4.14.2 Syntax --SIGnin ELEment--element-name-------------------------------&lt;br /&gt;---------------------------------FROm------------------------- ---THRough----element-name-+ +-THRu----+&lt;br /&gt;- -ENVironment--env-name--SYStem--sys-name---------------------&lt;br /&gt;- -SUBsystem--subsys-name--TYPe--type-name---------------------&lt;br /&gt;----STAge--stage-id------------------------------------------- -STAge NUMber--stage-no-+&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;--------------------------------------------.----------------&lt;br /&gt;-OPTion--¤--------------------------¤-+ +-OVErride SIGNOut---¦ + -SIGNOut TO--userid-¦ ¦ +-NOSearch-+¦ +---SEArch-----------+&lt;br /&gt;CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)-------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)---------------¦ +-=--+&lt;br /&gt;Chapter 4. Element Action Statements 4-83&lt;br /&gt;4.14 The Signin Statement 4.14.2.1 Syntax Rules 4-84 SCL Reference Guide&lt;br /&gt;SIGNIN ELEMENT element-name&lt;br /&gt;Indicates the element(s) to be signed in. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be signed in, beginning with the element coded in the SIGNIN ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;The FROM clause indicates the location of the element being signed in. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. If you use a name mask with the stage, Endevor begins searching for the specified element(s) in Stage 1 of the current environment, and signs in the first element that matches the specified element name, regardless of its location, version or level.&lt;br /&gt;4.14 The Signin Statement WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID OF ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary. The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4)&lt;br /&gt;Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;WHERE PROCESSOR GROUP group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;Chapter 4. Element Action Statements 4-85&lt;br /&gt;4.14 The Signin Statement If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option in order to perform this action. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;SIGNOUT TO—Enables you to sign out or reassign an element at either stage to another user. If you have an element signed out to your user ID, you can use this option to reassign that element to the other user.&lt;br /&gt;SEARCH/NOSEARCH—The NOSEARCH option tells Endevor to restrict its search to the current environment. The default is NOSEARCH.&lt;br /&gt;Code SEARCH to tell Endevor to look for the element to be signed in along the map, if it is not in the current environment.&lt;br /&gt;4.14.3 Example of Signin SCL The following is an example of SIGNIN SCL. This SCL signs in all COBOL elements that begin with "PAYRPT*" at Stage 1 and are associated with CCID REQ#39934.&lt;br /&gt;SIGNIN ELEMENT 'PAYRPT'&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;WHERE CCID OF CURRENT = REQ#39934.&lt;br /&gt;4-86 SCL Reference Guide&lt;br /&gt;4.14 The Signin Statement 4.15 The Transfer Statement 4.15.1 Overview The TRANSFER statement transfers an element from one location to another. There are three types of transfers:&lt;br /&gt;¦ Endevor to Endevor transfers elements from one Endevor location to another. ¦ Endevor to an archive data set transfers elements from Endevor to an archive data set. ¦ Archive/unload data set to Endevor transfers elements from an archive data set or an unload tape to Endevor. The TRANSFER action is available in batch only. If the elements have been transferred to an archive data set, the COPY, LIST, and RESTORE actions can be executed against that data set.&lt;br /&gt;4.15.2 Transfer from Endevor to Endevor Statement The TRANSFER FROM Endevor TO Endevor statement transfers elements from one Endevor location to another.&lt;br /&gt;Chapter 4. Element Action Statements 4-87&lt;br /&gt;4.15 The Transfer Statement 4.15.3 Syntax 4-88 SCL Reference Guide&lt;br /&gt;--TRAnsfer ELEment--element-name---------------------------------------------- +-VERsion--version-++-LEVel--level-+&lt;br /&gt;---------------------------------FROm--¦ DEF +--------------------------------- ---THRough----element-name-+ +-THRU----+&lt;br /&gt;--TO--¦ DEF +------------------------------------------------------------------&lt;br /&gt;+-ELEment--element-name-++-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;-----------------------------------------------------------------.------------&lt;br /&gt;-OPTION--¤-----------------------------------------------¤-+ -CCId--ccid------------------------------¦ +-COMment--comment------------------------¦ +-NEW VERsion--version--------------------¦ +-IGNore generate failed------------------¦ -OVErride SIGNOut------------------------¦ -WITh HIStory----------------------------¦ -SYNchronize-----------------------------¦ +---BYPass GENerate PROcessor-------------¦ ¦ + -PROcessor GROup- ---EQ----group-name-+¦ ¦ +-=--+¦ +---BYPass ELEment DELete-----------------¦ ¦ +-BYPass DELete PROcessor-+¦ ¦ +-SIGnin-------------+¦ +-+-RETain SIGNOut-----+------------------+&lt;br /&gt;+ -SIGNOut TO--userid-+&lt;br /&gt;DEF:&lt;br /&gt;+- -ENVIronment--environment-name--SYStem--system-name---------------------------&lt;br /&gt;- -SUBSYStem--subsystem-name- -TYPe--type-name----STAge--stage-id----------------¦ + -STAge NUMber--stage-no-+CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)------------------------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)--------------------------------¦ +-=--+&lt;br /&gt;4.15.3.1 Syntax Rules 4.15 The Transfer Statement TRANSFER ELEMENT element-name&lt;br /&gt;Identifies the element(s) to be transferred. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;VERSION&lt;br /&gt;Identifies the version (1-99) of the element you want to transfer. If you use this clause you must specify a full element name.&lt;br /&gt;LEVEL&lt;br /&gt;Identifies the level (00-99) of the element you want to transfer. If you use the LEVEL clause you:&lt;br /&gt;¦ Cannot use the THROUGH clause. ¦ Must specify a full element name. If you do not specify a LEVEL clause, the Transfer action transfers all levels to the target location. If you specify this clause, Endevor only transfers the level you indicate.&lt;br /&gt;If the specified level is not the current level, the execution of the generate processor at the target location is forced, regardless of the setting specified by the processor group definition.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be transferred, beginning with the element coded in the TRANSFER ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;FILE(DDNAME) can point to an archive data set or to an unload dataset.&lt;br /&gt;Chapter 4. Element Action Statements 4-89&lt;br /&gt;4.15 The Transfer Statement The FROM clause indicates the location of the element being transferred. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. TO ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;ELEMENT element-name&lt;br /&gt;The TO clause indicates where the element is being transferred. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;4-90 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement If no SET TO clause has been coded and the TO clause system, subsystem, type, or element fields are not coded, these fields will default to the corresponding values coded in the FROM clause.&lt;br /&gt;Note: The target environment and stage values must be explicitly coded in the TO clause or SET TO clause. Wildcarding and name masking are not allowed for any of the TO clause fields.&lt;br /&gt;You must specify environment, system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. Remember that you cannot use a name mask with a TO field name.&lt;br /&gt;Enter a different element name if you want to change the element name specified in the TRANSFER ELEMENT clause. If you do not enter an element name here, Endevor assigns the FROM location element name.&lt;br /&gt;¦ You can enter a new element name only if a full element name was coded in the TRANSFER ELEMENT clause; that is, if you have not used a name mask. ¦ If you want to code a different element name, you must do so in the TRANSFER statement; the SET TO MEMBER clause does not apply to this action. WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;Chapter 4. Element Action Statements 4-91&lt;br /&gt;4.15 The Transfer Statement WHERE CCID OF ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File's RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4)&lt;br /&gt;Example 2: WHERE CCID OF ALL (PROJ)&lt;br /&gt;WHERE PROCESSOR GROUP group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COB)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;CCID ccid/COMMENT comment—You can enter a 1- to 12-character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the TRANSFER action fails.&lt;br /&gt;4-92 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement When you specify a CCID and/or comment in a TRANSFER action, Endevor updates CCID and/or COMMENT fields differently, depending on whether you specify the TRANSFER request without history, with history, or with synchronization.&lt;br /&gt;When you specify a CCID and/or comment in a TRANSFER action without history, Endevor uses this CCID and/or comment to:&lt;br /&gt;¦ Set the generate and component list delta CCID and/or COMMENT fields if the generate processor is run. ¦ Set the last action CCID and/or COMMENT fields. Endevor also:&lt;br /&gt;¦ Clears the retrieve CCID and/or COMMENT fields. ¦ Sets the source CCID and /or COMMENT fields from their value in the previous stage. ¦ Sets the source delta CCID and/or COMMENT fields from their last delta value in the previous stage. When you specify a CCID and/or comment in a TRANSFER action using the WITH HISTORY option, Endevor uses the CCID and/or comment to:&lt;br /&gt;¦ Set the generate and component list delta CCID and/or COMMENT fields if the generate processor is run. ¦ Set the last action CCID and/or COMMENT fields. Endevor also:&lt;br /&gt;¦ Clears the retrieve CCID and/or COMMENT fields. ¦ Sets the source CCID and/or COMMENT fields from their value in the previous stage. ¦ Moves source delta CCIDs and COMMENTs with their respective delta levels. When you specify a CCID and/or comment in a TRANSFER action using the SYNCHRONIZE option, Endevor uses this CCID and/or comment to:&lt;br /&gt;¦ Set the retrieve CCID and/or COMMENT fields. ¦ Set the source CCID and/or COMMENT fields from their value in the previous stage. ¦ Set the source delta CCID and/or COMMENT fields from their value at the target of the transfer, with a sync flag. If you use BYPASS GENERATE PROCESSOR, the TRANSFER action will not set the generate or component list delta CCID and/or COMMENT fields.&lt;br /&gt;Chapter 4. Element Action Statements 4-93&lt;br /&gt;4.15 The Transfer Statement NEW VERSION version—By default, the version number of the FROM location element—at the time it is transferred—is assigned to the TO location element. Use this option to assign a different version number to the TO location element; simply enter the number (1-99 inclusive, leading zeros optional) that you want to use.&lt;br /&gt;Endevor allows only one version of an element at each location. Therefore, if the element currently exists at the target location, you cannot update it with another version. For example, if you try to transfer Version 2 of an element to a target location that already has an existing Version 1, you must archive or delete the current Version 1 before you transfer the Version 2.&lt;br /&gt;IGNORE GENERATE FAILED—This option applies to the *FAILED* flag previously set for the element. If the TRANSFER action is unsuccessful, you receive a message indicating that "the generate failed." Processing for the action normally is terminated at this point.&lt;br /&gt;If you enter this option, however, you can perform the action whether or not the element was previously generated or moved successfully.&lt;br /&gt;BYPASS GENERATE PROCESSOR—Select this option if you do not want the generate/move processor (depending on the processor group option chosen) executed for the element.&lt;br /&gt;PROCESSOR GROUP group name—Select this option to specify a predefined named group of processors. If you do not specify a processor group, Endevor defaults to the processor group last used for this element.&lt;br /&gt;If the FROM element is associated with a processor group that does not specify BYPASS GENERATE PROCESSOR, the processor group may be overridden with the processor group clause. Otherwise, a message will be issued saying that the processor group cannot be overridden.&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option in order to perform the this action. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;4-94 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement BYPASS ELEMENT DELETE—This option tells Endevor to retain the element in the FROM location after it is transferred. When you select this option, the delete processor is also bypassed.&lt;br /&gt;BYPASS DELETE PROCESSOR—If you select this option, Endevor does not execute the delete processor.&lt;br /&gt;WITH HISTORY—The WITH HISTORY option preserves source element change history. If you request TRANSFER WITH HISTORY, Endevor first ensures that the current level of the target element is the same as the base level of the source element. It then transfers all levels of the element from source to target, appending the source change history to the target change history.&lt;br /&gt;If you do not code this option, Endevor transfers the element(s) without history. When you transfer the element without history Endevor searches through the element levels at the source location to find a matching level at the target location. Endevor then compares the two and creates a new level at the target location that reflects the differences.&lt;br /&gt;If the base level of the source element differs from the current level at the target, the TRANSFER fails unless you code the SYNCHRONIZE option.&lt;br /&gt;SYNCHRONIZE— The SYNCHRONIZE option compensates for differences between the base level of a source element and the current level of a target element. Endevor attempts to find a sync level between the source and target elements beginning with the first level of the source and works forward through the deltas. If Endevor finds a sync level, it compares the two and creates a new level at the target that reflects the differences. If Endevor cannot find a sync level and you specify SYNC, Endevor issues an out of sync message. Endevor then compares the last level of the source and last level of the target, and creates a new level at the target that reflects the differences. When moving with history, if the sync point is found, Endevor moves the element from the FROM location to the TO location, appending the FROM location delta levels after the sync-point element. If the two levels are different, and SYNC is specified, Endevor first creates a sync level at the target reflecting the differences between the base level of the FROM element and the target , then moves the element to the TO location and appends the FROM location delta levels to the target.&lt;br /&gt;Chapter 4. Element Action Statements 4-95&lt;br /&gt;4.15 The Transfer Statement SIGNIN—This option tells Endevor to sign in all elements at the target stage after successfully completing the move. Use this option to override SET OPTION RETAIN SIGNOUT or SET OPTION SIGNOUT TO clauses.&lt;br /&gt;RETAIN SIGNOUT—This option tells Endevor to retain the source location signouts for all elements at the target location. This option applies only if the element was signed out at the source before the TRANSFER.&lt;br /&gt;¦ If the element was signed out at the source before the TRANSFER, it will be signed out to that same ID—at the target—after the TRANSFER. ¦ If the element was not signed out at the source before the TRANSFER, it will not be signed out at the target after the TRANSFER. ¦ If you do not use this option, the element at the target location is not signed out, regardless of whether it was signed out at the target before the TRANSFER took place. SIGNOUT TO userid—This option tells Endevor to sign all elements out to the specified user ID at the target stage.&lt;br /&gt;4-96 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement 4.15.4 Transfer from Endevor to Archive Data Set Statement The TRANSFER FROM Endevor TO ARCHIVE DATA SET statement transfers elements from Endevor to an archive data set.&lt;br /&gt;4.15.5 Syntax --TRAnsfer ELEment--element-name----------------------------- +-VERsion--version-+&lt;br /&gt;-------------------------------------------------------------- +-LEVel--level-++---THRough----element-name-+ +-THRU----+&lt;br /&gt;--FROm--¦ DEF +- -TO- ---FILe------dd-name---------------------- +-DDName-+&lt;br /&gt;--------------------------------------------------------------&lt;br /&gt;-WHEre--¤----------------¤-++-¦ CCID +-¦ +-¦ PRO +--+&lt;br /&gt;-----------------------------------------------------.-------&lt;br /&gt;-OPTION--¤-----------------------------------¤-+ -CCId--ccid------------------¦ +-COMment--comment------------¦ +-NEW VERsion--version--------¦ +-IGNore generate failed------¦ -OVErride SIGNOut------------¦ ---BYPass ELEment DELete-----+&lt;br /&gt;+-BYPass DELete PROcessor-+&lt;br /&gt;DEF:&lt;br /&gt;+- -ENVironment--environment-name--SYStem--system-name----------&lt;br /&gt;- -SUBSYStem--subsystem-name--TYPe--type-name------------------&lt;br /&gt;----STAge--stage-id-------------------------------------------¦ -STAge NUMber--stage-no-+CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId------------------------+-------+--(----ccid----)-------¦ ¦ +-CURrent--+ ¦ +-=-----+ +-OF--+-ALL------+-+&lt;br /&gt;+-RETrieve-+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group name----)---------------¦ +-=--+&lt;br /&gt;Chapter 4. Element Action Statements 4-97&lt;br /&gt;4.15 The Transfer Statement 4.15.5.1 Syntax Rules 4-98 SCL Reference Guide&lt;br /&gt;TRANSFER ELEMENT element-name&lt;br /&gt;Indicates the element(s) to be transferred. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;VERSION&lt;br /&gt;Identifies the version (1-99) of the element you want to transfer. If you use this clause you must specify a full element name.&lt;br /&gt;LEVEL&lt;br /&gt;Identifies the level (00-99) of the element you want to transfer. If you use the LEVEL clause you:&lt;br /&gt;¦ Cannot use the THROUGH clause. ¦ Must specify a full element name. If you do not specify a LEVEL clause, the Transfer action transfers all levels to the target location. If you specify this clause, Endevor only transfers the level you indicate.&lt;br /&gt;If the specified level is not the current level, the execution of the generate processor at the target location is forced, regardless of the setting specified by the processor group definition.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be transferred, beginning with the element coded in the TRANSFER ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;FROM ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;4.15 The Transfer Statement The FROM clause indicates the location of the element being transferred. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The environment name must be explicit. You can use a name mask with the system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. TO FILE (DDNAME) dd-name&lt;br /&gt;The TO clause indicates the file or DDname to which the element is being transferred. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;The DCB must specify variable blocked records (RECFM=VB), a minimum LRECL of 1021, DSORG=PS, and a block size greater than 1025. When archiving to tape, the recommended block size is 32,000.&lt;br /&gt;Chapter 4. Element Action Statements 4-99&lt;br /&gt;4.15 The Transfer Statement WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID OF ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;¦ CURRENT—Tells Endevor to look through the CCID fields in the MCF (Master Control File) to find a specified CCID(s). This is the default. ¦ ALL—Tells Endevor to search both the Master Control File and the SOURCE DELTA levels for a specified CCID(s). If you have ACM, Endevor also searches the COMPONENT LIST DELTA levels for the specified CCID(s). ¦ RETRIEVE—Tells Endevor to use the CCID in the Master Control File RETRIEVE CCID field. If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;4-100 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID OF CURRENT (PROJ1, PROJ2, PROJ4) Example 2: WHERE CCID OF ALL (PROJV)&lt;br /&gt;WHERE PROCESSOR GROUP group name—This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name.&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;CCID ccid/COMMENT comment—You can enter a 1- to 12-character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the TRANSFER action fails.&lt;br /&gt;When you specify a CCID and/or comment in a TRANSFER action, Endevor updates CCID and/or COMMENT fields differently depending on whether you specify the TRANSFER request without history, with history, or with synchronization.&lt;br /&gt;Chapter 4. Element Action Statements 4-101&lt;br /&gt;4.15 The Transfer Statement When you specify a CCID and/or comment in a TRANSFER action without history, Endevor uses this CCID and/or comment to:&lt;br /&gt;– Set the generate and component list delta CCID and/or COMMENT fields if the generate processor is run. – Set the last action CCID and/or COMMENT fields. – Endevor also: – Clears the retrieve CCID and/or COMMENT fields. – Sets the source CCID and/or COMMENT fields from their value in the previous stage. – Sets the source delta CCID and/or COMMENT fields from their last delta value in the previous stage. When you specify a CCID and/or comment in a TRANSFER action using the WITH HISTORY option, Endevor uses this CCID and/or comment to:&lt;br /&gt;– Set the generate and component list delta CCID and/or COMMENT fields if the generate processor is run. – Set the last action CCID and/or COMMENT fields. – Endevor also: – Clears the retrieve CCID and/or COMMENT fields. – Sets the source CCID and/or COMMENT fields from their value in the previous stage. – Moves source delta CCIDs and COMMENTS with their respective delta levels. When you specify a CCID and/or comment in a TRANSFER action using the SYNCHRONIZE option, Endevor uses this CCID and/or comment to:&lt;br /&gt;– Set the retrieve CCID and/or COMMENT fields. – Set the source CCID and/or COMMENT fields from their value in the previous stage. – Set the source delta CCID and/or COMMENT fields from their value at the target of the TRANSFER with a sync flag. BYPASS ELEMENT DELETE—This option tells Endevor to retain the element in the FROM location after it is transferred. When you select this option, the delete processor is also bypassed.&lt;br /&gt;BYPASS DELETE PROCESSOR—If you select this option, Endevor does not execute the delete processor.&lt;br /&gt;4-102 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement IGNORE GENERATE FAILED—This option applies to the *FAILED* flag previously set for the element. If the TRANSFER action is unsuccessful, you receive a message indicating that "the generate failed." Processing for the action normally is terminated at this point.&lt;br /&gt;If you enter this option, however, you can perform the action whether or not the element was previously generated or moved successfully.&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option in order to perform this action. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;Chapter 4. Element Action Statements 4-103&lt;br /&gt;4.15 The Transfer Statement 4.15.6 Transfer from Archive Data Set or Unload Tape to EndevorStatement The ARCHIVE/UNLOAD DATA SET TO Endevor statement transfers elements from an archive data set or an unload tape to Endevor.&lt;br /&gt;4-104 SCL Reference Guide&lt;br /&gt;4.15.7 Syntax 4.15 The Transfer Statement --TRAnsfer ELEment--element-name---------------------------------------------- +-VERsion--version-++-LEVel--level-+&lt;br /&gt;---------------------------------FROm--¦ DEF +--------------------------------- ---THRough----element-name-+ +-THRU----+&lt;br /&gt;--TO--¦ DEF +--ELEment--element-name-------------------------------------------&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;-WHEre--¤---------------------------------------¤-++-¦ CCID +------------------------¦ +-¦ PRO +-------------------------¦ -ARChive----¦ DATE +-------------+&lt;br /&gt;+-¦ FROM +-----------¦ +-¦ THROUGH +--------¦ +-¦ FROM - THROUGH +-+&lt;br /&gt;-----------------------------------------------------------------.------------&lt;br /&gt;-OPTION--¤-----------------------------------------------¤-+ -CCId--ccid------------------------------¦ +-COMment--comment------------------------¦ +-NEW VERsion--version--------------------¦ +-OVErride SIGNOut------------------------¦ +---BYPass GENerate PROcessor-------------¦ ¦ + -PROcessor GROup- ---EQ----group-name-+¦ ¦ +-=--+¦ +-WITh HIStory----------------------------¦ -SYNchronize-----------------------------¦ +-SIGnin-------------+¦ +-+-RETain SIGNOut-----+------------------+&lt;br /&gt;+ -SIGNOut TO--userid-+&lt;br /&gt;DEF:&lt;br /&gt;+----FILe------ddname- -ENVIronment--environment-name--SYStem--system-name------- +-DDName-+&lt;br /&gt;- -SUBSYStem--subsystem-name- -TYPe--type-name--STAge NUMber--stage-no-----------¦ CCID:&lt;br /&gt;+-EQual-+ +-,----+&lt;br /&gt;+--CCId--+-------+--(----ccid----)----------------------------------------------¦ +-=-----+&lt;br /&gt;DATE:&lt;br /&gt;+- -DATe- -- -- -&lt;br /&gt;---- -date--- -&lt;br /&gt;-------------------- ----------------------------------¦ +-EQ-¦ +-TIMe----------time-+ +-=--+ +-EQ-¦&lt;br /&gt;+-=--+&lt;br /&gt;FROM:&lt;br /&gt;+- -FROm--DATe- -- -- -&lt;br /&gt;---- -date--- -&lt;br /&gt;-------------------- ----------------------------¦ +-EQ-¦ +-TIMe----------time-+ +-=--+ +-EQ-¦&lt;br /&gt;+-=--+&lt;br /&gt;THROUGH:&lt;br /&gt;+---------------DATe----EQ----date----------------------------------------------¦ +-THRough-¦ +-=--+ +-TIMe----------time-+ +-THRu----+ +-EQ-¦&lt;br /&gt;+-=--+&lt;br /&gt;PRO:&lt;br /&gt;+-,----------+&lt;br /&gt;+--PROcessor GROup- ---EQ----(----group-name----)--------------------------------¦ +-=--+&lt;br /&gt;Chapter 4. Element Action Statements 4-105&lt;br /&gt;4.15 The Transfer Statement 4.15.7.1 Syntax Rules 4-106 SCL Reference Guide&lt;br /&gt;TRANSFER ELEMENT element-name&lt;br /&gt;Indicates the element(s) to be transferred. Code the required syntax and enter the appropriate element name; up to 10 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;VERSION&lt;br /&gt;Identifies the version (1-99) of the element you want to transfer. If you use this clause you must specify a full element name.&lt;br /&gt;LEVEL&lt;br /&gt;Identifies the level (00-99) of the element you want to transfer. If you use the LEVEL clause you:&lt;br /&gt;¦ Cannot use the THROUGH clause. ¦ Must specify a full element name. If you do not specify a LEVEL clause, the Transfer action transfers all levels to the target location. If you specify this clause, Endevor only transfers the level you indicate.&lt;br /&gt;If the specified level is not the current level, the execution of the generate processor at the target location is forced, regardless of the setting specified by the processor group definition.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be transferred, beginning with the element coded in the TRANSFER ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with the element name.&lt;br /&gt;FROM FILE (DDNAME) dd-name&lt;br /&gt;ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;4.15 The Transfer Statement The FROM clause indicates the location of the element to be transferred. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must code a FILE or DDNAME for this request, indicating the archive data set from which the element is being transferred. Enter this information first when coding the syntax.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage number (either 1 or 2). The environment name must be explicit. You can use a name mask with the system, subsystem, and type names, as well as the stage number.&lt;br /&gt;Entering a site ID is optional. This field further defines the location of the element being transferred.&lt;br /&gt;TO ENVIRONMENT env-name&lt;br /&gt;SYSTEM system-name&lt;br /&gt;SUBSYSTEM subsys-name&lt;br /&gt;TYPE type-name&lt;br /&gt;STAGE stage-id&lt;br /&gt;STAGE NUMBER stage-no&lt;br /&gt;ELEMENT element-name&lt;br /&gt;The TO clause indicates the Endevor location to which the element is being transferred. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;If no SET TO clause has been coded and the TO clause system, subsystem, type, or element fields are not coded, these fields will default to the corresponding values coded in the FROM clause.&lt;br /&gt;Chapter 4. Element Action Statements 4-107&lt;br /&gt;4.15 The Transfer Statement Note: The target environment and stage values must be explicitly coded in the TO clause or SET TO clause. Wildcarding and name masking are not allowed for any of the TO clause fields.&lt;br /&gt;You must specify an environment, system, subsystem, type, and stage. The stage specification can be either one of the following:&lt;br /&gt;¦ STAGE ID—Enter a single alphanumeric stage identifier. ¦ STAGE NUMBER—Enter either 1 or 2. Remember that you cannot use a name mask with a TO field location.&lt;br /&gt;Enter a different element name if you want to change the element name specified in the TRANSFER ELEMENT clause. If you do not enter an element name here, Endevor uses the archived element name.&lt;br /&gt;¦ You can enter a new element name only if a full element name was coded in the TRANSFER ELEMENT clause; that is, if you have not used a name mask. ¦ If you want to code a different element name, you must do so in the TRANSFER statement; the SET TO MEMBER clause does not apply to this action. WHERE&lt;br /&gt;Use WHERE clauses to further qualify element selection criteria. Endevor uses both the WHERE clause in an action and any preceding SET WHERE clause to determine the "where" criteria for that action.&lt;br /&gt;¦ A WHERE clause in an action overrides values in a SET WHERE clause that precedes the action. ¦ If the SET WHERE clause contains values that are not included in the WHERE clause, Endevor uses these values. See the description of the SET WHERE statement, in Chapter 3, "Set, Clear, and EOF Statements," for more information.&lt;br /&gt;WHERE CCID ccid —Limits the processing to those elements that match one of the supplied CCIDs. You can use a name mask in this field.&lt;br /&gt;If you need to select elements identified under more than one CCID, you can specify multiple CCIDs by enclosing the CCIDs with parentheses and separating them with commas. The CCIDs may extend over multiple lines if necessary.&lt;br /&gt;4-108 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE CCID EQ PROJV&lt;br /&gt;Example 2: WHERE CCID (PROJ1, PROJ2, PROJ4)&lt;br /&gt;WHERE ARCHIVE—This clause allows you to select elements based on the date and, optionally, time that an element was archived. There are four possible forms for this clause:&lt;br /&gt;¦ WHERE ARCHIVE DATE mm/dd/yy [TIME hh:mm] ¦ This clause tells Endevor to archive only those elements with this date, and optionally, this time stamp. ¦ WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm] ¦ This clause tells Endevor to archive all elements with a date and, optionally, a time stamp on or after the specified date and time stamps. ¦ WHERE ARCHIVE THROUGH DATE mm/dd/yy [TIME hh:mm] ¦ This clause tells Endevor to archive all elements with a date and, optionally, a time stamp earlier than and including the specified date and time stamp. ¦ WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm] THROUGH DATE mm/dd/yy [TIME hh:mm] ¦ This clause tells Endevor to archive only those elements with a date, and optionally, a time stamp within the specified range. If you enter a time, you must enter the date with it. WHERE PROCESSOR GROUP group name—This clause is not valid when transferring from an archive data set. This clause allows you to select elements according to a specified processor group. You can use a name mask when specifying the processor group name&lt;br /&gt;If you need to select elements identified under more than one processor group, you can specify multiple distinct processor group selectors by enclosing the processor groups with parentheses and separating them with commas. The processor groups may extend over multiple lines if necessary.&lt;br /&gt;The next examples illustrate the use of this clause.&lt;br /&gt;Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)&lt;br /&gt;Example 2: WHERE PROCESSOR GROUP (COBV)&lt;br /&gt;OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;Chapter 4. Element Action Statements 4-109&lt;br /&gt;4.15 The Transfer Statement CCID ccid/COMMENT comment—You can enter a 1- to 12-character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the TRANSFER action fails.&lt;br /&gt;When you specify a CCID and/or comment in a TRANSFER action, Endevor updates CCID and/or COMMENT fields differently, depending on whether you specify the TRANSFER request without history, with history, or with synchronization.&lt;br /&gt;If you use the BYPASS GENERATE PROCESSOR option, the TRANSFER action does not set the generate or component list delta CCID and/or COMMENT fields.&lt;br /&gt;When you specify a CCID and/or comment in a TRANSFER action without history, Endevor uses this CCID and/or comment to:&lt;br /&gt;¦ Set the generate and component list delta CCID and/or COMMENT fields if the generate processor is run. ¦ Set the last action CCID and/or COMMENT fields. ¦ Endevor also: ¦ Clears the retrieve CCID and/or COMMENT fields. ¦ Sets the source CCID and /or COMMENT fields from their value in the previous stage. ¦ Sets the source delta CCID and/or COMMENT fields from their last delta value in the previous stage. When you specify a CCID and/or comment in a TRANSFER action using the WITH HISTORY option, Endevor uses the CCID and/or comment to:&lt;br /&gt;¦ Set the generate and component list delta CCID and/or COMMENT fields if the generate processor is run. ¦ Set the last action CCID and/or COMMENT fields. ¦ Endevor also: ¦ Clears the retrieve CCID and/or COMMENT fields. ¦ Sets the source CCID and/or COMMENT fields from their value in the previous stage. ¦ Moves source delta CCIDs and COMMENTs with their respective delta levels. 4-110 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement ¦ When you specify a CCID and/or comment in a TRANSFER action using the SYNCHRONIZE option, Endevor uses this CCID and/or comment to: ¦ Set the retrieve CCID and/or COMMENT fields. ¦ Set the source CCID and/or COMMENT fields from their value in the previous stage. ¦ Set the source delta CCID and/or COMMENT fields from their value at the target of the transfer, with a sync flag. NEW VERSION version—Use this option to assign a different version number to the TO location element. Acceptable values are 1-99.&lt;br /&gt;Endevor allows only one version of an element at each location. For example, if you try to transfer Version 2 of an element to a target location that already has an existing Version 1, you must archive or delete the current Version 1 before you transfer the Version 2.&lt;br /&gt;OVERRIDE SIGNOUT—If the element is signed out to another person, you must code this option in order to perform this action. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;BYPASS GENERATE PROCESSOR—Use this option if you do not want the generate processor executed for the element. Otherwise, Endevor looks for and executes the generate processor for the element when it is transferred.&lt;br /&gt;PROCESSOR GROUP group name—Select this option to specify a predefined named group of processors. If you do not specify a processor group, Endevor defaults to the processor group last used for this element.&lt;br /&gt;WITH HISTORY—The WITH HISTORY option preserves source element change history. If you request TRANSFER WITH HISTORY, Endevor first ensures that the current level of the target element is the same as the base level of the source element. It then transfers all levels of the element from source to target, appending the source change history to the target change history.&lt;br /&gt;Chapter 4. Element Action Statements 4-111&lt;br /&gt;4.15 The Transfer Statement If you do not code this option, Endevor transfers the element(s) without history. When you transfer the element without history Endevor searches through the element levels at the source location to find a matching level at the target location. Endevor then compares the two and creates a new level at the target location that reflects the differences.&lt;br /&gt;If the base level of the source element differs from the current level at the target, the transfer fails unless you code the SYNCHRONIZE option.&lt;br /&gt;SYNCHRONIZE—When transferring either with or without history, the SYNCHRONIZE option compensates for differences between the base level of a source element and the current level of a target element. If these levels differ, the SYNCHRONIZE option tells Endevor to create a new level at the target that reflects the differences.&lt;br /&gt;After creating the sync level, Endevor transfers the element(s), either with or without history.&lt;br /&gt;SIGNIN—This option tells Endevor to sign in all elements at the target stage. Use this option to override SET OPTION RETAIN SIGNOUT or SET OPTION SIGNOUT TO clauses.&lt;br /&gt;RETAIN SIGNOUT—This option tells Endevor to retain the source location signouts for all elements at the target location. This option applies only if the element was signed out at the source before the TRANSFER.&lt;br /&gt;¦ If the element was signed out at the source before the TRANSFER, it will be signed out to that same ID—at the target—after the TRANSFER. ¦ If the element was not signed out at the source before the TRANSFER, it will not be signed out at the target after the TRANSFER. ¦ If you do not use this option, the element at the target location is not signed out, regardless of whether it was signed out at the target before the TRANSFER took place. SIGNOUT TO userid—This option tells Endevor to sign all elements out to the specified user ID at the target stage.&lt;br /&gt;4-112 SCL Reference Guide&lt;br /&gt;4.15 The Transfer Statement 4.15.8 Example of Transfer SCL The following is an example of TRANSFER SCL. This SCL transfers all of the "PAYRPT*" COBOL elements to the NEWREPRT subsystem. All element history will be retained, and the signout status can be overridden, if necessary.&lt;br /&gt;TRANSFER ELEMENT 'PAYRPT'&lt;br /&gt;FROM ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;TO ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'NEWREPRT' TYPE 'COBOL' STAGE NUMBER 1&lt;br /&gt;OPTIONS CCID REQ#4418 COMMENT 'MOVE REPORTING SUBSYSTEM PROGRAMS' WITH HISTORY OVERRIDE SIGNOUT .&lt;br /&gt;Chapter 4. Element Action Statements 4-113&lt;br /&gt;4.15 The Transfer Statement 4.16 The Update Statement 4.16.1 Overview The UPDATE statement updates an element in the entry stage, thereby creating a new level for the element in the entry stage. The entry stage for the environment is defined through the C1DEFLTS table. Elements are updated only if there are differences between the incoming source in the FROM location and the target entry stage source.&lt;br /&gt;4.16.2 Syntax --UPDate ELEment--element-name--------------------------------------- +---THRough----element-name-+ +-THRu----+&lt;br /&gt;- -FROm- -----FILe------dd-name----------------------------------------- +-DDName-+¦ +-DSName--dataset-name--------------------------¦ +-MEMber--member-name-+¦ +-PATH--hfspath--HFSFILE--filename--------------+&lt;br /&gt;- -TO- -ENVironment--env-name--SYStem--sys-name-------------------------&lt;br /&gt;- -SUBsystem--subsys-name--TYPe--type-name-----------------------------&lt;br /&gt;----------------------------------------------------------------------&lt;br /&gt;-OPTion--¤--------------------------------------------------¤-+ -CCId--ccid---------------------------------¦ +-COMment--comment---------------------------¦ +-DELete input source------------------------¦ -OVErride SIGNOut---------------------------¦ +---BYPass GENerate PROcessor----------------+&lt;br /&gt;+ -PROcessor GROup- ---EQual----group name-+ +-=-----+&lt;br /&gt;--.------------------------------------------------------------------&lt;br /&gt;4.16.2.1 Syntax Rules UPDATE ELEMENT element-name&lt;br /&gt;Indicates the element(s) to be updated. Code the required syntax and enter the appropriate element name; up to 255 characters are allowed. In addition, you can use a name mask with the element name.&lt;br /&gt;THROUGH (THRU) element-name&lt;br /&gt;Indicates that a range of elements should be updated, beginning with the element coded in the UPDATE ELEMENT statement, up to and including the element specified in this statement. You can use a name mask with the element name. If you use the THROUGH clause, however, you cannot enter a member name (in the FROM clause).&lt;br /&gt;4-114 SCL Reference Guide&lt;br /&gt;4.16 The Update Statement Note: If you are working with a sequential file, the THROUGH clause is ignored.&lt;br /&gt;FROM FILE (DDNAME) dd-name&lt;br /&gt;DSNAME dataset-name&lt;br /&gt;MEMBER member-name&lt;br /&gt;PATH hfspath&lt;br /&gt;HFSFILE filename&lt;br /&gt;The FROM clause indicates the location of the element being updated. Endevor uses both the FROM clause in an action and any preceding SET FROM clause to determine the "from" criteria for that action.&lt;br /&gt;¦ A FROM clause in an action overrides values in a SET FROM clause that precedes the action. ¦ If the SET FROM clause contains values that are not included in the FROM clause, Endevor uses these values. See the description of the SET FROM statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must enter a FILE, DDNAME, DSNAME, or PATH in conjunction with the HFSFILE (enter one and only one). If you enter a FILE or DDNAME, be sure the appropriate JCL is coded.&lt;br /&gt;Enter a member name (up to 255 characters) if it differs from the element name specified in the UPDATE ELEMENT clause; you can use a name mask with this entry. If you do not enter a member name, Endevor assumes that the element name and member name are the same.&lt;br /&gt;¦ You can enter a member name only if a full element name has been coded in the UPDATE ELEMENT clause; that is, if you have not used a name mask. ¦ If you want to code a member name, you must do so in the UPDATE statement; the SET FROM clause does not contain a member name entry. If you do enter a member name, you cannot enter a THROUGH clause. ¦ If you are working with a sequential file, the MEMBER clause is ignored. Chapter 4. Element Action Statements 4-115&lt;br /&gt;4.16 The Update Statement PATH&lt;br /&gt;The HFS directory where the element source file resides.&lt;br /&gt;HFSFILE&lt;br /&gt;The file in the HFS directory that you want to put under the control of Endevor.&lt;br /&gt;For more information see 1.6.1, “HFSFile Syntax Rules” on page 1-23. the beginning of this chapter.&lt;br /&gt;TO ENVIRONMENT env-name SYSTEM sys-name SUBSYSTEM subsys-name TYPE type-name&lt;br /&gt;The TO clause indicates where the element is being updated. Endevor uses both the TO clause in an action and any preceding SET TO clause to determine the "to" criteria for that action.&lt;br /&gt;¦ A TO clause in an action overrides values in a SET TO clause that precedes the action. ¦ If the SET TO clause contains values that are not included in the TO clause, Endevor uses these values. See the description of the SET TO statement, in Chapter 3, "Set Clear, and EOF Statements," for more information.&lt;br /&gt;You must specify an environment, system, subsystem, and type. Remember that you cannot use a name mask with a TO field location.&lt;br /&gt;4-116 SCL Reference Guide&lt;br /&gt;4.16 The Update Statement OPTIONS&lt;br /&gt;OPTIONS clauses allow you to further specify action requests.&lt;br /&gt;CCID ccid/COMMENT comment—You can enter a 1- to 12-character CCID and/or a 1- to 40-character comment.&lt;br /&gt;CCIDs and/or comments may be required. If you do not provide a required CCID and/or comment, the UPDATE action fails.&lt;br /&gt;When you specify a CCID and/or comment in an UPDATE action for an existing element, Endevor uses this CCID and/or comment to:&lt;br /&gt;¦ Set the source and source delta CCID and/or COMMENT fields if the CCID and/or comment have changed. ¦ Set the generate CCID and/or COMMENT fields if the generate processor is run. ¦ Set the component list delta CCID and/or COMMENT fields if running the generate processor creates a change. ¦ Set the last action CCID and/or COMMENT fields. Endevor also clears the entry stage retrieve CCID and/or COMMENT fields when you update an element. If you use the BYPASS GENERATE PROCESSOR option, the UPDATE action will not set the generate or component delta CCID and/or COMMENT fields.&lt;br /&gt;DELETE INPUT SOURCE—After an element has been successfully updated in Endevor, you can use this option to remove the member from the library in which it originated.&lt;br /&gt;If you input a sequential file, this option deletes that file.&lt;br /&gt;OVERRIDE SIGNOUT—If the element has been signed out to a person other than yourself, you must code this option in order to perform this action. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made by another user.&lt;br /&gt;BYPASS GENERATE PROCESSOR—Use this option if you do not want the generate processor executed for the element. Otherwise, Endevor looks for and executes the generate processor for the element when it is updated.&lt;br /&gt;PROCESSOR GROUP group name—Use this option to specify a predefined named group of processors. If you do not specify a processor group, Endevor defaults to the processor group last used for this element.&lt;br /&gt;Chapter 4. Element Action Statements 4-117&lt;br /&gt;4.16 The Update Statement 4.16.3 Example of Update SCL The following is an example of UPDATE SCL. This SCL modifies the Payroll Reporting program "PAYRPT23." After the update is complete, the source member will be deleted.&lt;br /&gt;UPDATE ELEMENT 'PAYRPT23'&lt;br /&gt;TO ENVIRONMENT 'PROD' SYSTEM 'PAYROLL' SUBSYSTEM 'REPORTS' TYPE 'COBOL'&lt;br /&gt;FROM DSNAME 'PAYROLL.SRCLIB'&lt;br /&gt;OPTIONS DELETE INPUT SOURCE CCID REQ#42976 COMMENT 'CHANGES FOR NEW REPORTING REQUIREMENTS' .&lt;br /&gt;4-118 SCL Reference Guide&lt;br /&gt;Chapter 5. Batch Package SCL&lt;br /&gt;This chapter describes the SCL needed to manage packages in batch. It contains discussions of the Batch Package facility, execution of the Batch Package facility, and the Batch Package actions.&lt;br /&gt;Chapter 5. Batch Package SCL 5-1&lt;br /&gt;5.1 Batch Package Facility 5.1 Batch Package Facility Endevor's Batch Package Facility provides you with the ability to execute all package actions in batch mode. In addition, the Endevor Batch Package Facility:&lt;br /&gt;¦ Supports all foreground package actions. See the Packages Guide for information on package processing. ¦ Provides the additional actions SUBMIT, ARCHIVE, and INSPECT. ¦ Has the same package status requirements as those used in foreground. See the Packages Guide for information on package status requirements. ¦ Supports before- and after-package exits. ¦ Invokes the GENPKGID exit, if installed, to generate a new package ID. See the Exits Guide for information on package exits. 5.1.1 Summary of Batch Package Actions The following table summarizes Endevor batch package actions, their required status and exits supported.&lt;br /&gt;Action Description Required Status Exits Before Supported After Approve Package Approves a package for execution. ¦ In-approval. ¦ Denied. X X Archive Package Copies the package definitions to an external data set. ¦ Execute if backouts exist. X X ¦ Committed if backout is enabled. Backin Package Backs a package in, reversing the BACKOUT PACKAGE action. ¦ Executed. X X Backout Package Backouts package changes. Restores output modules to pre-execution state. ¦ Executed. ¦ In-execution. ¦ Exec-failed. X X&lt;br /&gt;5-2 SCL Reference Guide&lt;br /&gt;5.1 Batch Package Facility Action Description Required Status Exits Before Supported After Cast Package Casts a package, which freezes the data and prevents further changes. For a list of Cast validations, please see the section titled "Validations for Cast and Inspect" in the Packages Guide. ¦ In-Edit. X X Commit Package Commits a package removing all backout/backin data, but retaining package event information. ¦ Executed. X X Define Package Creates a new or updates an existing package. ¦ In-edit for an existing package. X X Delete Package Deletes an entire package from Endevor. ¦ Any status. X X Deny Package Denies execution of a package. ¦ In-approval. X X&lt;br /&gt;Execute Package Executes a package. ¦ Approved. ¦ Exec-failed. X X Export Package Writes the SCL associated with a package to an external data set. ¦ Any status. X X Inspect The Inspect action checks each element for security, signout, and synchronization conflicts and source changes and reports on the changes in element status that might effect the successful execution of the package. For a list of Inspect validations, please see the section titled "Validations ¦ Approved. ¦ In-execution. ¦ Exec-failed. for Cast and Inspect" in the Packages Guide. Reset Package Resets a package back to a status of In-edit. ¦ Any status. X X&lt;br /&gt;Chapter 5. Batch Package SCL 5-3&lt;br /&gt;5.1 Batch Package Facility Action Description Required Status Exits Before Supported After&lt;br /&gt;Submit Submits a JCL job stream to Package execute one or more packages.&lt;br /&gt;¦ Approved. ¦ Executed if the WHERE PACKAGE STATUS IS EXECFAILED clause is specified and if the package execution has previously failed. 5.1.2 Batch Package Actions and Wildcarding You can use wildcard package IDs for the following package actions:&lt;br /&gt;¦ Archive ¦ Cast ¦ Commit ¦ Delete ¦ Execute ¦ Submit When you wildcard a package ID, Endevor selects packages against which you are authorized to perform actions. It is possible that a package ID matches the wildcard you specify but is not selected for the following reasons:&lt;br /&gt;¦ The package is in the wrong state for the action selected. ¦ The package is non-sharable and you are not the owner of the package. ¦ The package has one or more approvers associated with it of which you are not member. Note that SCL inside of packages may not contain any wildcards.&lt;br /&gt;5-4 SCL Reference Guide&lt;br /&gt;5.2 Batch Package Facility Execution 5.2 Batch Package Facility Execution 5.2.1 Overview The Batch Package Facility, program ENBP1000, performs package actions by executing SCL statements specified in the ENPSCLIN DD statement. See the chapter, "About the SCL Language," for information on SCL coding conventions. The following general rules apply to ENBP1000 execution:&lt;br /&gt;¦ There is no defined limit to the number of package actions the facility can process. ¦ There is no defined limit to the number of SCL statements that you can specify. ¦ Statements are executed in the sequence provided. ¦ Statements are parsed before any package actions are executed. ¦ If parse errors are detected, none of the actions are executed. ¦ Actions are processed as long as the action return code is 12 or less. If a return of greater than 12 is received, all remaining actions are bypassed. ¦ If the same clause is specified multiple times in a statement, the last clause specified is the one used. 5.2.2 Execution JCL Below is an example of the JCL you use to invoke the Batch Package Facility.&lt;br /&gt;//ENBP1 EXEC PGM=NDVRC1,PARM='ENBP1' //STEPLIB DD DSN=iprfx.iqual.AUTHLIB, // DISP=SHR //CONLIB DD DSN=iprfx.iqual.CONLIB, // DISP=SHR //C1MSGS1 DD SYSOUT= // // Uncomment the C1MSGS2 DD Statement if you want  // the Summary Report written to this location. By // default the summary is written to C1MSGS1.  // //C1MSGS2 DD SYSOUT= //SYSTERM DD SYSOUT= //SYSPRINT DD SYSOUT= //SYSABEND DD SYSOUT= // // The following 2 DD statements are used only by  // SUBMIT PACKAGE action. &lt;br /&gt;Chapter 5. Batch Package SCL 5-5&lt;br /&gt;5.2 Batch Package Facility Execution //. //JCLIN DD DSN=iprfx.iqual.JCLLIB(JOBCARD), // DISP=SHR //JCLOUT DD SYSOUT=(A,INTRDR), // DCB=(LRECL=8,RECFM=F,BLKSIZE=8) //ENPSCLIN DD .&lt;br /&gt;DD Statement Descriptions&lt;br /&gt;DD Statement Description ENPSCLIN Defines the Batch Package Facility control statements. The DD statement can refer to instream data, a sequential data set, or a partitioned data set with an explicit member. Where a partitioned data set option is used, only one archive action permitted. You may archive multiple packages, however it must be done in the same command. If you use a separate archive action for each package being archived, only the last package in the PDS member will appear. For example: Archive Package to DDN ddname Options where older than N days will archive all eligible packages to a PDS member. Whereas the SCL: Archive Package A to DDN ddname Archive Package B to DDN ddname will result in only package B residing in the Archive file. The archive package file must be defined with variable length records and have a minimum record length of 4200. The data set blocksize must be 4 bytes greater than the record length. We recommend that you define a blocksize of 0 and let the system default to the optium block size. If any of the data set attributes are incorrect, an error message is written and a return code 12 is set. C1MSGS1 Defines the destination of the Batch Package Facility execution reports. You can write the Batch Package Facility Summary report to a different location by uncommenting the C1MSGS2 DD statement in the sample JCL. JCLIN Identifies the default location of the JCL jobcard to be used by the SUBMIT PACKAGE action. The data set can be a sequential data set or a partitioned data set with an explicit member. The DD statement is used only with the SUBMIT PACKAGE action. JCLOUT Identifies the default output of the SUBMIT PACKAGE action. Generally, the DD statement refers to an internal reader but it can also refer to a sequential data set or a partitioned data set with a explicit member name. The DD statement is used only with the SUBMIT PACKAGE action.&lt;br /&gt;5-6 SCL Reference Guide&lt;br /&gt;5.2 Batch Package Facility Execution 5.2.3 Validating Input SCL You can check the syntax of your SCL statements before submitting them for execution by using an optional parameter of VALIDATE on the JCL PARM statement. When you specify the VALIDATE parameter, the statements in the ENPSCLIN DD statement are parsed. The statements are not executed. To specify the VALIDATE parameter, change the PARM= statement on the sample JCL to PARM='ENBP1000VALIDATE'.&lt;br /&gt;5.2.4 Return Codes The Batch Package Facility passes one of the following return codes after execution is complete:&lt;br /&gt;Return Code Meaning 0 All actions were performed successfully. 4 One or more actions completed with a warning message. 8 One or more actions completed with a caution message. 12 One or more action completed with an error message. The action may not have completed successfully. 16 An unrecoverable error occurred. 20 The C1MSGS1 DD statement was not allocated or the C1MSGS1 file could not be initialized.&lt;br /&gt;Chapter 5. Batch Package SCL 5-7&lt;br /&gt;5.3 Approve Package 5.3 Approve Package 5.3.1 Overview The APPROVE PACKAGE action approves packages for execution. Use the APPROVE PACKAGE action against a package only if the package has a status of In-approval or Denied.&lt;br /&gt;5.3.2 Syntax --APPRove PACkage--package-id--------------------------------&lt;br /&gt;------------------------------------------------.------------ +-,-----------+¦&lt;br /&gt;+-OPTions--NOTEs--=--(----'note text'----)-+&lt;br /&gt;5.3.2.1 Syntax Rules APPROVE PACKAGE package-id&lt;br /&gt;The APPROVE PACKAGE clause identifies the package you are approving. You must use a fully specified package ID. The package ID can include imbedded spaces. If the package ID contains an imbedded space or if the ID comprises only numeric characters (for example, 12345), enclose the package ID in either single or double quotation marks.&lt;br /&gt;OPTIONS&lt;br /&gt;OPTION clauses allow you to further specify package actions.&lt;br /&gt;NOTES — Use the NOTES clause to add remarks to the package definition. Enclose the note text in either single or double quotation marks. If you use multiple text lines, enclose each text line in quotation marks and separate by commas. You can specify up to 8 note text lines of up to 60 characters each. This text replaces any text that is already associated with the package.&lt;br /&gt;5-8 SCL Reference Guide&lt;br /&gt;5.3 Approve Package 5.3.3 Example of Approve Package SCL The following is an example of APPROVE PACKAGE SCL. The SCL approves the package called PAYROLLPKGO1.&lt;br /&gt;APPROVE PACKAGE PAYROLLPKG1.&lt;br /&gt;Chapter 5. Batch Package SCL 5-9&lt;br /&gt;5.4 Archive Package 5.4 Archive Package 5.4.1 Overview The ARCHIVE PACKAGE action offloads a package definition to an external data set. The ARCHIVE PACKAGE action can, optionally, delete the package after it is successfully written to the external data set.&lt;br /&gt;You can use the ARCHIVE action against a package that has a status of Executed or against a package that has a status of Committed. Regardless of whether the status is Executed or Committed, you cannot use the ARCHIVE action with the delete option against any package that has backout members.&lt;br /&gt;5.4.2 Syntax --ARChive PACkage--package-id--TO------------------------------------&lt;br /&gt;----DDName--ddname---------------------------------------------------- -DSNname--dsname---------------------------------------+ -MEMber--member-name--------------+ +-REPlace-+&lt;br /&gt;--------------------------------------------------------.------------ -OPTion- -¤- ---WHEre OLDer THAn--number--DAYs----¤-+ -DELete-------------------------+ + -AFTer ARChive-+&lt;br /&gt;5.4.2.1 Syntax Rules ARCHIVE PACKAGE package-id&lt;br /&gt;The ARCHIVE PACKAGE clause identifies the package you are archiving. You can either fully specify, partially wildcard or fully wildcard the package ID. If you wildcard the package ID and specify the OPTIONS DELETE AFTER ARCHIVE clause, you must specify the WHERE OLDER THAN clause. If you fully specify the package ID, the WHERE OLDER THAN clause is ignored.&lt;br /&gt;You can include imbedded spaces in the package ID. If the package ID contains an imbedded space or comprises only numeric characters (for example, 12345) then enclose the package ID in either single or double quotation marks.&lt;br /&gt;TO DDNAME ddname DSNAME dsname MEMBER member-name REPLACE&lt;br /&gt;5-10 SCL Reference Guide&lt;br /&gt;5.4 Archive Package The TO clause identifies the data set to which you are archiving the package. You must enter either a DDname or a data set name. Specify only one of the two statements. The archive package file must be defined with variable length records and have a minimum record length of 4200. The data set blocksize must be 4 bytes greater than the record length. We recommend that you define a blocksize
