Dear Vijay,

You need to create an array in which your formated data is placed
e.g:
*Y.RET<-1> = 
FMT(Y.ACC.NO,"22L"):"|":FMT(Y.CUS.NAME,"35L"):FMT(NO.DAYS,"10L"):"|":FMT(Y.INPUTER,"22L"):"|":FMT(Y.AUTHOR2,"22L)
*
then use the following commands to write the records of array in text file

*         RECORD.ID = "My Report":".txt"
         FILE.NAME = "REPORTS"*
*
         OPEN FILE.NAME TO F.PTR ELSE V.ERROR.NO = 2
         WRITE Y.RET TO F.PTR,RECORD.ID ON ERROR V.ERROR.NO = 3
         CLOSE F.PTR*
Regards,

Syed Wahaj Kazmi
Technical Analyst
Meezan Bank Limited

On Fri, Jul 1, 2011 at 10:20 AM, Vijay Ranganath <
[email protected]> wrote:

>        I am writing BATCH routine to generate a advice, give the code
> snippet to save the fetched records help me with some more ways to save that
> report, like text file or any other way kindly help on this thanking you.
>
> Regards
> Vijay.R
> Technical Analyst
> Techmill Technologies.
>
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to