Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Doug Clark

Pages: 1 2 [3]
31
Applications / ODBC v 3 - SQLConnectW() - DB2 CLI
« on: December 17, 2018, 08:00:00 pm »
The DB2 v 7 ODBC driver is at version 3.52, which supports Unicode. The ODBC driver manager shipped with Lotus Smartsuite is version 3 - which was before Unicode was supported.

When I attempt to connect to DB2 using a DB2 v 7 ODBC driver with a version 3 ODBC Driver Manager I crash. It appears to me from tracing that the ODBC driver manager is, for some reason, calling the wide/unicode version of the DB2 CLI functions instead of the ANIS version. For example there is a SQLConnect() which is ANSI and a SQLConnectw() which is unicode; SQLConnectw() is getting called.

I assume my crashing is related to wide version returning data in buffers allocated for ANSI lengths of data. My believe is, in part, based on the tracing, and the fact that if I call SQLConnect() directly by linking to the CLI library rather than the ODBC library the connection succeeds.

It also appears from IBM documentation that the DB2's  defaults to the wide/unicode versions unless, somehow, restricted to ANSI functions. For example there is a db2cli.ini keyword DisableUnicode=1 listed in the version 11 documentation which I cannot find in the version 7 documentation.

Does anyone know how to restrict to ANSI only for DB2 v 7? 

32
Setup & Installation / Setup strings with PARSEDB and DATABASE.DAT
« on: November 16, 2018, 11:10:12 pm »
When creating or updating a Program Object it appears the WP_PROGRAM object in the WPS searches DATABASE.DAT when you cursor off the "Path and file name" on the Program tab of the program object and updates various settings on the program object based on the settings in DATABASE.DAT.

(This is described starting on page 122 of Redbook GG24-3731)

DATABASE.DAT is created/updated by PARSEDB.EXE based on text in DATABASE.TXT and "tags" in DBTAGS.DAT.

I was hoping I could add a new "tag" in DBTAGS.DAT that equals a setup string, make an entry in DATABASE.TXT/DATABASE.DAT with the setup string for a program, and have the Program Object execute the setup string when the user types a executable name in the "Path and file name" entry field.  But alas, it does not work.

Has anyone messed around with PARSEDB and DATABASE.DAT and created new tags to add settings to DATABASE.DAT that worked?

33
Applications / Problems Installing a PPD for PM
« on: November 07, 2018, 10:42:50 pm »
I am attempting to install a PPD using PIN.EXE and get the error message

reading driver extended attributes
   fail
SYS005: Access is denied
fail

Background
-----------------
I have an HP m452dn printer. The m452 family of printers includes m452dn, m452dw (with duplexer) and m452nw (no duplexer).

hplib, which apparently is where CUPS gets (some of) its *.PPD files from has
hp-color_laserjet_452-ps.ppd   and
hp-color_laserjet_452d-ps.ppd

The "d" in the name indicates the PPD for the printers which have a duplexer. Unfortunately the nickname in both those PPD files is the same, so CUPS can't distinguish between the two files.

I found the correct *.ppd for the HP m452 models with a duplexer, changed the nickname and used CUPS to modify the printer I had already installed to the new PPD. (That file is attached as hp_m452d_ppd.zip) Everything works great.

Problem
-------------
Now I want to update the PM printer driver with the new, correct PPD that contains duplexer info.  When running PIN to import the PPD I get an access is denied error - a screen shot of the error message is attached. I also get an error when trying to import the same PPD with the Manager Printers object in the Printers folder.

I get the message running PIN on the PPD before it has been cleaned, and after the PPD has been cleaned with cleanPPD.exe.  I have attached the cleaned PPD

34
Applications / CUPS User ID and Password
« on: November 06, 2018, 06:59:46 am »
On the CUPS administration page (http://localhost:631/admin) when I click on "View Error Log" I am prompted for a user id and password. None of the user ids/passwords I have entered work.

Does anyone have any idea which user id and password CUPS is looking for?

35
Applications / How to install and use DropBox plugin for Netdrive
« on: October 14, 2018, 03:14:19 am »
Anybody have any idea how to install or use the DropBox plugin for NetDrive?

I assume that to install it I use

YUM install  ndpdbox-0.6.0.b9-0.oc00.i686.rpm

This does create a folder on the desktop titled NpdDBox 0.6.b9. Inside the folder is an icon for Dropbox Authorize.

If the browser (firefox 45.9.0) is already open and I have signed on to DropBox when I click on Dropbox Authorize, click on the Start button, and then copy the text from the "Api Request Authorized" page on DropBox.com I get what looks like an error dialog box, title is DropBoxauth, message is: 
No access token in http reply!

If the browser isn't open then when I click the Start button, the browser starts and opens a sign on page for Drop Box. When I type in my email and password and click Sign In nothing happens - there is a busy cursor that never goes away.


36
Applications / AOS RAM Disk
« on: September 25, 2018, 06:43:44 pm »
I have read that the AOS RAM disk uses memory above the 4 MB limit - meaning on a 8 MB machine I could assign 4MB to a ram disk and not impact any OS/2 applications or the operating system itself.

Yet the Low and High memory check boxes and available amounts don't seem to indicate that is true.

Does anyone know where RAM disk takes memory? And it it does use memory about the 4 MB limit, how does it do that?

37
Applications / AOS Removable media monitor - how to install
« on: September 25, 2018, 06:39:21 pm »
I am trying to figure out how to add the AOS removable media monitor widget to xCenter. For some reason when I installed AOS 5.01 on my laptop the monitor wasn't installed.

38
Hardware / Lenovo External Monitor
« on: May 09, 2018, 05:13:26 pm »
Anyone have an idea about how to get an external monitor to work with a T530?

For some reason I have a vague memory that I had that working some months ago, but I can't get it to work now. Even bought a docking station thinking that would help - but it doesn't for ArcaOS.

39
Applications / File Open dialog not resizable?
« on: March 06, 2018, 11:44:42 pm »
New install of AraOS 5.02. The Open File Dialog box is no longer resizable.

Is there a setting somewhere to allow it to be sized?

40
Applications / Get removable media widget back
« on: March 06, 2018, 11:36:56 pm »
I installed AROS 5.02, which has a very nice removable media widget in xcenter.

I missed some of the features of the full version of xWorkplace, so I uninstalled the existing XWPS via WarpIn so that I could install v 1.011.  Unfortunately the removable media widget is gone. Anyone know how to get that widget back?

41
Storage / Low level format error with JFS
« on: February 03, 2018, 08:43:28 pm »
I have couple of new Toshiba 1 TB hard drives that I am trying to format. I used

format x: /FS:JFS /L

and a few seconds later receive the error

Internal error: devices.c(532): Write error 87 (INVALID_PARAMETER)

This happens with 2 brand new drives, so I don't know if it is a software issue, problem with both drives, or what.

Does anyone else low level format spinning hard drives anymore?


42
Setup & Installation / Laptop advice please
« on: June 08, 2017, 01:05:16 am »
My T43P is nearing the end of its life - my it rest in peace.

I am looking to replace it with a Thinkpad T530 or some such, and for an excuse to purchase BlueLion. I notice that Doug Bissett is using an L530, which is similar. So questions:

Does the accelerated GRADD for Intel work with the Intel HD4000? (Doug you have an HD3000 - what is your experience?)

Suggestions on which PCIe Mini Card I should get that will work with GenMac?

Any other issues that should steer me to a different machine or I should be aware of?

Thanks


Doug Clark

43
Programming / files (and directories) not showing up in WPS
« on: January 22, 2017, 04:22:17 am »
I recently (last week) installed from scratch ECS beta 2.2. I noticed tonight that I have a file which does not show up in the WPS drives object. It does show up in and command window with a DIR, and it does show up in Larsen Commander and FM/2 stuff, but it does not appear in a DETAILS, or any other WPS view of the directory.

This particular file is on an ECS server which I recently recreated. But I have seen the issue before locally, with entire directories not showing up in the WPS when they do show up other ways, e.g. DIR from command line and in other file managers.

Anyone have any idea what is going on, and how to fix it?

Oh - to make matters even stranger,  the file that doesn't show up is a data file, and I cannot set the default action to something other than Properties and have it stick.  When I double click on it (in one of the file managers like FM/2 or Larsen) it doesn't follow the association - meaning it doesn't start the program associated with the file. And when i open the properties to change the default action on open to the one associated with the file it ignores the setting and goes back to Properties.

system: ecs beta 2.2. xWorkplace 1.0.11,

44
Programming / Crash on Boot with JFS
« on: January 10, 2017, 07:13:43 pm »
Rebooted this morning and got the following message

  The system detected an internal processing error at
    location ##1800:05b5 - 0003:05b5
    65535, 9051
    JFSBOOT: Error reading in FS
    1386090f
    Inental revision 14.106_SMP
    The system is stopped. Record all of the above information and
    contact your service representative.

I can ALT-F1 and boot to the command prompt.
I can boot to a maintenance partition and access the boot drive (C:)
I cannot ALT-F1 and restore my last archive

The crash happens after Loading OS2LVM.DMD appears at the bottom of the screen.

Any ideas on how to fix?

Or how to restore the system?

Alternatives I am considering
1) re-install ECS as an update rather than a new install
2) xcopy C:\OS2\ARCHIVES, xcopy rest of the drive EXCEPT C:\OS2, reinstall ECS as fresh (i.e. format drive), copy back drive except C:\OS2, ALT-F1 and restore my last archive
3) ??




45
Networking / ECS client Cannot log on to OS/2 domain
« on: September 26, 2016, 09:07:31 pm »
Previous WSEB server (ECS with file sharing removed and WSeB server stuff added) crashed, after running for years.

Built new machine.
Installed ECS 2.2 beta with R8169 network driver.
Deleted file sharing and installed LAN server 5 (WSeB server stuff)
SERVER0 is the only server and also domain controller

Server starts ok. Netlogon service shows to be active in the Lan Server Administration GUI. I can logon to the domain from the server.
But my ECS client (REQ1)  cannot log on to my domain.

Netbios appears to running OK on the server because I can NET USE W:   \\REQ1\DDRIVE from the server and it works OK (after starting PEER on REQ1)

However I cannot logon to DOMAIN (my domain name) from the requester machine REQ1, and I
I cannot NET USE x:   \\server0\cdrive  from  REQ1 (after login on locally). Error message says network path is not found

Second requester, a laptop, also cannot logon to server

Any suggesting?

Pages: 1 2 [3]