RATE THIS ANSWER
0
Click to Vote:
0
0
You do not need the OVRDBF.
You use two DCLF statements and RCVF for the PF and SNDF for the DSPF
*************************************************************************
CL supports up to 5 files. Use OPNID to reference additional files.
///////
It'll work if you are on V5R4M0 or above.
Wilson
Sorry, mi mistake. More than one file in CL is allowed from V5R3 and above.
Wilson
*************************************************************************
The recent allowance of up to five DCLFs in a single CL program has made this fairly easy. However, there are various ways of accomplishing a similar result even in VRMs going back to V2R3. For example, the QLGSORT API can be used to retrieve record strings into CL variables, and a DSPF can then be the target of the single DCLF. Or the database file can be on the DCLF, and the DSPF can be replaced by a *PNLGRP -- use UIM APIs to write the output. Or, in ILE CL, use DSM APIs to avoid both DSPF and *PNLGRP requirements.
Tom
Last Answered:
Sep 16 2009 11:08 PM GMT by TomLiotta2 
25 pts.