Check to see if the QCPTOIMPF data area exists.
dspdtaara qcptoimpf
The value will probably be: 'CPV5R2'
That's a system level option to use an older version of the CPYTOIMPF command which doesn't include the ADDCOLNAM parameter.
To override it, call:
CRTDTAARA DTAARA(QTEMP/QCPTOIMPF) TYPE(*CHAR) LEN(6) VALUE('NO')
This will allow it to work for your session but will be deleted when the job ends.
Michael S
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of a4g atl
Sent: Thursday, March 28, 2019 11:59
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Fwd: Column headings not working in CPYTOIMPF
I have used this feature to include column headings into a csv file several times. Today I am working on a new LPAR which is at v7.2 and using the option ADDCOLNAM(*SQL) but it is not writing out the column headings in the first row.
Has anyone experienced this problem and if so, how did you resolve it?
TIA
Darryl Freinkel.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_midrange-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=ls1vEGzGwgqZJyzZs7sGJ8CtK97ty2KqTEwuy7Bm0ek&m=Wy8vUAD2JZnp7zpIMYW441lJMIHkPjux4HfezkokuZs&s=5Ro8xcceF1oGLehIvW0cjgtlbf-wNFuP2icsGjTNpBM&e=
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_midrange-2Dl&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=ls1vEGzGwgqZJyzZs7sGJ8CtK97ty2KqTEwuy7Bm0ek&m=Wy8vUAD2JZnp7zpIMYW441lJMIHkPjux4HfezkokuZs&s=V8erBdZmPfRM2xlf0FDSejLKBVamL6w4pdfAqBt_Urs&e=.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=ls1vEGzGwgqZJyzZs7sGJ8CtK97ty2KqTEwuy7Bm0ek&m=Wy8vUAD2JZnp7zpIMYW441lJMIHkPjux4HfezkokuZs&s=RdpAj3lr1DxBl3xOwy2EADd9oBEgtRnjC8gmDYw9YO4&e=
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.