Automic Workload Automation

 View Only

Transport case parsing scripts 

May 06, 2019 03:37 AM

Since deciphering and documenting the transport case file format, I have written a few scripts to parse such files, and extract various pieces of information.

 

Script Description & usage Version / Last updated
18bad3g2pytw.pngparse_ae_db_file.sh
(Previously known as parse_transport_case.sh)

General script for parsing Automation Engine database files. The following file types are supported:

Usage:

parse_ae_db_file.sh
-o output_mode [-t y|n] [-v verbosity] input_file

Arguments:

-o output_mode:

  • a: all object details including scripting tab content & list of workflow tasks
  • c: only objects with matching custom attributes
  • i: Basic object information: OH_IDnr, OH_Name, OH_OType, etc.
  • p: scripting tab content (pre-process, process, and post-process)
  • s: standard object details
  • w: workflow tasks
  • z: z/OS job details

-t table_descriptions:

  • n: do not read table descriptions (default)
  • y: read table descriptions (much slower)

-v verbosity:

  • 0: no messages, only output (default)
  • 1 :slightly verbose
  • 2: more verbose
  • 3: extremely verbose

The script can also be further customized to extract other information.

v2.4
2019.04.11
18bad3g2pytw.pngparse_JBA_Rest.sh
Parses and prints details from the JBA_Rest field of z/OS jobs.
parse_JBA_Rest.sh JBA_Rest_input_file
The input file should contain one line per job, with tab-delimited values:
JOBS_ZOS OH_Name OH_OType OH_HostAttrTypeDst JBA_Rest
(These lines are included in the output of the parse_transport_case.sh script when it is run with output mode a or z).
v0.2
2015.01.27
18bad3g2pytw.pngvalidate_obj_script.sh
Parse & validate scripting tab content of relevant AE objects.
validate_obj_script.sh -p prefix [-v verbosity] ae_obj_script_file
AE_OBJ_SCRIPT OH_Name OH_OType OT_Type OT_Lnr OT_Content
(This corresponds to the AE_OBJ_SCRIPT lines output by the parse_transport_case.sh script when it is run with output mode a.)
v0.4
2017.06.28
18bad3g2pytw.pngparse_zOS_job_script.sh
Parse and validate scripting tab content of z/OS jobs of type Automation Engine.
parse_zOS_job_script.sh zos_job_script_file
The input file should contain one line per job script line, with tab-delimited values:
JOBS_ZOS_SCRIPT zOS_Job_Type OH_Name OT_Type OT_Lnr OT_Content
(This corresponds to the JOBS_ZOS_SCRIPT lines output by the parse_transport_case.sh script when it is run with output mode a or z.)
v0.1
2017.06.19
18bad3g2pytw.pnglogging_functions.sh
Logging functions used in other scripts. Not intended to be executed directly. NA

 

This document was generated from the following discussion: Transport case parsing scripts

Statistics
0 Favorited
60 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
txt file
dummy.txt   5 B   1 version
Uploaded - Jun 12, 2023

Tags and Keywords

Related Entries and Links

No Related Resource entered.