CAST Imaging - Export application in debug mode

This page describes the method to export an application in debug mode, and the added value of this practice.

 

 

AIP Version

Yes/No

8.3.x (tick)

 

 

 

Imaging version

Yes/No

2.x (tick) 

 

 

 

RDBMS

Yes/No

CSS (tick)

 

 

  1. How to activate debug mode?                                                                                                                                                                                                                                                                                                                                                                                                                                                                             To generate the CSV data ZIP in debug mode, run the following command either directly in a Command Prompt or via a batch file, changing it to suit your own environment:

    exporter.exe --host <name_of_CSS_host_server> --user <CSS_user_name> --password <CSS_password> --port <CSS_port_number> --schema <name_of_analysis_service_schema> --outputdir c:\temp\my_output_path --log c:\temp\log\log.txt --debug

    Parameters

    Parameter

    Required?

    Description

    --debug       (error) Activate debug mode

    -h / --help

    (error) Displays the help message.
    --host (error) Enter the network host name of the server on which the CAST Storage Service/PostgreSQL is located. Default = localhost.
    --user (error) Enter the CAST Storage Service user login. Default = operator.
    --password (error) Enter the CAST Storage Service password corresponding to the user entered in --user. Default = CastAIP.
    --port (error)

    Enter the port number for the target CAST Storage Service/PostgreSQL. Default = 2282 (CAST Storage Service 3):

    CSS2 2280
    CSS3 2282

     

    --schema (tick)

    Enter the name of the Analysis Service schema containing the Application you would like to work with in Imaging System.

    You can view the name of the Analysis Service schema as follows:

    --outputdir (tick) Enter the location where the resulting output ZIP will be stored. This folder must exist.
    --log (tick) Enter the location for the output log file. This file must exist.
    --debug (error) Use this option to log all messages generated during the generation process.

     

  2. What is the added value? 
    1. While generating the report, the export log file will be populated by SQL queries used while generating the log file, for example you will get traces as follows:

       

      update aaa_is_obj_processing as aiop set is_io = true, has_color = true where aiop.object_id in (select distinct parent_id from ctt_object_parents where object_id in (
      select caller_id from ctv_links where called_id in (SELECT DISTINCT OBJ.OBJECT_ID
      FROM cdt_objects OBJ, OBJPRO EXT WHERE EXT.IDOBJ = OBJ.OBJECT_ID AND OBJ.object_language_name = 'Java' AND OBJ.object_type_str = 'Java Method' AND EXT.Prop = 1 AND OBJ.object_name NOT LIKE '_jspService'
      and object_fullname like 'java.io.%%')));

       

    2. The tables used  while generating the report will be crated and populated with data used by CAST Imaging System, this tables has names starting with aaa_is_:   
    3. The table aaa_is_logs  indicate procedures computed during the export generation with the starting and ending execution time of each procedure, for example:                                                                                                                                                                                                                                                                                  

      1;"aaa_is_init Begin";"2019-12-05 12:43:12.104"
      2;"aaa_is_init End";"2019-12-05 12:43:13.495"
      3;"aaa_is_obj_extract Begin";"2019-12-05 12:43:13.495"
      4;"aaa_is_obj_extract End";"2019-12-05 12:43:13.604"
      5;"aaa_is_obj_ignore_identification Begin";"2019-12-05 12:43:13.604"
      6;"aaa_is_obj_ignore_identification End";"2019-12-05 12:43:13.651"
      7;"aaa_is_obj_process_init Begin";"2019-12-05 12:43:13.651"
      8;"aaa_is_obj_process_init End";"2019-12-05 12:43:13.698"
      9;"aaa_is_obj_defaultmap_by_type Begin";"2019-12-05 12:43:13.698"
      10;"aaa_is_obj_defaultmap_by_type End";"2019-12-05 12:43:13.714"
      11;"aaa_is_obj_defaultmap_by_dependency Begin";"2019-12-05 12:43:13.714"
      12;"aaa_is_obj_defaultmap_by_dependency End";"2019-12-05 12:43:13.714"
      13;"aaa_is_obj_defaultmap_by_name Begin";"2019-12-05 12:43:13.729"
      14;"aaa_is_obj_defaultmap_by_name End";"2019-12-05 12:43:13.729"
      15;"aaa_is_obj_color_db Begin";"2019-12-05 12:43:13.729"
      16;"aaa_is_obj_color_db End";"2019-12-05 12:43:13.854"
      17;"aaa_is_obj_color_dao Begin";"2019-12-05 12:43:13.854"
      18;"aaa_is_obj_color_dao End";"2019-12-05 12:43:13.917"
      19;"aaa_is_obj_color_ws Begin";"2019-12-05 12:43:13.917"
      20;"aaa_is_obj_color_ws End";"2019-12-05 12:43:13.932"
      21;"aaa_is_obj_color_transac Begin";"2019-12-05 12:43:13.932"
      22;"aaa_is_obj_color_transac End";"2019-12-05 12:43:13.979"
      23;"aaa_is_obj_color_batch Begin";"2019-12-05 12:43:13.979"
      24;"aaa_is_obj_color_batch End";"2019-12-05 12:43:13.995"
      25;"aaa_is_obj_color_userinterface Begin";"2019-12-05 12:43:13.995"
      26;"aaa_is_obj_color_userinterface End";"2019-12-05 12:43:13.995"
      27;"aaa_is_obj_color_thread Begin";"2019-12-05 12:43:13.995"
      28;"aaa_is_obj_color_thread End";"2019-12-05 12:43:14.01"
      29;"aaa_is_obj_color_richclient Begin";"2019-12-05 12:43:14.01"
      30;"aaa_is_obj_color_richclient End";"2019-12-05 12:43:14.01"
      31;"aaa_is_obj_color_io Begin";"2019-12-05 12:43:14.026"
      32;"aaa_is_obj_color_io End";"2019-12-05 12:43:14.026"
      33;"aaa_is_obj_color_mq Begin";"2019-12-05 12:43:14.026"
      34;"aaa_is_obj_color_mq End";"2019-12-05 12:43:14.042"
      35;"aaa_is_obj_color_mvc Begin";"2019-12-05 12:43:14.042"
      36;"aaa_is_obj_color_mvc End";"2019-12-05 12:43:14.057"
      37;"aaa_is_obj_color_struts Begin";"2019-12-05 12:43:14.057"
      38;"aaa_is_obj_color_struts End";"2019-12-05 12:43:14.073"
      39;"aaa_is_obj_color_servlet Begin";"2019-12-05 12:43:14.073"
      40;"aaa_is_obj_color_servlet End";"2019-12-05 12:43:14.089"
      41;"aaa_is_obj_finalmap Begin";"2019-12-05 12:43:14.089"
      42;"aaa_is_obj_finalmap End";"2019-12-05 12:43:14.089"
      43;"aaa_is_obj_good_to_go Begin";"2019-12-05 12:43:14.089"
      44;"aaa_is_obj_good_to_go End";"2019-12-05 12:43:14.151"
      45;"aaa_is_lnk_extract Begin";"2019-12-05 12:43:14.151"
      46;"aaa_is_lnk_extract End";"2019-12-05 12:43:14.339"
      47;"aaa_is_lnk_ignore_identification Begin";"2019-12-05 12:43:14.354"
      48;"aaa_is_lnk_ignore_identification End";"2019-12-05 12:43:14.417"
      49;"aaa_is_lnk_process_init Begin";"2019-12-05 12:43:14.417"
      50;"aaa_is_lnk_process_init End";"2019-12-05 12:43:14.62"
      51;"aaa_is_lnk_projection_to_parent_init Begin";"2019-12-05 12:43:14.62"
      52;"aaa_is_lnk_projection_to_parent_init End";"2019-12-05 12:43:14.651"
      53;"aaa_is_lnk_projection_to_parent Begin";"2019-12-05 12:43:14.651"
      54;"aaa_is_lnk_projection_to_parent End";"2019-12-05 12:43:14.807"
      55;"aaa_is_lnk_projection_to_child Begin";"2019-12-05 12:43:14.807"
      56;"aaa_is_lnk_projection_to_child End";"2019-12-05 12:43:14.807"
      57;"aaa_is_lnk_projection_to_caller Begin";"2019-12-05 12:43:14.823"
      58;"aaa_is_lnk_projection_to_caller End";"2019-12-05 12:43:14.823"
      59;"aaa_is_lnk_projection_to_called Begin";"2019-12-05 12:43:14.823"
      60;"aaa_is_lnk_projection_to_called End";"2019-12-05 12:43:14.901"
      61;"aaa_is_lnk_good_to_go Begin";"2019-12-05 12:43:14.901"
      62;"aaa_is_lnk_good_to_go End";"2019-12-05 12:43:15.089"
      63;"aaa_is_tra_extract Begin";"2019-12-05 12:43:15.089"
      64;"aaa_is_tra_extract End";"2019-12-05 12:43:15.26"
      65;"aaa_is_tra_ignore_identification Begin";"2019-12-05 12:43:15.276"
      66;"aaa_is_tra_ignore_identification End";"2019-12-05 12:43:15.276"
      67;"aaa_is_tra_process_init Begin";"2019-12-05 12:43:15.276"
      68;"aaa_is_tra_process_init End";"2019-12-05 12:43:15.385"
      69;"aaa_is_tra_projection_to_parent Begin";"2019-12-05 12:43:15.401"
      70;"aaa_is_tra_projection_to_parent End";"2019-12-05 12:43:15.62"
      71;"aaa_is_tra_projection_to_child Begin";"2019-12-05 12:43:15.635"
      72;"aaa_is_tra_projection_to_child End";"2019-12-05 12:43:15.635"
      73;"aaa_is_tra_projection_to_caller Begin";"2019-12-05 12:43:15.635"
      74;"aaa_is_tra_projection_to_caller End";"2019-12-05 12:43:15.635"
      75;"aaa_is_tra_projection_to_called Begin";"2019-12-05 12:43:15.635"
      76;"aaa_is_tra_projection_to_called End";"2019-12-05 12:43:15.651"
      77;"aaa_is_dtg_create_all Begin";"2019-12-05 12:43:15.651"
      78;"aaa_is_dtg_create_all End";"2019-12-05 12:43:19.901"
      79;"aaa_is_dtg_extract Begin";"2019-12-05 12:43:19.901"
      80;"aaa_is_dtg_extract End";"2019-12-05 12:43:19.948"
      81;"aaa_is_dtg_ignore_identification Begin";"2019-12-05 12:43:19.948"
      82;"aaa_is_dtg_ignore_identification End";"2019-12-05 12:43:19.948"
      83;"aaa_is_dtg_process_init Begin";"2019-12-05 12:43:19.964"
      84;"aaa_is_dtg_process_init End";"2019-12-05 12:43:20.12"
      85;"aaa_is_dtg_projection_to_parent Begin";"2019-12-05 12:43:20.12"
      86;"aaa_is_dtg_projection_to_parent End";"2019-12-05 12:43:20.167"
      87;"aaa_is_dtg_projection_to_child Begin";"2019-12-05 12:43:20.167"
      88;"aaa_is_dtg_projection_to_child End";"2019-12-05 12:43:20.167"
      89;"aaa_is_dtg_projection_to_caller Begin";"2019-12-05 12:43:20.182"
      90;"aaa_is_dtg_projection_to_caller End";"2019-12-05 12:43:20.182"
      91;"aaa_is_dtg_projection_to_called Begin";"2019-12-05 12:43:20.182"
      92;"aaa_is_dtg_projection_to_called End";"2019-12-05 12:43:20.182"
      93;"aaa_is_obj_color_mq Begin";"2019-12-05 12:43:20.526"
      94;"aaa_is_obj_color_mq End";"2019-12-05 12:43:20.542"
      95;"aaa_is_obj_color_transac Begin";"2019-12-05 12:43:20.542"
      96;"aaa_is_obj_color_transac End";"2019-12-05 12:43:20.557"
      97;"aaa_is_obj_color_batch Begin";"2019-12-05 12:43:20.557"
      98;"aaa_is_obj_color_batch End";"2019-12-05 12:43:20.557"
      99;"aaa_is_logs Begin";"2019-12-05 12:43:20.557"
      100;"aaa_is_logs End";"2019-12-05 12:43:20.573"
      101;"aaa_is_obj_good_to_go Begin";"2019-12-05 12:43:20.573"
      102;"aaa_is_obj_good_to_go End";"2019-12-05 12:43:20.589"
      103;"aaa_is_tra_good_to_go Begin";"2019-12-05 12:43:20.589"
      104;"aaa_is_tra_good_to_go End";"2019-12-05 12:43:20.589"
      105;"aaa_is_obj_cobol_reassign Begin";"2019-12-05 12:43:20.589"
      106;"aaa_is_obj_cobol_reassign End";"2019-12-05 12:43:20.604"
      107;"aaa_is_dtg_table_reindex Begin";"2019-12-05 12:43:20.604"
      108;"aaa_is_dtg_table_reindex End";"2019-12-05 12:43:21.729"

       

 

 

 

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk