< Go Back


Converting from Generic PICK to jBASE

This is an extremely simplified example of just one way to convert from  Generic PICK to jBASE.  This does not take advantage of many of the advanced features of jBASE, however this will create a functional system and is included simply as an example.  Please call us if you plan on undertaking this conversion and our staff can aid in all aspects from program and proc conversion to data loading.  We assume you have already loaded jBASE and accepted defaults. 

1.) Add new user
    useradd –m –s /bin/ksh jbase_accts
 
2.) Set password for new user
     passwd jbase_accts
 
3.) Change unix user to a jbase user
     login as jbase_accts <-- or whatever unix user you just created
     /usr/jbc/bin/IJU (take all defaults)
 
4.) Attach device containing accounts
     t-att FLOPPY0 device=/virtualfloppyname label=R83,500 - D3
 
5.) Restore the accounts
     sysrestore
 
6.) Change permissions so all users can access the new accounts
    chmod -R 775 * 

7.) Create SYSTEM pointer for all the accounts
    SELECT . # ".]"         <-- selects all the new accounts
    ED /usr/jbc/src/SYSTEM
            or...
    ED /usr/jbc/src/SYSTEM account1 account2 <-- for all accounts
    New record
    account1  <-- or whatever account is being edited
    .I
    001+D
    002+/home/jbase_accts/account1  <-- account edited
    003+
    .FI
    Record 'account1' written to file '/usr/jbc/src/SYSTEM' 

8.) Now three separate options to BASIC/CATALOG programs

a. LOGTO an account that QPOINTS to programs
        logto account1 <-- account with QPOINTS to programs
        UpdateMD
        BASIC BP <-- program filename
        CATALOG BP <-- program filename

b. LOGTO each account with programs (repeat for each)
        logto account1 <-- account with programs
        UpdateMD
        BASIC BP <-- program file name
        CATALOG BP <-- program filename

c. Either option a or option b and these added steps before BASIC
        JBCDEV_BIN = "/Path/for/exe" <-- path to EXE (program) items
        JBCDEV_LIB = "/Path/for/libs" <-- path for .so (subroutine) items
        Then... BASIC and CATALOG the files           

9.) Add users who will be using the system or just one to be shared
     useradd –m –s /bin/ksh -G jbase_accts pick <-- user name
     set password and convert to jBASE user as in step 2 and 3
     repeat for all the users
     Add LOGTO account to the .profile near the bottom as commented
                            ^ whatever account you want to start in


Extra Notes....

    Be sure to create a POINTER-FILE where you want to store lists.
    This may be in each account or globally Q-POINTED to one shared


 

 

 


Related Links

Contact Support
jBASE technical support is manned by personnel located all over the globe.   jBASE Support will be glad to assist in resolving your technical problems.

Search the Knowledgebase
Search for answers and information in the jBASE Knowledgebase. Maintained online by the jBASE support team, this is the best place for information about jBASE software.

 Documentation
The entire jBASE documentation set is maintained on-line by jBASE technical authors, developers and support staff. This is the most up to date reference material available. The jBASE Manual Set can be downloaded in PDF format.

jBASE Discussion Group
We have created a Google group for peer discussion about jBASE (this was formerly known as the jBASE Tech List).  If you have questions about who's doing what with jBASE check the Google group for answers!


Downloads
Free evaluation licenses are available for jBASE International products.  These are complete, working versions of our available software.  

Platform Availability
A list of supported tools and operating systems for use with jBASE software.