vikramdr Beginner
Joined: 15 Feb 2003 Posts: 15 Topics: 11
|
Posted: Wed May 07, 2003 10:16 am Post subject: Writing to a file in PLI |
|
|
Hi,
I have to write a PLI program which writes records to a sequential file. The DD name in JCL is REPORT1.
So the declaration in PLI program is
DCL REPORT1 FILE OUTPUT STREAM
and the statement which writes the record to the file is
PUT FILE (REPORT1) EDIT (DEC)(COL(POSITION),F(15,2)) ;
I want to know in the above PUT FILE statement, can the REPORT1 name be populated/passed throuh a variable ?
Thanks and regards,
Vikram. _________________ Vikram |
|