Natural Object Handler Basic Topics SYSOBJH Optimize Manage

Natural Object Handler – Basic Topics (SYSOBJH) Optimize Manage Extend James Bando Software AG, Inc.

Presentation Notes n Unless otherwise specified, information in this presentation pertains to Natural 4. 2 and Adabas 8. 1. n Some screen-captures are abbreviated in the interest of clarity and conciseness. n Software AG Systems Engineering Services Mentoring Workshops See http: //www. softwareagusa. com/webedreg/mentoring/index. asp. l l l l IBM Assembler Programming for Administrators (5 days) Super. Natural: A Practical Guide Workshop (4 days) Using Adabas Review (3 days) Natural Security (2 days) Natural for Unix Internals (3 day) Entire. X Performance and Tuning (1 day) A Linux Technician's Primer (1 day) Natural Object Handler (SYSOBJH) 20070508 2 Copyright 2006, 2007 Software AG, Inc.

General Information Optimize Manage Extend

SYSOBJH n Replaces SYSTRANS and NATLOAD/NATUNLD utilities. n SYSOBJH Functions l Unload/Load objects using operating system file as the transfer file. l Scan a transfer file. l Locate objects in your environment (FIND and FINDLIB commands). l Can process files created with SYSTRANS and NATUNLD. n SYSTRANS and NATLOAD/NATUNLD l No longer documented as of V 4. 2. (However, documentation is available on the CD in the archive folder. ) l Will be discontinued in next version of Natural. l Will no longer be enhanced. Natural Object Handler (SYSOBJH) 20070508 4 Copyright 2006, 2007 Software AG, Inc.

Glossary n Command A word that causes processing of Natural, Naturalrelated, or Adabas objects. n Function A process in the SYSOBJH Graphical User Interface (GUI) or Character User Interface (CUI) that affects how you use the interface. n Transfer file The physical file that will be used as output for the UNLOAD command or input for the LOAD[ALL] and SCAN[ALL] commands. n Transfer file format The byte format used to store the data on the transfer file, either character (transfer) or binary (internal). n Transfer file method The I/O method used to store the transfer file, either an operating system file or a Natural Connection file. n Workplan A predefined set of commands, objects, options, or parameters. Natural Object Handler (SYSOBJH) 20070508 5 Copyright 2006, 2007 Software AG, Inc.

Transfer File Formats n Internal format l Binary data on the transfer file. l Compatible with NATLOAD / NATUNLD. l Same platform only (m/f m/f, open systems). l Transfer source and/or cataloged objects. n Transfer format l Character data on the transfer file. l Compatible with SYSTRANS. l Cross-platform. (m/f PC, open systems PC, m/f open systems). l Transfer source objects only. Natural Object Handler (SYSOBJH) 20070508 6 Copyright 2006, 2007 Software AG, Inc.

Transfer File Objects n Objects processed by SYSOBJH l Natural library objects (including user error messages) l Natural system error messages l Natural DDMs l Natural command processors l Natural-related objects l n DL/I subfiles n Natural profiles Ø Natural editor profiles New Ø Parameter ("SYSPARM") profiles Ø Map profiles New Ø Device profiles New n Debug (TEST) profiles New FDTs Natural Object Handler (SYSOBJH) 20070508 7 Copyright 2006, 2007 Software AG, Inc.

SYSOBJH User Interfaces n Wizards l l Lead you through the most common functions. You can use them to create direct commands that you can use in batch without actually executing the function on-line. n Advanced l l You navigate all the screens and make all the selections. Fewer screens than wizards, but there are no prompts. n Commands l l Useful in batch. Useful on-line if you want to do something specific. n API l l l Issue commands from a Natural program. CALLNAT 'OBJHAPI'. Documentation and sample program: SYSOBJH(DOC-API). Natural Object Handler (SYSOBJH) 20070508 8 Copyright 2006, 2007 Software AG, Inc.

Function/Command/CUI/GUI Syntax n Commands have up to four parts. Example: UNLOAD Y* LIB YSAJGB OBJTYPE N WITH LIBRARY YSAJGB NEWLIBRARY ZSAJGB NEWUSERID CHNGELIB WHERE REPORT YPGMS l Command Name n l Selection criteria n l Example: WITH LIBRARY YSAJGB NEWLIBRARY ZSAJGB NEWUSERID CHNGELIB Options (WHERE clause) n l Example: Y* LIB YSAJGB OBJTYPE N Parameters (WITH clause) n l Examples: UNLOAD, SCAN, RESTART Example: WHERE REPORT YPGMS Wizards make it easy to enter these four parts. Natural Object Handler (SYSOBJH) 20070508 9 Copyright 2006, 2007 Software AG, Inc.

Items of Interest n Generic names l In most cases, you can use generic values (*, >, <) where an object name or library name is specified. l Not all functions, options, etc. apply to every type of object for every command. For example, you cannot DELETE an FDT from an Adabas database, but you can UNLOAD, or FIND an FDT. Natural Object Handler (SYSOBJH) 20070508 10 Copyright 2006, 2007 Software AG, Inc.

Choices You Must Make 1. What command do you want to use? n 2. What is the unload environment? n 3. Internal (source and/or cataloged objects) or transfer (source objects). What transfer file media is going to be used? n 7. Source/cataloged/either/both/STOWed objects. What transfer file format is to be used? n 6. Mainframe, Unix/Linux, or Windows. What kind of Natural objects to be processed? n 5. Mainframe, Unix/Linux, or Windows. What is the load/scan/delete/find/restart environment? n 4. UNLOAD, LOADALL, SCANALL, DELETE, FIND object(s), FINDLIB library(ies), RESTART, EXECUTE a procedure workplan, or DISPLAY STATISTICS. Operating system file or Natural Connection file. What user interface is going to be used to execute the command(s)? n On-line (wizard/advanced), batch, or user-written (using OBJHAPI). Natural Object Handler (SYSOBJH) 20070508 11 Copyright 2006, 2007 Software AG, Inc.
![Commands select-clause n UNLOAD ( selection workplan ) parameter-clause [WITH ] ( parameter workplan Commands select-clause n UNLOAD ( selection workplan ) parameter-clause [WITH ] ( parameter workplan](http://slidetodoc.com/presentation_image_h/9e3778ae2a0d66d059c61189da5ece0a/image-12.jpg)
Commands select-clause n UNLOAD ( selection workplan ) parameter-clause [WITH ] ( parameter workplan ) options-clause [WHERE ] ( option workplan ) Unload selected objects to a transfer file. l Objects that can be unloaded l n n n Natural library objects (including user error messages) Natural system error messages Natural command processor sources Natural-related objects DDMs FDTs Natural Object Handler (SYSOBJH) 20070508 12 Copyright 2006, 2007 Software AG, Inc.
![Commands select-clause n LOAD ( selection workplan ) parameter-clause [WITH ] ( parameter workplan Commands select-clause n LOAD ( selection workplan ) parameter-clause [WITH ] ( parameter workplan](http://slidetodoc.com/presentation_image_h/9e3778ae2a0d66d059c61189da5ece0a/image-13.jpg)
Commands select-clause n LOAD ( selection workplan ) parameter-clause [WITH ] ( parameter workplan ) options-clause [WHERE ] ( option workplan ) Load selected objects from a transfer file. l Objects that can be loaded l n n n Natural library objects (including user error messages) Natural system error messages Natural command processor sources Natural-related objects DDMs FDTs (FDTs are loaded, but you must still define the files, for example using AOS) Natural Object Handler (SYSOBJH) 20070508 13 Copyright 2006, 2007 Software AG, Inc.
![Commands n LOADALL parameter-clause ] ( parameter workplan ) options-clause [WHERE ] ( option Commands n LOADALL parameter-clause ] ( parameter workplan ) options-clause [WHERE ] ( option](http://slidetodoc.com/presentation_image_h/9e3778ae2a0d66d059c61189da5ece0a/image-14.jpg)
Commands n LOADALL parameter-clause ] ( parameter workplan ) options-clause [WHERE ] ( option workplan ) [WITH Load all objects from a transfer file. l Objects that can be loaded l n n n Natural library objects (including user error messages) Natural system error messages Natural command processor sources Natural-related objects DDMs FDTs (FDTs are loaded, but you must still define the files, for example using AOS) Natural Object Handler (SYSOBJH) 20070508 14 Copyright 2006, 2007 Software AG, Inc.
![Commands n SCAN [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan Commands n SCAN [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan](http://slidetodoc.com/presentation_image_h/9e3778ae2a0d66d059c61189da5ece0a/image-15.jpg)
Commands n SCAN [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan ) l Scan a transfer file for selected objects. l Objects that can be scanned for n Natural library objects (including user error messages) n Natural system error messages n Natural command processor sources n Natural-related objects n DDMs n FDTs Natural Object Handler (SYSOBJH) 20070508 15 Copyright 2006, 2007 Software AG, Inc.

Commands n SCANALL [WHERE options-clause ( option workplan ) l Scan all objects on a transfer file. l Objects that can be scanned for ] n Natural library objects (including user error messages) n Natural system error messages n Natural command processor sources n Natural-related objects n DDMs n FDTs Natural Object Handler (SYSOBJH) 20070508 16 Copyright 2006, 2007 Software AG, Inc.
![Commands n DELETE [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan Commands n DELETE [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan](http://slidetodoc.com/presentation_image_h/9e3778ae2a0d66d059c61189da5ece0a/image-17.jpg)
Commands n DELETE [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan ) l Delete selected objects from FNAT/FUSER/FDIC. l Objects that can be deleted n Natural library objects (including user error messages) n Natural system error messages n Natural command processor sources n Natural-related objects n DDMs Natural Object Handler (SYSOBJH) 20070508 17 Copyright 2006, 2007 Software AG, Inc.
![Commands n FIND [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan Commands n FIND [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan](http://slidetodoc.com/presentation_image_h/9e3778ae2a0d66d059c61189da5ece0a/image-18.jpg)
Commands n FIND [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan ) l Find selected objects in FNAT/FUSER/FDIC/DB. l Objects that can be found n Natural library objects (including user error messages) n Natural system error messages n Natural command processor sources n Natural-related objects n DDMs n FDTs (find one FDT in an Adabas database) Natural Object Handler (SYSOBJH) 20070508 18 Copyright 2006, 2007 Software AG, Inc.
![Commands n FINDLIB [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan Commands n FINDLIB [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan](http://slidetodoc.com/presentation_image_h/9e3778ae2a0d66d059c61189da5ece0a/image-19.jpg)
Commands n FINDLIB [WHERE select-clause ( selection workplan ) options-clause ] ( option workplan ) l Find libraries in FNAT/FUSER. l Objects that can be found n Natural libraries Natural Object Handler (SYSOBJH) 20070508 19 Copyright 2006, 2007 Software AG, Inc.

Commands n RESTART member-name l Restart an interrupted load function. l A restart member must have been specified during the load function. Natural Object Handler (SYSOBJH) 20070508 20 Copyright 2006, 2007 Software AG, Inc.

Commands n EXECUTE ( procedure-workplan ) Note: Parentheses are required. l Executes a workplan of type PROCEDURE. l A procedure workplan is a set of direct commands (such as, UNLOAD or LOAD) that will be executed together either on-line or in batch. l A procedure workplan allows you to maintain a set of commands in one place that will be executed in many places (such as, several batch jobs). Natural Object Handler (SYSOBJH) 20070508 21 Copyright 2006, 2007 Software AG, Inc.

View Function (CUI/GUI) n View l View object source code in FNAT/FUSER/FDIC/DB. l Objects that can be viewed n Natural library objects (including user error messages) n Natural system error messages n Natural command processor sources n Natural-related objects n DDMs n FDTs (can only get a list of FDTs – cannot display contents of an FDT) Natural Object Handler (SYSOBJH) 20070508 22 Copyright 2006, 2007 Software AG, Inc.

GO Function (CUI/GUI) n GO HOME (Yeah!!) Go to main menu n GO UNLOAD Go to unload menu n GO LOAD Go to load menu n GO SCAN Go to scan menu n GO RESTART Go to restart load menu n GO ADMIN Go to administration menu n GO VIEW Go to view menu n GO FIND Go to find menu Natural Object Handler (SYSOBJH) 20070508 23 Copyright 2006, 2007 Software AG, Inc. These are useful on-line.

SHOW Function (CUI/GUI) n SHOW STATUS Display workplan information, trace settings, Natural Security settings, etc. n SHOW STATISTIC Display counts of objects processed. n SHOW LAST RESULT Display last return code and message. n SHOW LAST MESSAGE Display last unload/scan messages. n SHOW PROFILE Display SYSOBJH profile. n SHOW REPORT Display latest report file. n SHOW TRACE Display trace file. Natural Object Handler (SYSOBJH) 20070508 24 Copyright 2006, 2007 Software AG, Inc.

SET Function (CUI/GUI) n Use SET command to display the menu of settings. n Set trace on/off/location. n Set free format editing on/off. n Set display of execution messages on/off. n Set advanced command display on/off. Natural Object Handler (SYSOBJH) 20070508 25 Copyright 2006, 2007 Software AG, Inc.

Other Useful Functions (CUI/GUI) n CLEAR Fill current map with initial values. n INIT Set default values for the SYSOBJH. n SETTINGS Change unload/scan settings and options. n READ PROFILE Read SYSOBJH profile. n COMMANDS Natural Object Handler (SYSOBJH) 20070508 Display list of commands. 26 Copyright 2006, 2007 Software AG, Inc.

WORK Files n WORK File 1 Used if Entire Connection is not used. l Contains the unloaded objects in transfer or internal format. l n WORK File 7 Used if Entire Connection is used. l Contains the unloaded objects in transfer or internal format. l n WORK File 8 Used if Entire Connection is used. l Internal work file. l n Open systems-only WORK files WORK file 4 l WORK file 6 l WORK file 10 l Natural Object Handler (SYSOBJH) 20070508 Report file. Restart data (load only). Trace file 27 Copyright 2006, 2007 Software AG, Inc.

Unload Optimize Manage Extend

SYSOBJH Main Menu n Choose Unload 01: 13: 38 User SAJGB ***** Natural Object Handler ***** - Main Menu - 2006 -11 -26 Select the desired function: X Unload objects or a whole application from your Natural environment _ Load objects or an application into your Natural environment _ Scan work file contents _ View objects in the Natural environment _ Administrate the Object Handler environment, process Workplans and direct commands Mark this field to avoid Object Handler wizards: _ Subsequent screens will be condensed. Screens will not contain any prompts. Advanced user Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Unld Load Scan View Admin Cmds Canc Natural Object Handler (SYSOBJH) 20070508 29 Copyright 2006, 2007 Software AG, Inc.

Unload Menu n Choose if you want to enter everything or use a procedure workplan. 01: 14: 08 User SAJGB ***** Natural Object Handler ***** - Unload Wizard - 2006 -11 -26 You can unload all Natural objects into Natural work files to transport them to another system. The unloaded Natural work files can be loaded with the load function of the Object Handler. Select the desired function: X Unload objects into Natural work file(s). _ Start Object Handler command procedure. Requires a COMMAND PROCEDURE workplan. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 30 Copyright 2006, 2007 Software AG, Inc.

Unload Wizard, Options n Choose Wizard options 01: 15: 06 User SAJGB ***** Natural Object Handler ***** - Unload Wizard, Options - 2006 -11 -26 If you want to unload data in Transfer format, mark this field: _ Transfer format _ Unicode work file If you want to use a PC _ Use PC work file Leave blank to use his fiel internal format. Transfer format written using Unicode UTF-8. If you use a PC work file enter the PC work file name. If the path and the name do not fit into the field, press PF 1 to specify a longer value. PC File _________________________ Select the desired option to be used. Mark 'Set additional options', to use additional options. X Use default options X Set additional options Mark if you want to change options. Must choose one of these. _ Use Option Workplan Name ____ Please enter options. Mark to use a workplan of type Command ===> Enter-PF 1 ---PF 2 ---PF 3 OPTION. Also enter name. Help Exit Natural Object Handler (SYSOBJH) 20070508 31 _ List Option Workplan _ Select Option Workplan --PF 9 ---PF 10 --PF 11 --PF 12 --Cmds Canc Copyright 2006, 2007 Software AG, Inc.

Unload Options n Enter UNLOAD options 01: 16: 03 User SAJGB ***** Natural Object Handler ***** - Unload Options - 2006 -11 -26 The options listed depend on the function. Mark to clear report member and start new report. Work File and Report Options: Writes report to member in workplan library. X Write report _ Start new report Report text member YPGMS___ XREF Options: _ Yes (unload XREF data) X No (ignore XREF data) Choose other options as desired _ Select text member Enter report member name or select from list. FDIC Settings: DBID/FNR _____ / _____ Password Cipher FSEC Settings: DBID/FNR _____ / _____ Password Cipher The name for the report text member must not be blank. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 32 Copyright 2006, 2007 Software AG, Inc.

Unload Wizard, Parameters n Choose whether or not to use UNLOAD parameters 01: 17: 26 User SAJGB ***** Natural Object Handler ***** - Unload Wizard, Parameters - 2006 -11 -26 Use parameters if you want to unload the objects with modified settings. The corresponding object properties in the work file will differ from the original values according to the parameter settings. Select the desired options to be used. Mark 'Set global parameters', to use additional parameters. We will set global parameters to see what they are. _ Do not use parameters X Use global parameters X Set global parameters Must choose one of these. _ Use Parameter Workplan Name ____ _ List Parameter Workplan _ Select Parameter Workplan Mark one parameter field. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Pa. Set Sel. WP Lst. WP Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 33 Copyright 2006, 2007 Software AG, Inc.

Unload Parameters n Enter UNLOAD parameters 01: 17: 52 User SAJGB ***** Natural Object Handler ***** - Unload Parameters - 2006 -11 -26 Parameter Check Value New Value Object name Library. . Date/Time. . User ID. . Terminal ID Lang. codes Error number ________________ YSAJGB___ ______ / ________ ____ difference (+/-nnnn). . . ________________ ZSAJGB__ Unload _____ / ____ CHNGELIB parameters are ____ applied before _____ objects are FDT DBID/FNR _____ / _____ Objects that match these criteria … written to the transfer file. … will be changed to these values. For object name, library, date/time, user ID, and terminal ID, if asterisk notation is used, the constant value determines the number of characters that will be X Command ===> replaced. Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---P Example: Specifying 'XY*' in the New Value User ID Help Exit will change the first two characters of the user ID of all objects matching the Check Values to 'XY'. Natural Object Handler (SYSOBJH) 20070508 34 Copyright 2006, 2007 Software AG, Inc.

Unload Wizard, Select Unload Type n Choose UNLOAD type 01: 19: 15 User SAJGB ***** Natural Object Handler ***** - Unload Wizard, Select Unload Type - 2006 -11 -26 Select the object type for unload. You can unload objects of different object types sequentially in separate steps. X _ _ _ Natural library objects only Natural system error messages only Natural command processor sources only Natural-related objects only DDMs only FDTs only or Use Selection or List Workplan Mark one object type. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 35 Copyright 2006, 2007 Software AG, Inc.

Unload Wizard, Natural Library Objects n Enter selection criteria 01: 19: 35 User SAJGB ***** Natural Object Handler ***** - Unload Wizard, Natural Library Objects - 2006 -11 -26 Select Natural library objects to be unloaded. You can unload objects with different selection criteria sequentially in separate steps. Library. . YSAJGB __ DBID/FNR _____ / _____ _ Select library Object name. . . Y*________________ _ Select DBID/FNR Error number from 0001 to 9999 Details X More detailed specification of objects If you want to use a more detailed selection, mark Details. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Se. Lib Detai Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 36 Copyright 2006, 2007 Software AG, Inc.

Unload Natural Library Objects, Details n Enter more selection criteria 01: 20: 15 ***** Natural Object Handler ***** 2006 -11 -26 User SAJGB - Unload Natural Library Objects, Details Location: Object Types: Library. . . YSAJGB___ _ Select X Natural programming objects DBID/FNR. . _____ / _____ X Error messages Passw. /Ciph. . / "Natrual Library Objects" Objects: includes error messages, by Object name. Y*________________ default. _ Use Predict set Set number __ Set user ____ Programming Object Options: S/C-Kind. . A (S/C/A/W/B Source/Cataloged/Any/Stowed/Both) Natural types *_______ _ Select Natural types • Source only Properties _ Add/change properties for selection (date, user ID, . . ) • Cataloged only Error Messages: • Any kind Error number 0001 to 9999 Language codes *_______ • Stowed (S/C S/L-Kind. . A (S/L/A Short/Long/Any) timestamps match) Exceptions • Both (Source & _ Add/change exception criteria for selection Press ENTER to continue or mark Properties or Exceptions field. cataloged must exist) Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Se. Lib Types Prope Excep Cmds Canc ` Natural Object Handler (SYSOBJH) 20070508 37 Copyright 2006, 2007 Software AG, Inc.

Unload Natural Library Objects, Types n Enter more selection criteria 01: 20: 15 ***** Natural Object Handler ***** 2006 -11 -26 User S +-----------Select Object Types-----------+ Loc ! ! L ! Select the Natural programming object type(s) you want ! cts D ! to process by marking the field before the type name, or ! P ! press PF 7 to select all, or PF 8 to deselect all fields. ! ! ! Obj ! X Program X Map X Global Data Area ! O ! ! _ ! X Subprogram X Dialog X Local Data Area ! Pro ! ! S ! X Subroutine X Text X Parameter Data Area ! N ! ! Pro ! X Helproutine _ DDM X Report ! _ ! ! Err ! X Copycode X Processor X Class ! E ! ! S ! X Function ! Exc +-------------------------------+ _ Add/change exception criteria for selection Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit All Desel Canc Natural Object Handler (SYSOBJH) 20070508 38 Copyright 2006, 2007 Software AG, Inc.

Unload Natural Library Objects, Properties n Enter more selection criteria 01: 20: 52 User SAJGB ***** Natural Object Handler ***** - Unload Library Objects, Properties - Natural Programming Objects: User ID. . _____ Programming mode. A Natural version. . _____ 2006 -11 -26 (S/R/A Structured/Report/Any) Object Date: X Select all objects (no date check) _ Select objects modified between. . . _____ (date, time) and. . . _____ (date, time) _ Select objects modified on. . . . _____ (date, time) Object Size: X Select all objects (no size check) _ Select objects with size between. . _____ and _____ (bytes) _ Select objects with size. . _____ (bytes) Press ENTER to continue. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 39 Copyright 2006, 2007 Software AG, Inc.

Unload Natural Library Objects, Exceptions n Enter more selection criteria 01: 21: 07 User SAJGB ***** Natural Object Handler ***** - Unload Library Objects, Exceptions - Location: Library. . . _____ _ Select 2006 -11 -26 Object Types: _ Natural programming objects _ Error messages Objects: Object name. _________________ Objects matching Programming Objects Options: S/C-Kind. . _ (S/C/A Source/Cataloged/Any) all Natural types ________ _ Select Natural types Properties _ Add/change properties for selection (date, user ID, . . )exception criteria are Error Messages: Error number ____ to ____ Languages ____ not S/L-Kind. . _ (S/L/A Short/Long/Any) processed. Press ENTER to continue or mark Properties field. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Se. Lib Types Prope Cmds Canc Natural Object Handler (SYSOBJH) 20070508 40 Copyright 2006, 2007 Software AG, Inc.

Unload Wizard n UNLOAD command created by the Wizard 01: 21: 33 User SAJGB ***** Natural Object Handler ***** - Unload Wizard - 2006 -11 -26 The following command will be processed. To change the settings, press PF 7 (Back). To confirm the settings and to execute the command, press ENTER or PF 8 (Next). UNLOAD Y* LIB YSAJGB OBJTYPE NE FMNUM 1 TONUM 9999 WITH LIBRARY YSAJGB NEWLIBRARY ZSAJGB NEWUSERID CHNGELIB WHERE REPORT YPGMS Can use the wizard to create direct commands. Please press PF 7 (Back) or ENTER/PF 8 (Next). Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Save Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 41 Copyright 2006, 2007 Software AG, Inc.

Unload Wizard n Command has been processed 01: 21: 33 User SAJGB ***** Natural Object Handler ***** - Unload Wizard - 2006 -11 -26 The following command will be processed. To change the settings, press PF 7 (Back). To confirm the settings and to execute the command, press ENTER or PF 8 (Next). UNLOAD Y* LIB YSAJGB OBJTYPE NE FMNUM 1 TONUM 9999 WITH LIBRARY YSAJGB +--------------------------------------+ ! ! ! Function completed successfully. ! ! Press ENTER to continue. ! ! ! +--------------------------------------+ Press ENTER to continue. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 42 Copyright 2006, 2007 Software AG, Inc.

Unload Report n Report (left side) 01: 22: 15 User SAJGB ***** Natural Object Handler ***** - Display Unload Report - 2006 -11 -26 Position 1 Status Library Object Name Object Type --------------------Unloaded YSAJGB YEREP Program Unloaded YSAJGB YMENU Program Unloaded YSAJGB YVREP Program 78 S/C --Src Cat Bottom of data reached. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit > -+ ++ Cmds Canc Natural Object Handler (SYSOBJH) 20070508 43 Copyright 2006, 2007 Software AG, Inc.

Unload Report n Report (middle) 01: 23: 20 User SAJGB ***** Natural Object Handler ***** - Display Unload Report - 2006 -11 -26 Position 71 - 148 Type S/C DBID/FNR Date Time User Mode Size Version DDM ------ -------- -------- ---Src 156/21 2006 -11 -26 00: 46: 29 SAJGB R 112 4. 2. 1 Cat 156/21 2006 -11 -26 00: 46: 29 SAJGB R 3184 4. 2. 1 Src 156/21 2006 -11 -26 00: 48: 40 SAJGB R 523 4. 2. 1 Cat 156/21 2006 -11 -26 00: 48: 40 SAJGB R 2976 4. 2. 1 Src 156/21 2006 -11 -26 00: 47 SAJGB R 114 4. 2. 1 Cat 156/21 2006 -11 -26 00: 47 SAJGB R 3140 4. 2. 1 Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit < > -+ ++ Cmds Canc Natural Object Handler (SYSOBJH) 20070508 44 Copyright 2006, 2007 Software AG, Inc.

Unload Report n Report (right side) 01: 23: 45 User SAJGB n -- ***** Natural Object Handler ***** - Display Unload Report - DDM DBID/FNR ------ 2006 -11 -26 Position 141 - 218 Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit < -+ ++ Cmds Canc Natural Object Handler (SYSOBJH) 20070508 45 Copyright 2006, 2007 Software AG, Inc.

Unload Report n Choose to unload more objects or "done" 01: 23: 45 User SAJGB n -- ***** Natural Object Handler ***** - Display Unload Report - DDM DBID/FNR ------ 2006 -11 -26 Position 141 - 218 +--------------------------+ ! ! ! Do you want to continue the unload function? ! ! _ Yes X No ! ! ! +--------------------------+ Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 46 Copyright 2006, 2007 Software AG, Inc.

SYSOBJH Main Menu, Unload Finished n Start a new Wizard 01: 24: 28 User SAJGB ***** Natural Object Handler ***** - Main Menu - 2006 -11 -26 Select the desired function: _ Unload objects or a whole application from your Natural environment _ Load objects or an application into your Natural environment _ Scan work file contents _ View objects in the Natural environment _ Administrate the Object Handler environment, process Workplans and direct commands Mark this field to avoid Object Handler wizards: _ Advanced user Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Unld Load Scan View Admin Cmds Canc Natural Object Handler (SYSOBJH) 20070508 47 Copyright 2006, 2007 Software AG, Inc.

List Saved Report n LOGON WORKPLAN -> L * * 01: 25: 27 User SAJGB Cmd --LI Name *____ YPGMS ***** NATURAL LIST COMMAND ***** - LIST Objects in a Library Type *_____ Text S/C *__ S SM Version * *______ S 4. 2. 01 User ID *____ SAJGB 2006 -11 -26 Library WORKPLAN Date Time *_____ *____ 2006 -11 -26 01: 22: 02 01: 26: 44 Text YPGMS Library WORKPLAN User SAJGB 2006 -11 -26 0001 *** Unload Objects *** 0002 0003 Library Object Name Type S/C DBID/FNR Date 0004 -------------------- ---0005 YSAJGB YEREP Program Src 156/21 2006 0006 YSAJGB YEREP Program Cat 156/21 2006 0007 YSAJGB YMENU Program Src 156/21 2006 0008 YSAJGB YMENU Program Cat 156/21 2006 0009 YSAJGB YVREP Program Src 156/21 2006 0010 YSAJGB YVREP Program Cat 156/21 2006 0011 0012 Function completed successfully. 0013 ***** End of list ***** Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Print Exit Prev Next -+ ++ < > Canc Natural Object Handler (SYSOBJH) 20070508 48 Copyright 2006, 2007 Software AG, Inc.

List Saved Report n LOGON WORKPLAN -> L * * (cont'd) Line ----+---80 ----+---90 ----+--100 ----+--110 ----+--120 ----+--130 ----+--140 ---0001 0002 0003 Date Time User ID S/R Size Version DDM DBID/FNR Status 0004 -------- -------- -----0005 2006 -11 -26 00: 46: 29 SAJGB R 112 4. 2. 1 Unloaded 0006 2006 -11 -26 00: 46: 29 SAJGB R 3184 4. 2. 1 Unloaded 0007 2006 -11 -26 00: 48: 40 SAJGB R 523 4. 2. 1 Unloaded 0008 2006 -11 -26 00: 48: 40 SAJGB R 2976 4. 2. 1 Unloaded 0009 2006 -11 -26 00: 47 SAJGB R 114 4. 2. 1 Unloaded 0010 2006 -11 -26 00: 47 SAJGB R 3140 4. 2. 1 Unloaded 0011 0012 0013 ***** End of list *****Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Print Exit Prev Next -+ ++ < > Canc Natural Object Handler (SYSOBJH) 20070508 49 Copyright 2006, 2007 Software AG, Inc.

Scan Optimize Manage Extend

SYSOBJH Main Menu n Choose Scan 01: 35: 29 User SAJGB ***** Natural Object Handler ***** - Main Menu - 2006 -11 -26 Select the desired function: _ Unload objects or a whole application from your Natural environment _ Load objects or an application into your Natural environment X Scan work file contents _ View objects in the Natural environment _ Administrate the Object Handler environment, process Workplans and direct commands Mark this field to avoid Object Handler wizards: _ Advanced user Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Unld Load Scan View Admin Cmds Canc Natural Object Handler (SYSOBJH) 20070508 51 Copyright 2006, 2007 Software AG, Inc.

Scan Wizard n Choose if you want to enter everything or use a procedure workplan. 01: 36: 12 User SAJGB ***** Natural Object Handler ***** - Scan Wizard - 2006 -11 -26 You can scan objects from transfer and non-transfer work files or execute a command procedure. Select the desired function: X Scan objects from Natural work file(s). _ Start Object Handler command procedure. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 52 Copyright 2006, 2007 Software AG, Inc.

Scan Wizard, Options n Choose Wizard options 01: 36: 30 User SAJGB ***** Natural Object Handler ***** - Scan Wizard, Options - 2006 -11 -26 If the work file contains data in Transfer format, mark this field: _ Transfer format If you want to use a PC work file, mark this field: _ Use PC work file If you use a PC work file enter the PC work file name. If the path and the name do not fit into the field, press PF 1 to specify a longer value. PC File _________________________ Select the desired option to be used. Mark 'Set additional options', to use additional options. X Use default options _ Set additional options _ Use Option Workplan Name ____ _ List Option Workplan _ Select Option Workplan Please enter options. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Op. Set Sel. WP Lst. WP Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 53 Copyright 2006, 2007 Software AG, Inc.

Scan Wizard, Select Scan Type n Choose object types to SCAN 01: 36: 49 User SAJGB ***** Natural Object Handler ***** - Scan Wizard, Select Scan Type - 2006 -11 -26 Select the object type for scan. You can scan all objects from the work file or you can scan objects of different object types sequentially in separate steps. X _ _ _ _ Scan all objects from the work file or scan selected objects from the work file: Natural library objects only Natural system error messages only Natural command processor sources only Natural-related objects only DDMs only FDTs only or Use Selection or List Workplan Mark one object type. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 54 Copyright 2006, 2007 Software AG, Inc.

Scan Wizard, Command n SCANALL command created by the Wizard 01: 37: 15 User SAJGB ***** Natural Object Handler ***** Wizard - 2006 -11 -26 The following command will be processed. To change the settings, press PF 7 (Back). To confirm the settings and to execute the command, press ENTER or PF 8 (Next). SCANALL WHERE REPORT Please press PF 7 (Back) or ENTER/PF 8 (Next). Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Save Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 55 Copyright 2006, 2007 Software AG, Inc.

Scan Wizard, Completion n Command has been processed 01: 37: 15 User SAJGB ***** Natural Object Handler ***** Wizard - 2006 -11 -26 The following command will be processed. To change the settings, press PF 7 (Back). To confirm the settings and to execute the command, press ENTER or PF 8 (Next). SCANALL WHERE REPORT +--------------------------------------+ ! ! ! Function completed successfully. ! ! Press ENTER to continue. ! ! ! +--------------------------------------+ Press ENTER to continue. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 56 Copyright 2006, 2007 Software AG, Inc.

Scan Report (left side) 01: 37: 54 User SAJGB ***** Natural Object Handler ***** - Display Scan Report - 2006 -11 -26 Position 1 Status Library Object Name Object Type --------------------Scanned ZSAJGB YEREP Program Scanned ZSAJGB YMENU Program Scanned ZSAJGB YVREP Program 78 S/C --Src Cat Bottom of data reached. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit > -+ ++ Cmds Canc Natural Object Handler (SYSOBJH) 20070508 57 Copyright 2006, 2007 Software AG, Inc.

Scan Report (middle) 01: 38: 26 User SAJGB ***** Natural Object Handler ***** - Display Scan Report - 2006 -11 -26 Position 71 - 148 Type S/C DBID/FNR Date Time User Mode Size Version DDM ------ -------- -------- ---Src / 2006 -11 -26 00: 46: 29 CHNGELIB R 112 4. 2. 1 Cat / 2006 -11 -26 00: 46: 29 CHNGELIB R 3184 4. 2. 1 Src / 2006 -11 -26 00: 48: 40 CHNGELIB R 523 4. 2. 1 Cat / 2006 -11 -26 00: 48: 40 CHNGELIB R 2976 4. 2. 1 Src / 2006 -11 -26 00: 47 CHNGELIB R 114 4. 2. 1 Cat / 2006 -11 -26 00: 47 CHNGELIB R 3140 4. 2. 1 Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit < > -+ ++ Cmds Canc Natural Object Handler (SYSOBJH) 20070508 58 Copyright 2006, 2007 Software AG, Inc.

Load Optimize Manage Extend

SYSOBJH Main Menu n Choose Load 02: 01 User SAJGB ***** Natural Object Handler ***** - Main Menu - 2006 -11 -26 Select the desired function: _ Unload objects or a whole application from your Natural environment X Load objects or an application into your Natural environment _ Scan work file contents _ View objects in the Natural environment _ Administrate the Object Handler environment, process Workplans and direct commands Mark this field to avoid Object Handler wizards: _ Advanced user For the Daniel Boone in you! Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Unld Load Scan View Admin Cmds Canc Natural Object Handler (SYSOBJH) 20070508 60 Copyright 2006, 2007 Software AG, Inc.

Load Wizard n Choose if you want to enter selection criteria, parameters, and options or use a procedure workplan. 02: 04: 28 User SAJGB ***** Natural Object Handler ***** - Load Wizard - 2006 -11 -26 You can load objects from transfer and non-transfer work files into the Natural environment or execute a command procedure. Select the desired function: X Load objects from Natural work file(s). _ Start Object Handler command procedure. Requires a PROCEDURE workplan. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 61 Copyright 2006, 2007 Software AG, Inc.

Load Wizard, Options n Choose Wizard options 02: 04: 58 User SAJGB ***** Natural Object Handler ***** - Load Wizard, Options - 2006 -11 -26 If the work file contains data in Transfer format, mark this field: _ Transfer format Leave blank to use internal format. If you want to use a PC work file, mark this field: _ Use PC work file If you use a PC work file enter the PC work file name. If the path and the name do not fit into the field, press PF 1 to specify a longer value. PC File _________________________ Select the desired option to be used. Mark 'Set additional options', to use additional options. X Use default options X Set additional options Mark if you want to change options. Must choose one of these. _ Use Option Workplan Name ____ Mark to use a workplan of type OPTION. Also enter name. _ List Option Workplan _ Select Option Workplan Please enter options. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Op. Set Sel. WP Lst. WP Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 62 Copyright 2006, 2007 Software AG, Inc.

Load Options n Enter LOAD options 02: 06: 23 User SAJGB ***** Natural Object Handler ***** - Load Options - 2006 -11 -26 Work File Options: Work file _________________________ X Write report Report text member _ Start new report ZPGMSIN_ _ Select text member _ Write restart information Restart text member ____ Replace Options: X Do not replace _ Replace all _ Replace obsolete _ Replace except newer _ Select text member XREF Options: _ Yes X No _ Force _ Doc _ Special Version check: _ Check version Number to process: _____ text y f i c e p Can s r where e memb rmation is info t r a t s. re stored FDIC Settings: DBID/FNR _____ / _____ Password ____ Cipher ____ FSEC Settings: DBID/FNR _____ / _____ Password ____ Cipher ____ Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Work. F Repo. F Rest. F Cmds Canc Natural Object Handler (SYSOBJH) 20070508 63 Copyright 2006, 2007 Software AG, Inc.

Load Wizard, Parameters n Choose whether or not to use LOAD parameters 02: 10: 26 User SAJGB ***** Natural Object Handler ***** - Load Wizard, Parameters - 2006 -11 -26 Use parameters if you want to load the objects with modified settings. The corresponding object properties will differ from those given in the work file according to the parameter setting. Select the desired options to be used. Mark 'Set global parameters', to use additional parameters. We will set global parameters to see what they are. Do not use parameters X Use global parameters X Set global parameters _ Use Parameter Workplan Name ____ _ List Parameter Workplan _ Select Parameter Workplan Mark one parameter field. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Pa. Set Sel. WP Lst. WP Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 64 Copyright 2006, 2007 Software AG, Inc.

Load Parameters n Enter LOAD parameters 02: 10: 53 User SAJGB ***** Natural Object Handler ***** - Load Parameters - 2006 -11 -26 Parameter Check Value New Value Object name Library. . Date/Time. . User ID. . Terminal ID Lang. codes Error number _________________ / ________ ____ difference (+/-nnnn). . . ________________ / ________ Load parameters _____ FDT DBID/FNR _____ / _____ System files Load FNAT: Load FUSER: Load NCP: _____ / _____ are applied before objects are stored on the target(s). for load: DBID _____ FNR _____ Password ________ Cipher ________ _ Select DBID _____ FNR _____ Password ____ Cipher ____ Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 65 Copyright 2006, 2007 Software AG, Inc.

Load Wizard, Select Load Type n Choose LOAD type 02: 12: 43 User SAJGB ***** Natural Object Handler ***** - Load Wizard, Select Load Type - 2006 -11 -26 Select the object type for load. You can load all objects from the work file or you can load objects of different object types sequentially in separate steps. Default _ X _ _ _ Load all objects from the work file or load selected objects from the work file: Natural library objects only Natural system error messages only Natural command processor sources only Natural-related objects only DDMs only FDTs only or Use Selection or List Workplan Mark one object type. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 66 Copyright 2006, 2007 Software AG, Inc.

Load Wizard, Natural Library Objects n Enter selection criteria 02: 13: 59 User SAJGB ***** Natural Object Handler ***** - Load Wizard, Natural Library Objects - 2006 -11 -26 Select Natural library objects to load. You can load objects with different selection criteria sequentially in separate steps. Library. . *____ _ Select library Object name. . . *________________ Error number from 0001 to 9999 Details X More detailed specification of objects If you want to use a more detailed selection, mark Details. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Se. Lib Detai Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 67 Copyright 2006, 2007 Software AG, Inc.

Load Natural Library Objects, Details n Enter more selection criteria 02: 14: 53 ***** Natural Object Handler ***** 2006 -11 -26 User SAJGB - Load Natural Library Objects, Details Location: Object Types: Library. . . *____ _ Select X Natural programming objects X Error messages Objects: Object name. *________________ Programming Object Options: S/C-Kind. . A (S/C/A Source/Cataloged/Any) Natural types *_______ _ Select Natural types Properties _ Add/change properties for selection (date, user ID, . . ) Error Messages: Error number 0001 to 9999 Language codes *_______ S/L-Kind. . A (S/L/A Short/Long/Any) Exceptions _ Add/change exception criteria for selection Press ENTER to continue or mark Properties or Exceptions field. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Se. Lib Types Prope Excep Cmds Canc Natural Object Handler (SYSOBJH) 20070508 68 Copyright 2006, 2007 Software AG, Inc.

Load Natural Library Objects, Types n Enter more selection criteria 02: 14: 53 ***** Natural Object Handler ***** 2006 -11 -26 User S +-----------Select Object Types-----------+ Loc ! ! L ! Select the Natural programming object type(s) you want ! cts ! to process by marking the field before the type name, or ! ! press PF 7 to select all, or PF 8 to deselect all fields. ! ! ! Obj ! X Program X Map X Global Data Area ! O ! ! ! X Subprogram X Dialog X Local Data Area ! Pro ! ! S ! X Subroutine X Text X Parameter Data Area ! N ! ! Pro ! X Helproutine _ DDM X Report ! _ ! ! Err ! X Copycode X Processor X Class ! E ! ! S ! X Function ! Exc +-------------------------------+ _ Add/change exception criteria for selection Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit All Desel Canc Natural Object Handler (SYSOBJH) 20070508 69 Copyright 2006, 2007 Software AG, Inc.

Load Natural Library Objects, Properties n Enter more selection criteria 02: 15: 41 User SAJGB ***** Natural Object Handler ***** - Load Library Objects, Properties - Natural Programming Objects: User ID. . _____ Programming mode. A Natural version. . _____ 2006 -11 -26 (S/R/A Structured/Report/Any) Object Date: X Select all objects (no date check) _ Select objects modified between. . . _____ (date, time) and. . . _____ (date, time) _ Select objects modified on. . . . _____ (date, time) Object Size: X Select all objects (no size check) _ Select objects with size between. . _____ and _____ (bytes) _ Select objects with size. . _____ (bytes) Press ENTER to continue. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 70 Copyright 2006, 2007 Software AG, Inc.

Load Natural Library Objects, Exceptions n Enter more selection criteria 02: 16: 05 User SAJGB ***** Natural Object Handler ***** - Load Library Objects, Exceptions - Location: Library. . . _____ _ Select 2006 -11 -26 Object Types: _ Natural programming objects _ Error messages Objects: Object name. _________________ Programming Objects Options: S/C-Kind. . _ (S/C/A Source/Cataloged/Any) Natural types ________ _ Select Natural types Properties _ Add/change properties for selection (date, user ID, . . ) Error Messages: Error number ____ to ____ Languages ____ S/L-Kind. . _ (S/L/A Short/Long/Any) Press ENTER to continue or mark Properties field. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Se. Lib Types Prope Cmds Canc Natural Object Handler (SYSOBJH) 20070508 71 Copyright 2006, 2007 Software AG, Inc.

Load Wizard n LOAD command created by the Wizard 02: 16: 33 User SAJGB ***** Natural Object Handler ***** - Load Wizard - 2006 -11 -26 The following command will be processed. To change the settings, press PF 7 (Back). To confirm the settings and to execute the command, press ENTER or PF 8 (Next). LOAD * LIB * OBJTYPE NE FMNUM 1 TONUM 9999 WHERE REPORT ZPGMSIN Why try to figure out how to code a direct command for batch when the wizard will do it for you? Please press PF 7 (Back) or ENTER/PF 8 (Next). Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Save Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 72 Copyright 2006, 2007 Software AG, Inc.

Load Wizard n Command has been processed 02: 16: 33 User SAJGB ***** Natural Object Handler ***** - Load Wizard - 2006 -11 -26 The following command will be processed. To change the settings, press PF 7 (Back). To confirm the settings and to execute the command, press ENTER or PF 8 (Next). LOAD * LIB * OBJTYPE NE FMNUM 1 TONUM 9999 WHERE REPORT ZPGMSIN +--------------------------------------+ ! ! ! Function completed successfully. ! ! Press ENTER to continue. ! ! ! +--------------------------------------+ Press ENTER to continue. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 73 Copyright 2006, 2007 Software AG, Inc.

Load Report n Report (left side) 02: 17: 33 User SAJGB ***** Natural Object Handler ***** - Display Load Report - 2006 -11 -26 Position 1 Status Library Object Name Object Type --------------------Loaded ZSAJGB YEREP Program Loaded ZSAJGB YMENU Program Loaded ZSAJGB YVREP Program 78 S/C --Src Cat Bottom of data reached. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit > -+ ++ Cmds Canc Natural Object Handler (SYSOBJH) 20070508 74 Copyright 2006, 2007 Software AG, Inc.

Load Report n Report (middle) 02: 17: 59 User SAJGB ***** Natural Object Handler ***** - Display Load Report - 2006 -11 -26 Position 71 - 148 Type S/C DBID/FNR Date Time User Mode Size Version DDM ------ -------- -------- ---Src 156/21 2006 -11 -26 00: 46: 29 CHNGELIB R 112 4. 2. 1 Cat 156/21 2006 -11 -26 00: 46: 29 CHNGELIB R 3184 4. 2. 1 Src 156/21 2006 -11 -26 00: 48: 40 CHNGELIB R 523 4. 2. 1 Cat 156/21 2006 -11 -26 00: 48: 40 CHNGELIB R 2976 4. 2. 1 Src 156/21 2006 -11 -26 00: 47 CHNGELIB R 114 4. 2. 1 Cat 156/21 2006 -11 -26 00: 47 CHNGELIB R 3140 4. 2. 1 Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit < > -+ ++ Cmds Canc Natural Object Handler (SYSOBJH) 20070508 75 Copyright 2006, 2007 Software AG, Inc.

Load Report n Choose to unload more objects or "done" 02: 19: 01 User SAJGB Type S/C ---- --Src Cat ***** Natural Object Handler ***** - Display Load Report - 2006 -11 -26 Position 71 - 148 DBID/FNR Date Time User Mode Size Version DDM ------ -------- ---- ---156/21 2006 -11 -26 00: 46: 29 CHNGELIB R 112 4. 2. 1 +--------------------------+. 2. 1 ! !. 2. 1 ! Do you want to continue the load function? !. 2. 1 ! _ Yes X No !. 2. 1 ! ! +--------------------------+ Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 76 Copyright 2006, 2007 Software AG, Inc.

Main Menu, Load Finished n Start a new Wizard 02: 19: 27 User SAJGB ***** Natural Object Handler ***** - Main Menu - 2006 -11 -26 Select the desired function: _ Unload objects or a whole application from your Natural environment _ Load objects or an application into your Natural environment _ Scan work file contents _ View objects in the Natural environment _ Administrate the Object Handler environment, process Workplans and direct commands Mark this field to avoid Object Handler wizards: _ Advanced user Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Unld Load Scan View Admin Cmds Canc Natural Object Handler (SYSOBJH) 20070508 77 Copyright 2006, 2007 Software AG, Inc.

List Saved Report n LOGON WORKPLAN -> L * * 02: 19: 56 User SAJGB Cmd --__ LI Name *____ YPGMS ZPGMSIN ***** NATURAL LIST COMMAND ***** - LIST Objects in a Library Type *_____ Text S/C *__ S S SM * S S Version *______ 4. 2. 01 User ID *____ SAJGB 2006 -11 -26 Library WORKPLAN Date *_____ 2006 -11 -26 Time *____ 01: 22: 02 02: 17: 06 02: 20: 34 Text ZPGMSIN Library WORKPLAN User SAJGB 2006 -11 -26 0001 *** Load Objects *** 0002 Processing Load File created on 2006 -11 -26 at 01: 22 0003 0004 Library Object Name Type S/C DBID/FNR Date 0005 -------------------- ---0006 ZSAJGB YEREP Program Src 156/21 2006 0007 ZSAJGB YEREP Program Cat 156/21 2006 0008 ZSAJGB YMENU Program Src 156/21 2006 0009 ZSAJGB YMENU Program Cat 156/21 2006 0010 ZSAJGB YVREP Program Src 156/21 2006 0011 ZSAJGB YVREP Program Cat 156/21 2006 0012 0013 Function completed successfully. 0014 ***** End of list ***** Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Print Exit Prev Next -+ ++ < > Canc Natural Object Handler (SYSOBJH) 20070508 78 Copyright 2006, 2007 Software AG, Inc.

Target Library n List of objects that were loaded into the target library 02: 28: 24 User SAJGB Cmd --__ __ __ Name *____ YEREP YMENU YVREP ***** NATURAL LIST COMMAND ***** - LIST Objects in a Library Type *_____ Program S/C *__ S/C S/C SM * R R R Version *______ 4. 2. 01 User ID *____ CHNGELIB 2006 -11 -26 Library ZSAJGB Date *_____ 2006 -11 -26 Time *____ 00: 46: 29 00: 48: 40 00: 47 3 Objects found Top of List. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Print Exit Sort -+ ++ > Canc Natural Object Handler (SYSOBJH) 20070508 79 Copyright 2006, 2007 Software AG, Inc.

Workplans Optimize Manage Extend

Create New Workplan 02: 37: 10 User SAJGB ***** Natural Object Handler ***** - Main Menu - 2006 -11 -26 Select the desired function: _ Unload objects or a whole application from your Natural environment _ Load objects or an application into your Natural environment _ Scan work file contents _ View objects in the Natural environment X Administrate the Object Handler environment, process Workplans and direct commands Mark this field to avoid Object Handler wizards: _ Advanced user Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Unld Load Scan View Admin Cmds Canc Natural Object Handler (SYSOBJH) 20070508 81 Copyright 2006, 2007 Software AG, Inc.

Create New Workplan 02: 38: 14 User SAJGB ***** Natural Object Handler ***** - Administration - 2006 -11 -26 In this part of the Object Handler you can administrate and execute Workplans. This functionality is recommended for advanced users only. Select the desired function: _ List the available Workplans in the Workplan library X Create a new Workplan _ Change the Workplan library Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit List Creat Edit Back Next Ch. Lib Cmds Canc Natural Object Handler (SYSOBJH) 20070508 82 Copyright 2006, 2007 Software AG, Inc.

Create New Workplan 23: 01: 39 User SAJGB ***** Natural Object Handler ***** - Create a New Workplan - 2006 -11 -26 Select the type of the new Workplan: _ X _ _ Wizards are provided for: • Selection • Option • Parameter Procedure Selection List Option Parameter Text Mark this field for free format editing: _ Free Format Editing Free format editors are provided for: • Procedure • List • Text Free format editors are optional for: • Selection • Option • Parameter Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Proce Selec List Optio Param Text Cmds Canc Natural Object Handler (SYSOBJH) 20070508 83 Copyright 2006, 2007 Software AG, Inc.

Workplans n Procedure Sequence of fully-specified commands separated by semicolons. n Selection criteria for objects used in SYSOBJH commands. n List of objects used in SYSOBJH commands. n Option LOAD/UNLOAD options, for example, report settings used in SYSOBJH commands. n Parameter LOAD/UNLOAD parameters, for example, old name and new name used in SYSOBJH commands. n Text for documentation purposes. Natural Object Handler (SYSOBJH) 20070508 84 Copyright 2006, 2007 Software AG, Inc.

Create New Workplan n Choose function that the selection criteria will be used for 23: 02: 27 User SAJGB ***** Natural Object Handler ***** - Type of new Selection Workplan - 2006 -11 -26 Select the function for which the new Selection Workplan is to be used: X Unload into work files. _ Load/Scan work files. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Unld Load Cmds Canc Natural Object Handler (SYSOBJH) 20070508 85 Copyright 2006, 2007 Software AG, Inc.

Create New Workplan n Choose UNLOAD type 23: 03: 15 User SAJGB ***** Natural Object Handler ***** - Select Unload Type - 2006 -11 -26 Select the object type for unload: X _ _ _ Natural library objects Natural system error messages Natural command processor sources Natural-related objects DDMs FDTs Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 86 Copyright 2006, 2007 Software AG, Inc.

Create New Workplan n Enter selection criteria 23: 03: 29 User SAJGB ***** Natural Object Handler ***** - Unload Natural Library Objects - 2006 -11 -26 Objects: Process objects: Programming Objects and Error Messages DBID/FNR. . . _____ / _____ Password/Cipher / Library. . . . YSAJGB___ Object name. . . Y*________________ Error number. . to _ Select DBID/FNR _ Select library Details X More detailed specification of objects Specify selection data or mark Details field and press ENTER to continue. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Se. Lib DBIDs Detai Cmds Canc Natural Object Handler (SYSOBJH) 20070508 87 Copyright 2006, 2007 Software AG, Inc.

Create New Workplan n Enter more selection criteria 23: 05: 20 ***** Natural Object Handler ***** 2006 -11 -26 User SAJGB - Unload Natural Library Objects, Details Location: Object Types: Library. . . YSAJGB___ _ Select X Natural programming objects DBID/FNR. . _____ / _____ Error messages Passw. /Ciph. . / Objects: Object name. Y*________________ _ Use Predict set Set number __ Set user ____ Programming Object Options: S/C-Kind. . A (S/C/A/W/B Source/Cataloged/Any/Stowed/Both) Natural types P_______ _ Select Natural types Properties _ Add/change properties for selection (date, user ID, . . ) Error Messages: Error number ____ to ____ Language codes *_______ S/L-Kind. . A (S/L/A Short/Long/Any) Exceptions _ Add/change exception criteria for selection Press ENTER to continue or mark Properties or Exceptions field. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Se. Lib Types Prope Excep Cmds Canc Natural Object Handler (SYSOBJH) 20070508 88 Copyright 2006, 2007 Software AG, Inc.

Create New Workplan n Enter name of workplan 23: 06: 43 User SAJGB ***** Natural Object Handler ***** - Save Workplan - 2006 -11 -26 Enter the name and the description of the new Workplan: Workplan name. . . UNLDY _ Workplan description Unload Y* programs (no other types) from YSAJGB. __ _________________________ Enter Workplan name and description. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 89 Copyright 2006, 2007 Software AG, Inc.

Create New Workplan n Contents of selection workplan in library WORKPLAN. 23: 14: 45 Text UNLDY Library WORKPLAN User SAJGB 2006 -11 -26 0001 TYPE SELECTION /* VERSION=03. 01 NATURAL VERSION=04. 02. 01 PL=2 AUTHOR=SAJGB 0002 /* Unload Y* programs (no other types) from YSAJGB. 0003 Y* LIB YSAJGB OBJTYPE N NATTYPE P ***** End of list ***** Natural Object Handler (SYSOBJH) 20070508 90 Copyright 2006, 2007 Software AG, Inc.

Unload using Selection Workplan Optimize Manage Extend

Unload Using Selection Workplan n Go through Unload Wizard screens until you get to this screen. 23: 09: 40 User SAJGB ***** Natural Object Handler ***** - Unload Wizard, Select Unload Type - 2006 -11 -26 Select the object type for unload. You can unload objects of different object types sequentially in separate steps. _ _ _ X Natural library objects only Natural system error messages only Natural command processor sources only Natural-related objects only DDMs only FDTs only or Use Selection or List Workplan Mark one object type. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 92 Copyright 2006, 2007 Software AG, Inc.

Unload Using Selection Workplan n Enter selection workplan 23: 10: 54 User SAJGB ***** Natural Object Handler ***** - Unload Wizard, Selection or List - 2006 -11 -26 Enter name of List or Selection Workplan to unload objects. You can unload objects with different selection criteria sequentially in separate steps. Name. . UNLDY___ _ List Workplan _ Select Workplan Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Li-WP Sel. WP Back Next Cmds Canc n Parameter and option screens are used as before until … Natural Object Handler (SYSOBJH) 20070508 93 Copyright 2006, 2007 Software AG, Inc.

Unload Using Selection Workplan n Command created by the Wizard 23: 11: 44 User SAJGB ***** Natural Object Handler ***** - Unload Wizard - 2006 -11 -26 The following command will be processed. To change the settings, press PF 7 (Back). To confirm the settings and to execute the command, press ENTER or PF 8 (Next). UNLOAD ( UNLDY ) WHERE REPORT Please press PF 7 (Back) or ENTER/PF 8 (Next). Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Save Back Next Cmds Canc Natural Object Handler (SYSOBJH) 20070508 94 Copyright 2006, 2007 Software AG, Inc.

Unload Using Selection Workplan n Unload completed 23: 11: 44 User SAJGB ***** Natural Object Handler ***** - Unload Wizard - 2006 -11 -26 The following command will be processed. To change the settings, press PF 7 (Back). To confirm the settings and to execute the command, press ENTER or PF 8 (Next). UNLOAD ( UNLDY ) WHERE REPORT +--------------------------------------+ ! ! ! Function completed successfully. ! ! Press ENTER to continue. ! ! ! +--------------------------------------+ Press ENTER to continue. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit Cmds Canc Natural Object Handler (SYSOBJH) 20070508 95 Copyright 2006, 2007 Software AG, Inc.

Unload Using Selection Workplan n Report (left side) 23: 12: 37 User SAJGB ***** Natural Object Handler ***** - Display Unload Report - 2006 -11 -26 Position 1 Status Library Object Name Object Type --------------------Unloaded YSAJGB YEREP Program Unloaded YSAJGB YMENU Program Unloaded YSAJGB YVREP Program 78 S/C --Src Cat Bottom of data reached. Command ===> Enter-PF 1 ---PF 2 ---PF 3 ---PF 4 ---PF 5 ---PF 6 ---PF 7 ---PF 8 ---PF 9 ---PF 10 --PF 11 --PF 12 --Help Exit > -+ ++ Cmds Canc Natural Object Handler (SYSOBJH) 20070508 96 Copyright 2006, 2007 Software AG, Inc.

Batch Optimize Manage Extend

Batch Tips n You can code SYSOBJH direct commands by hand or you can stop by my house and re-pave my driveway. n Create direct commands on-line using the SYSOBJH Wizards, then cut-and-paste them into your batch JCL. n Use workplans to create repeatable selection criteria, commands, parameters, and options. n Prior to Natural 4. 2. 1 I 004, you either (1) got a report printed and stored in workplan library or (2) no report at all. Natural 4. 2. 1 I 004 added the option BATCHREPORT -- which will cause a report to be printed, but not to be stored in the workplan library. Natural Object Handler (SYSOBJH) 20070508 98 Copyright 2006, 2007 Software AG, Inc.

Batch Tips n Statistics l Prior to Natural 4. 2. 1, batch did not produce any statistics. l As of Natural 4. 2. 2, statistics can be printed using the DISPLAY STATISTICS command. l Example. //CMSYNIN DD * SYSOBJH UNLOAD ( UNLDY ) WHERE REPORT DISPLAY STATISTICS STOP Produces statistics shown on the following slide. Natural Object Handler (SYSOBJH) 20070508 99 Copyright 2006, 2007 Software AG, Inc.

Batch Tips n Statistics Total number of objects. . Natural libraries. . Natural source objects. . . Natural sources replaced. . . Natural sources not replaced 3 1 3 0 0 Error messages. . . Short error messages. . . . Error messages replaced. . Error messages not replaced Command Processor sources. . Cmd. processors replaced. . . External objects replaced. . Natural-related objects. . Related objects replaced. . . Adabas FDTs. . . . Adabas FDTs replaced. . . . 0 0 0 Natural Object Handler (SYSOBJH) 20070508 100 Work file records. . 103 Natural cataloged objects. . Natural cataloged replaced. Natural cat. not replaced. . Cat. subroutines rejected. . 3 0 0 0 Long error messages. . . . Long error messages rejected 0 0 Cmd. processors not replaced 0 External obj. not replaced. 0 Related obj. not replaced. . 0 Adabas FDTs not replaced. . . 0 Copyright 2006, 2007 Software AG, Inc.

Batch Input n The following four command sets unload the same objects. SYSOBJH UNLOAD ( UNLDY ) WHERE REPORT STOP FIN Using Selection Workplan (command was copied-and-pasted from the UNLOAD Wizard). SYSOBJH UNLOAD Y* LIB YSAJGB OBJTYPE N WHERE REPORT STOP "SYSOBJH" and UNLOAD command on command line. FIN SYSOBJH UNLOAD YMENU LIB YSAJGB OBJTYPE N WHERE REPORT UNLOAD YEREP LIB YSAJGB OBJTYPE N WHERE REPORT UNLOAD YVREP LIB YSAJGB OBJTYPE N WHERE REPORT STOP "SYSOBJH" and UNLOAD commands on separate lines. FIN Commands were partially copied from the UNLOAD Wizard, then manually modified. SYSOBJH direct command on separate line UNLOAD YMENU LIB YSAJGB OBJTYPE N % WHERE REPORT can be continued. UNLOAD YEREP LIB YSAJGB OBJTYPE N WHERE REPORT UNLOAD YVREP LIB YSAJGB OBJTYPE N WHERE REPORT STOP WHERE clause sets options. FIN Natural Object Handler (SYSOBJH) 20070508 101 Copyright 2006, 2007 Software AG, Inc.

Batch Input n NATUNLD and SYSOBJH commands are not compatible. NEXT NATUNLD Input Command Data or '. ' to exit. . . DATA UNLOAD ALL YMENU FROM YSAJGB TO ZSAJGB 00: 27: 16 ***** NATURAL NATUNLD UTILITY ***** 2006 -11 -27 User SAJGBOBJ - Unload Programming Objects Object Src Vers. Target Source Date and Time User ID Name Type Cat Level Library DBID/FNR of Save or Cat ----------- ------------YMENU Program Src 4. 2. 1 ZSAJGB 156/21 2006 -11 -26 00: 48: 40 SAJGB YMENU Program Cat 4. 2. 1 ZSAJGB 156/21 2006 -11 -26 00: 48: 40 SAJGB Input Command Data or '. ' to exit. . . NEXT SYSOBJH Input Command Data or '. ' to exit. . . DATA UNLOAD ALL YMENU FROM YSAJGB TO ZSAJGB Page 1 SYSOBJH: Error occurred during direct command processing! Error: 8012 Unknown object to process. Processing 'YMENU'. Error detected in OCNCMDIN. SYSOBJH terminates with condition code 40 Natural Object Handler (SYSOBJH) 20070508 102 Copyright 2006, 2007 Software AG, Inc.

Options Clause n WHERE REPORT saves reports in workplan library. SYSOBJH UNLOAD ( UNLDY ) WHERE REPORT STOP FIN 01: 08: 23 User SAJGB Cmd --LI LI Name 1002712*_ 10027124 10027125 Since no member name is specified, the member name will be created by SYSOBJH. ***** NATURAL LIST COMMAND ***** - LIST Objects in a Library Type *_____ Text S/C *__ S S SM * S S Version *______ 4. 2. 01 User ID *____ SAJGBOBJ 2006 -11 -27 Library WORKPLAN Date *_____ 2006 -11 -27 n See documentation for more options. Natural Object Handler (SYSOBJH) 20070508 103 Copyright 2006, 2007 Software AG, Inc. Time *____ 00: 27: 12

Options Clause n WHERE REPORT saves reports in workplan library. 01: 11: 50 Text 10027124 Library WORKPLAN 0001 NYEREP YSAJGB S/C 0002 NYMENU YSAJGB S/C 0003 NYVREP YSAJGB S/C ***** End of list ***** User SAJGB 2006 -11 -27 156 21 P 2006 -11 -2600: 46: 29 S 156 21 P 2006 -11 -2600: 48: 40 S 156 21 P 2006 -11 -2600: 47 S 01: 12: 19 Text 10027125 Library WORKPLAN User SAJGB 2006 -11 -27 0001 *** Unload Objects *** 0002 0003 Library Object Name Type S/C DBID/FNR Date 0004 -------------------- ---0005 YSAJGB YEREP Program Src 156/21 2006 0006 YSAJGB YEREP Program Cat 156/21 2006 0007 YSAJGB YMENU Program Src 156/21 2006 0008 YSAJGB YMENU Program Cat 156/21 2006 0009 YSAJGB YVREP Program Src 156/21 2006 0010 YSAJGB YVREP Program Cat 156/21 2006 0011 0012 Function completed successfully. 0013 ***** End of list ***** Natural Object Handler (SYSOBJH) 20070508 104 Copyright 2006, 2007 Software AG, Inc.

Natural Object Handler – Basic Topics (SYSOBJH) Optimize Manage Extend
- Slides: 105