|
Denis, When I did this to my S36 OCLs and converted them to CLP, what I did was build the file in a data library using DDS with my keys and everything that was specified in the BLDFILE instruction. At the point in the OCL where it did the BLDFILE I would do something like: CRTDUPOBJ QS36F/AP035TMP QTEMP/AP035TMP DUPDTA(*NO) although you'll probably have to correct the syntax on that. In most cases that was all that was needed, if the OCL created and opened the file using the library list. If not, I just had to either change the hard coded library to use the library list, or change it to QTEMP as appropriate. HTH, Regards, Jim Langston From: midrange-l-admin@midrange.com [mailto:midrange-l-admin@midrange.com]On Behalf Of Denis Robitaille Sent: Tuesday, October 23, 2001 9:14 AM To: MIDRANGE-L@midrange.com Subject: How to create a jeyed file without DDS Hello all, In our effort to eliminate our S36 code, I was ask to develop a command to replace the BLDFILE instruction. This command will do some extra processing for us. My problem is the following: I have no problem creating a sequential file without a DDS source member but I do not know how to create a keyed file without a DDS source member. The CRTPF command does not offer me the option to specify a key. Any idea? Thanks Denis Robitaille Directeur services techniques Cascades Inc 819 363 5187 fax 819 363 5177
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.