× 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.



I'm talking to myself - too much holiday!

I actually set one of the extensions to be .mbr - this means that I can open any source member in Notepad or Textpad (my favorite) and it looks just fine. Just a caveat - don't trust the reverse path for updating - at least a few years ago I ended up with empty source members.

Yoost had an eenteresting idear! Wonder if I can look at user spaces directly - just add the .usrspc extension to the list for the share!!!

HTH
Vern

Vern Hamberg wrote:
There is a setting when creating a file share to translate files with certain extensions. That takes care of the EBCDIC to ASCII conversion.

rob@xxxxxxxxx wrote:
By golly John I think you understand perfectly!

A "trigger" is a legitimate term used in DB2 on the i. That could update the IFS file. Then the PC app could read that. No refresh needed. You just change the default data directory from something like
c:\BubbasApp\data
to
x:\BubbasApp\data
where x is a drive mapped to a "share" defined on the i

For those who haven't yet dabbled into updating IFS files directly you could also do this:
ADDLNK OBJ('/qsys.lib/rob.lib/noddspf.file/noddspf.mbr')
NEWLNK('/rob/noddspf.txt')
and then this works fine
dspf '/rob/noddspf.txt'

When I opened it up in Notepad it looked like garbage though.
hmm,
CRTPF FILE(ROB/noddspF) RCDLEN(75)
was how it was created.
and, even though system value QCCSID is set to 37 it had picked 65535.
Oh, that's right - no dds and no sql (ie RCDLEN parameter used) WILL result in 65535.
STRSQL
CREATE TABLE ROB/NODDSPF (ONEFIELD CHAR (75 ) NOT NULL WITH DEFAULT)
RCDFMT NODDSPFR The CCSID of the file, and the field, are now 37.
INSERT INTO ROB/NODDSPF VALUES('Live and let live.')
Still looks like crud in Notepad.


Rob Berendt


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.