On Thu, 3 Apr 2014 23:05:28 +0200, Bernd Oppolzer wrote:
>
>But: we still have the problem, that the trace output from PL/1-PUT
>and C printf are not in sync ... that is: due to different buffering in
>the PL/1 and C RTL, the trace output does not appear in the correct time
>order.
> 
Don't know about legacy data sets; don't know about PL/[1I], but if I
use UNIX files and sprintf(); write(); I expect more orderly results.

fflush(); might also help.

setvbuf( stream, NULL, _IOLBF, ... ); might likewise help.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to