# Q-pointers

Updated: 10/19/2020, 10:24:56 AM
Created: 10/19/2020, 10:24:56 AM
Last Updated By: Daniel Klein
Read Time: 3 minute(s)

# Description

Due to the additional overhead of resolving Q to Q pointers which is not normally necessary in a well maintained system, an environment variable JEDIENABLEQ2Q must be set.

The use of Q to Q pointers should be discouraged.

# Note

If an ACCOUNT name does not exist in the JEDIFILENAME_SYSTEM when resolving system entries then on UNIX, the ACCOUNT is looked up in the /etc/password file. If successful then the home directory from the /etc/password file is used for SystemEntryAttr2.

# Q and F pointer Resolution

Structure Resolution
1. <1> Q
<2>
<3>
Reflexive Qpointer to MD
JEDIFILENAME_MD else HOME/MD
2. <1> Q
<2>
<3> RealFILE
Append File to HOME directory
HOME/RealFILE
3. <1> F
<2> RealFILE
<3> RealDictFILE
Append File to HOME directory
HOME/RealFILE or HOME/RealDictFile
4. <1> F
<2> RealFILE
<3> D_RealDictFILE
Append File to HOME directory
HOME/RealFILE or HOME/RealDictFile]D
5. <1> Q
<2>
<3>AnotherQ/Fpointer
Recursively look up until failure Another Qpointer or Another Fpointer in
HOME/MD or JEDIFILENAME_MD
Then resolve as 2 or 3
HOME/RealFILE
6. <1> Q
<2> SYSTEM
<3>
Qpointer to SYSTEM
JEDIFILENAME_SYSTEM
7. <1> Q
<2> SYSTEM
<3> SYSTEM
Qpointer to SYSTEM
JEDIFILENAME_SYSTEM
8. <1> Q
<2> SYSTEM
<3> RealACCOUNT
Qpointer to ACCOUNT MD
System Entry Attr2/Suffix of JEDIFILENAME_MD or SystemEntry Attr 2/MD
9. <1> Q
<2> SYSTEM
<3> QpointerACCOUNT
Qpointer to ACCOUNT MD
Recursively look up until failure QpointerACCOUNT in JEDIFILENAME_SYSTEM
Then resolve as 8.
System Entry Attr 2/Suffix of JEDIFILENAME_MD or System Entry Attr 2/MD
10. <1> Q
<2> RealACCOUNT
<3>
Qpointer to ACCOUNT MD
System Entry Attr 2/Suffix of JEDIFILENAME_MD or System Entry Attr2/MD
11. <1> Q
<2> QpointerACCOUNT
<3>
Qpointer to ACCOUNT MD
Recursively look up until failure Qpointer ACCOUNT in JEDIFILENAME_SYSTEM
Then resolve as 10
System Entry Attr 2/Suffix of JEDIFILENAME_MD or System Entry Attr 2/MD
12. <1> Q
<2> RealACCOUNT
<3> RealFile
Qpointer to ACCOUNT FILE
System Entry Attr 2/RealFILE
13. <1> Q
<2> QpointerACCOUNT
<3> RealFile
Qpointer to ACCOUNT FILE
Recursively look up until failure Qpointer ACCOUNT in JEDIFILENAME_SYSTEM
Then resolve as 12
System Entry Attr 2/RealFILE
14. <1> Q
<2> RealACCOUNT
<3> AnotherQ/Fpointer
Qpointer to ACCOUNT FILE
Recursively look up until failure Another Qpointer or Another Fpointer in System Entry Attr 2/Suffix of JEDIFILENAME_MD or System Entry Attr 2/MD
Then resolve as 12
15. <1> Q
<2> QpointerACCOUNT
<3> AnotherQ/Fpointer
Qpointer to ACCOUNT FILE
Recursively look up until failure Qpointer ACCOUNT in JEDIFILENAME_SYSTEM
Recursively look up until failure Another Qpointer or Another FPointer in System Entry Attr 2/Suffix of JEDIFILENAME_MD or System Entry Attr 2/MD
Then resolve as 12
16. <1> Q
<2> ACCOUNT
<3> RealFILE,SECTION
Qpointer to ACCOUNT FILE,SECTION
System Entry Attr 2/FILE]MSECTION
17. <1> Q
<2> ACCOUNT
<3> AnotherQ/Fpointer,SECTION
Qpointer to ACCOUNT FILE,SECTION
Recursively look up until failure Another Qpointer or Another Fpointer in System Entry Attr 2/Suffix of JEDIFILENAME_MD or System Entry Attr 2/MD
Then resolve as 16
System Entry Attr 2/FILE]MSECTION
18. <1> Q
<2> Remote Account
<3> Remote File
Remote Q pointer for use with the jBASE Remote file service. See jRFS
19. <1> QL
<2> Remote Account
<3> Remote File
Remote Q pointer for use with the jBASE Remote file service. See jRFS . The L indicates that updates to remote file are not Logged.
20. <1> F
<2> /absolute/path/for/DATA
<3> /absolute/path/for/DICT
Fpointer to absolute file
/absolute/path/for/DATA

Back to Accounts