![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In case you think I'm an old pickie and this should be a piece of cake for me, I'll confess that until now I have always had teams of people working for me in the pick arena, so I don't know what most pick developers know. |
#3
| |||
| |||
|
#4
| |||||
| |||||
|
|
1. I haven't looked it up for any particular db, but is there a standard longest field across pick environments? (An actual dtabase storage restriction) |
|
I would like the database to work in openQM and UniData, but would also like it to be compatible with the others -- UniVerse, Revelation, jBASE, D3, UniVision if I ever made the application work with those. |
|
2. I realize the FMT is for display, not storage size, but is there a maximum in the FMT in the dictionary, such as FMT(99999T)? |
|
3. Are there performance implications if I make a long single-valued text field instead of multivalued short lines of text? Other implications? |
|
4. These questions might not even be the right ones, so what do you consider to be "best practices" related to long text fields in an MV environment where the application code will be in languages other than DataBASIC (e.g. PHP), retrieving data using a dictionary definition. |
#5
| |||
| |||
|
|
dawn wrote: In case you think I'm an old pickie and this should be a piece of cake for me, I'll confess that until now I have always had teams of people working for me in the pick arena, so I don't know what most pick developers know. I want to live "in theory". Everything works there. lol. |
|
-- Kevin Powick |
#6
| |||||
| |||||
|
|
Dawn, When you describe your LONG text fields as 60T, you mean 60 characters long that automatically folds - (on display) at a convenient and appropriate space, right ? You don't mean 60 terrabytes. |
|
60 characters is not very long. I support an application that routinely passes a large dynamic array to subroutines to append additional lines of specially formatted text for a report. The author has limited this array to a maximum of 1000 lines for some reason. Not sure why. Maybe performance. |
|
I often pass some data to a subroutine that might or might not have value or sub-value marks. It might even have attribute marks. I've never had a problem passing arrays of any size. I know the first time I worked on a very large dynamic array on AP-PRO, it took a lot of time to process the array since I was extracting a value then deleting it then extracting another value and so on. Searches of long arrays were very slow. The delete was even slower. I don't know what sort of thing you are trying to accomplish, but it's common for me to write a program that creates a very text file that I separate the fields with tabs and I sometimes embed EXCEL formulas in the fields. When Excel opens the file, it will interpret the formulas as though they were entered. |
|
I've even written programs to develop web pages, but I've never published them directly to a browser, I always write them to a DOS file and use them that way. I took COBOL in college long ago. I even worked on some COBOL programs when I worked at NCR back in the stone age. Before this, shortly after I got out of the USMC, I applied for a job at a VOLT agency in Phoenix. The contact there was talking about COBALT this and COBALT that. I knew the difference, but since I figured he was just stupid, I did not see the need to correct him. I should have corrected him since he used that lack as a reason to state that I did not know COBOL if I could not even say the name properly. |
|
Oh well, I guess the age of being considerate was over about then. Larry |
#7
| |||||||
| |||||||
|
|
Here are the QM answers.... dawn wrote: 1. I haven't looked it up for any particular db, but is there a standard longest field across pick environments? (An actual dtabase storage restriction) QM will support strings up to 2Gb throughout. Of course, you probably run out of other resources before you hit this limit. |
|
I would like the database to work in openQM and UniData, but would also like it to be compatible with the others -- UniVerse, Revelation, jBASE, D3, UniVision if I ever made the application work with those. As an aid to cross-platform portability, QM always sets a define token named QM. Thus you can insert code such as $ifdef QM ...qm stuff... $else ... non-qm stuff... $endif How nice it would be if the other vendors did this too. |
|
2. I realize the FMT is for display, not storage size, but is there a maximum in the FMT in the dictionary, such as FMT(99999T)? Contrary to its general design policy, QM does impose a limit here of 4096 characters. |
|
If someone came up with a realistic reason to want this to be bigger, I'm sure we would do it. |
|
3. Are there performance implications if I make a long single-valued text field instead of multivalued short lines of text? Other implications? This all depends what you are trying to do. A bit more information would help. Mutlivalueness (new word) is usually determined by the nature of the data, not some arbitary string length consideration. |
|
4. These questions might not even be the right ones, so what do you consider to be "best practices" related to long text fields in an MV environment where the application code will be in languages other than DataBASIC (e.g. PHP), retrieving data using a dictionary definition. An explanation of what this long data represents would be useful. |
| Martin Phillips, Ladybridge Systems. |
#8
| |||
| |||
|
|
I'm planning to actually code (!) in openQM and UniData beginning in January. I'm doing design and experimenting now. In case you think I'm an old pickie and this should be a piece of cake for me, I'll confess that until now I have always had teams of people working for me in the pick arena, so I don't know what most pick developers know. (I did my time in heads-down development a coupla decades ago in CICS COBOL.) So now I have some very basic (no pun intended) questions, starting with this one. I have worked with a UniData product that has long text fields (such as comment fields) as multvalued with formats like 60T. If I want to pass the text as a full string without any value marks, I could replace the value marks with a space, but I would think I could define a long single-valued field instead to eliminate the need for that. 1. I haven't looked it up for any particular db, but is there a standard longest field across pick environments? (An actual dtabase storage restriction) I would like the database to work in openQM and UniData, but would also like it to be compatible with the others -- UniVerse, Revelation, jBASE, D3, UniVision if I ever made the application work with those. 2. I realize the FMT is for display, not storage size, but is there a maximum in the FMT in the dictionary, such as FMT(99999T)? 3. Are there performance implications if I make a long single-valued text field instead of multivalued short lines of text? Other implications? 4. These questions might not even be the right ones, so what do you consider to be "best practices" related to long text fields in an MV environment where the application code will be in languages other than DataBASIC (e.g. PHP), retrieving data using a dictionary definition. Thanks in advance for any help. --dawn |
#9
| |||
| |||
|
|
I'm planning to actually code (!) in openQM and UniData beginning in January. I'm doing design and experimenting now. In case you think I'm an old pickie and this should be a piece of cake for me, I'll confess that until now I have always had teams of people working for me in the pick arena, so I don't know what most pick developers know. (I did my time in heads-down development a coupla decades ago in CICS COBOL.) So now I have some very basic (no pun intended) questions, starting with this one. I have worked with a UniData product that has long text fields (such as comment fields) as multvalued with formats like 60T. If I want to pass the text as a full string without any value marks, I could replace the value marks with a space, but I would think I could define a long single-valued field instead to eliminate the need for that. 1. I haven't looked it up for any particular db, but is there a standard longest field across pick environments? (An actual dtabase storage restriction) I would like the database to work in openQM and UniData, but would also like it to be compatible with the others -- UniVerse, Revelation, jBASE, D3, UniVision if I ever made the application work with those. 2. I realize the FMT is for display, not storage size, but is there a maximum in the FMT in the dictionary, such as FMT(99999T)? 3. Are there performance implications if I make a long single-valued text field instead of multivalued short lines of text? Other implications? 4. These questions might not even be the right ones, so what do you consider to be "best practices" related to long text fields in an MV environment where the application code will be in languages other than DataBASIC (e.g. PHP), retrieving data using a dictionary definition. Thanks in advance for any help. --dawn |
#10
| |||
| |||
|
|
I'm planning to actually code (!) in openQM and UniData beginning in January. I'm doing design and experimenting now. In case you think I'm an old pickie and this should be a piece of cake for me, I'll confess that until now I have always had teams of people working for me in the pick arena, so I don't know what most pick developers know. (I did my time in heads-down development a coupla decades ago in CICS COBOL.) So now I have some very basic (no pun intended) questions, starting with this one. I have worked with a UniData product that has long text fields (such as comment fields) as multvalued with formats like 60T. If I want to pass the text as a full string without any value marks, I could replace the value marks with a space, but I would think I could define a long single-valued field instead to eliminate the need for that. 1. I haven't looked it up for any particular db, but is there a standard longest field across pick environments? (An actual dtabase storage restriction) I would like the database to work in openQM and UniData, but would also like it to be compatible with the others -- UniVerse, Revelation, jBASE, D3, UniVision if I ever made the application work with those. 2. I realize the FMT is for display, not storage size, but is there a maximum in the FMT in the dictionary, such as FMT(99999T)? 3. Are there performance implications if I make a long single-valued text field instead of multivalued short lines of text? Other implications? 4. These questions might not even be the right ones, so what do you consider to be "best practices" related to long text fields in an MV environment where the application code will be in languages other than DataBASIC (e.g. PHP), retrieving data using a dictionary definition. Thanks in advance for any help. --dawn |
![]() |
| Thread Tools | |
| Display Modes | |
| |