Morning All (South African Time!),
I have a server upgrade coming up for a 65 user customer currently on D3 Linux 10.2.
The plan is to go bleeding edge to 10.4 so have started the research and busy playing on a dev server.
First off I see FSI and a totally new installation procedure. Last time I used FSI was 20 yrs back when a customer had D3/Windows on WindowsNT - still have nightmares about WindowsNT :)
So the point of my post is to ask for any hints and gotchas from those who have already done a similar migration, as I see there are a number of difference so it's not going to be a filesave & restore kind of migration.
We use MVSP and we shell out to Linux occasionally to kick off Bash & PHP scripts. We also use the spooler to kick off Python scripts to create PDFs and/or email reports.
Any pointers will be gratefully accepted!
Have a great weekend!
A couple of points:
It would have been nice if Basic programs were stored as separate files in a FSI directory so you can use modern tooling (git, vscode etc). Since they're also using Apache Thrift as the RPC mechanism, would be nice if that was opened to the extent of allowing external procedures to use the D3 DBMS.
You can set up BASIC files to be directories (and so have the programs directly accessible from the OS level), but there may be some drawbacks (I don't know, for example, if such configurations will include the BASIC code in D3 backups). I've tried this out, and what I do is:
CREATE-FILE DICT MY.BP 3
Then I edit the DICT MY.BP MY.BP record and replace it with this:
001: Q002:003: unix:/path/to/MY.BP
(Where "/path/to/MY.BP" is a valid directory in Linux with appropriate access permissions). With this the source code is available from the OS level and can be accessed by any tools that can get to the directory!
As I said, my disclaimer is that there may be unforeseen side effects of this, so use with caution!
Hmm..... that's very clever. Seems to work. The only side effect (I can see ATM) is that the unix directory is not saved on a file-save tape.
:CREATE-FILE DICT TMP 3
 file 'TMP' created; base = 4582432, modulo = 3:ED DICT TMP TMPtop.P001 Qeoi 001.I001+.001+unix:/tmp001+eoi 001.ftop.001 Q.002 ..r/.//002 .fi 'TMP' filed.:ED TMP TESTnew itemtop.I001+PRINT 'HELLO'002+top.FI 'TEST' filed.:BASIC TMP TESTTEST. Successful compile! 1 frame(s) used.:RUN TMP TESTHELLO
< Connect time= 7 Mins.; CPU= 0 Units; LPTR pages= 0 >[pick@vmc /]$ vi /tmp/TEST
[pick@vmc /]$ ap:BASIC TMP TESTTEST. Successful compile! 1 frame(s) used.:RUN TMP TESTHELLOWORLD
Thanks Martin !
...and if you're running hot-backup the unix dir won't be replicated.
77 4th AvenueWaltham, MA 02451 USA
Rocket Support Community
All Support Offerings
About Rocket Software
Training and Services
Forum Terms and Conditions
Contact Forum Moderator