
INSERT INTO fw_core.fw_jobctl_jobstep_master
(client_id, function_id, run_frequency, job_scheduling_day, sch_day_of_month, sch_day_of_week, sch_hour_of_day, sch_minute_of_hour, job_id, step_id, job_step_run_dependency_seuqence, active_flag, 
job_name, step_name, job_script_type, job_step_script_name, job_fun_param_array, job_scope, job_scope_qualifier_array, sme_entering, extract_field_name, job_step_description, job_step_objective, created_by, updated_by, create_timestamp, update_timestamp)
VALUES(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 1, 1, 9001, true, 'stg1_load', 'stg1_load_to_generic_table', 'java', '/home/compegence/customer/MMT/java/generic_table/target/ex1-1.0-SNAPSHOT-shaded.jar', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
,(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 1, 2, 9002, true, 'stg1_load', 'post_stg1_load_validation', 'sql_fn', 'staging2.fn_run_post_generic_validation()', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
,(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 2, 1, 9003, true, 'txn_load', 'run_wrapper_txn', 'sql_fn', 'staging2.fn_run_master_wrapper()', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
,(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 2, 2, 9004, true, 'txn_load', 'txn_load_validations', 'sql_fn', 'staging2.fn_run_trx_post_validation()', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
--,(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 3, 1, 9005, true, 'reporting_ods_load', 'reporting_ods_load', 'sql', 'ex2.sql', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
,(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 3, 1, 9005, true, 'file_cleanup', 'move_the_files', 'shell_script', '/home/compegence/customer/MMT/sql/scripts/file_move.sh', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
--,(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 5, 1, 9007, true, 'final_checks', 'final checks before marking runschedule status as success', 'sql', 'ex2.sql', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
,(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 6, 1, 9006, true, 'archival', 'Archival of satging2 block tables', 'sql_fn', 'archive.fn_block_archive()', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
,(21, 1, 'daily', '', '', '', '00:00:00', '00:00:00', 7, 1, 9007, true, 'check counts', 'chech count in fw_core schema', 'sql_fn', 'fw_core.fn_check_count(current_date)', '{}', '', '{}', '', '', '', '', 'Admin', 'Admin', now(), now())
;
