Posted: Thu Dec 22, 2005 12:33 pm Post subject: PLI syntax needed for report program
Hai All,
I am basically new to PLI programming and i need to generate a report which is 133 bytes and which might look like this:
I need to start my header lines from column 61
Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+-----------------
********************************* Top of Data **********************************
PAGE : 1
RUN DATE: 12/22/2005
RUN TIME: 10:10:10
Thanks for your hep .Basically in my program i have to use PUT FILE Syntax only as i cannot use WRITE FILE as per the requirements.If i were to acheive the same results using DATETIME Builtin and i have to keep track of the page nos for incrementing if the no of lines written to the file exceed 55 i have to once again write the headers with increasing page no like below.How can i achive my desired results ? Can you please guide me ahead ?
Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+
********************************* Top of Data **********************************
PAGE : 1
RUN DATE: 12/22/2005
RUN TIME: 10:10:10
ABC REPORT
RECORD
RECORD
.
.
.
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+
********************************* Top of Data **********************************
PAGE : 2
RUN DATE: 12/22/2005
RUN TIME: 10:10:10
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum