×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 15-Jun-2011 14:03 , Mike Wills wrote:
I have an old program described file that I need to pull information
out via SQL. While it looks fine in STRSQL, it displays in hex on DB
Development perspective in RDP. How does one pull information out of
a program described file through SQL? Or am I SOL and need to write
a program?
Given the noted effect from the interactive SQL reporting, seems
probable the field(s) have only\all character data [e.g. USEnglish]? If
so, then the following might suffice:
SELECT CAST(FldName AS VARCHAR(32000) CCSID 37) FROM PgmDsc_PF
/* other choices for varchar vs char and size might be preferred */
The better option IMO is to just create the equivalent externally
described file(s) [with columns reflecting the proper CCSID of the data]
and then to copy the corresponding data to the equivalent file(s).
There should be very few requirements to maintain a file as program
described, since even an externally described file can be [re]described
by a program.?
Regards, Chuck
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.