i have a PRTF with one record and some fields. I need to control the
starting line of some fields "dynamicly". Means, in some case the field
should be printed in line 20 and in some cases in 40.
Could i control the starting line with indicators ?
Thanks in advance,
Michael
>Could i control the starting line with indicators ?
I prefer to keep away from indicators when they are not needed. You could
make 2 empty records, 1 with skip before line 20 and 1 with skip before line 40
and have the program control which record will print dynamically and then write
the record containing the fields to print after that.
Andy
It all depends how dynamic it need to be, otherwise just print blank lines
until your reach the line you prefer (the INFDS contains the line you're
on).
Regards,
Paul
__________________
Michael Schwarze <Michael....@t-online.de> wrote in article
<6dmu2m$ubp$2...@news01.btx.dtag.de>...
> Hi,
>
> i have a PRTF with one record and some fields. I need to control the
> starting line of some fields "dynamicly". Means, in some case the field
> should be printed in line 20 and in some cases in 40.
>
> Could i control the starting line with indicators ?
>
> Thanks in advance,
>
> Michael
>
The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, Merck & Co., Inc. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.
>i have a PRTF with one record and some fields. I need to control the
>starting line of some fields "dynamicly". Means, in some case the field
>should be printed in line 20 and in some cases in 40.
>
>Could i control the starting line with indicators ?
Not for an externally-described print file, but if you use program-described
printer output then space after, space before, skip after, and skip before can
be variables. You could change any or all of them before any print output and
fully control the spacing that way.
Can't you just put a conditioning indicator on the SKIPB keyword?
A 40 SKIPB(40)
A N40 SKIPB(20)