Description Usage Arguments Details Value Examples
Extraction of format specification of exported GAL data based on SQL export
routine. This function is a wrapper which uses the generic export function
extract_generic_fmt
.
1 2 3 4 5 | extract_gal_fmt(
ps_sql_prg_path,
ps_sql_exp_routine = "ExportGAL",
ps_exp_pattern = "PA_EXP.sFormat"
)
|
ps_sql_prg_path |
path to sql program |
ps_sql_exp_routine |
name of export routine |
ps_exp_pattern |
pattern to search for export commands |
Usefulness of this function depends on the format of the SQL export routine. If that format changes, the result might be completely unusable. This function should only be used once to extract the format. Any updates should be done on already existing fmt-input files.
tbl_gal_fmt tibble with the column headers and the column width
1 2 3 4 5 | ## Not run:
s_sql_prg_path <- system.file("extdata", "zws_gal_pgb.sql", package = "qfmtchk")
tbl_gal_fmt <- extract_gal_fmt(ps_sql_prg_path = s_sql_prg_path)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.