|
"PGM DCL VAR(&STMF) TYPE(*CHAR) LEN(256) DCL VAR(&CMD) TYPE(*CHAR) LEN(356) CHGVAR VAR(&STMF) VALUE('/home/klemscot/test.txt') OVRDBF FILE(STDOUT) TOFILE(QTEMP/TEMPORARY) CHGVAR VAR(&CMD) VALUE('head -n 1' *BCAT &STMF) STRQSH CMD(&CMD) DLTOVR FILE(STDOUT) ENDPGM" It did not work. Same results as using CPYFRMIMPF... Peter Vidal PALL Corporation / SR Programmer Analyst, IT Development Group 10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111 http://www.pall.com "The ability to focus attention on important things is a defining characteristic of intelligence." Robert J. Shiller, Irrational Exuberance
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.