SELECT
  RTRIM(BQ1COMP) AS bq1comp,
  RTRIM(BQ1LVL) AS bq1lvl,
  RTRIM(BQ1GRP) AS bq1grp,
  RTRIM(BQ1TITL) AS bq1titl,
  RTRIM(BQ1NPAG) AS bq1npag,
  RTRIM(BQ1ULIN) AS bq1ulin,
  BQ1BLIN AS bq1blin,
  BQ1ALIN AS bq1alin,
  RTRIM(A1) AS a1,
  RTRIM(A7) AS a7,
  RTRIM(A40) AS a40
FROM LGDAT.FGRP
