extract_generic_fmt: Generic Extraction of Data Format Information

Description Usage Arguments Details Value

View source: R/extract_fmt.R

Description

The format information is extracted from the SQL-Export routine. This routine has to be stored in a textfile whose path is given by the parameter ps_sql_prg_path. In that SQL program all code between the beginning and the end of the specified routine name (ps_sql_exp_routine) is investigated for the pattern given by ps_exp_pattern.

Usage

1
extract_generic_fmt(ps_sql_prg_path, ps_sql_exp_routine, ps_exp_pattern)

Arguments

ps_sql_prg_path

path to sql program

ps_sql_exp_routine

name of export routine

Details

The format extraction works only, if the export routine is written in a specific way. If these assumptions are not met, the extraction does not work.

Value

tbl_fmt tibble with data column name and the width of the column


fbzwsqualitasag/qfmtchk documentation built on Dec. 20, 2021, 7:46 a.m.