Re: [U2] Data not seen using LIST.ITEM
On 28/01/13 21:32, Tyler L wrote: > Don, > Thank you for your reply. That is a nice thing to know. I using that I have > since found out that it is my own fault for not reading the code properly > and I have resolved the issue. Thank you very much. > I know you've solved it :-) but something else that is very useful ... Look in VOC for entries called "1" or "F1" etc. I'm not sure how far it goes by default, but I always add extras as I need them. They're default dictionary items so you can at least look at a field. In your case LIST filename F30 would probably fail with "F30 not found", but for smaller numbers it would list the field, and if you edited F1, replaced line 2 with the number 30, and saved it as F30 that command would then display the contents of field 30 for you. A useful trick ... Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Data not seen using LIST.ITEM
Don, Thank you for your reply. That is a nice thing to know. I using that I have since found out that it is my own fault for not reading the code properly and I have resolved the issue. Thank you very much. -- View this message in context: http://u2-universe-unidata.1073795.n5.nabble.com/Data-not-seen-using-LIST-ITEM-tp39775p39778.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Data not seen using LIST.ITEM
Tyler, Try using CT instead of LIST-ITEM. CT will display every line in the record including blank ones. The LIST-ITEM command skips blank lines and something may be causing it to skip 30. CT and LIST-ITEM don't use the dictionary so that's not the problem. Also, you can look at the record with ED or AE editors. Regards, Don Robinson From: Tyler44044 To: u2-users@listserver.u2ug.org Sent: Monday, January 28, 2013 4:04 PM Subject: [U2] Data not seen using LIST.ITEM Hello, Currently in the program I have, when I read values into an array called SR, if I do SR<30> it shows the correct value on the screen. 30 also corresponds with the column number in the file as well. But when I do LIST.ITEM "file" "ID number" column 30 does not appear on the screen - all the other columns do except that one. This field is updated by another program so would that effect how the file displays data? Do I need to modify the dictionary of the file to allow this data to become available? Thank you to anyone who can assist me. PS. I am new to the language of UniVerse but I have programmed for some years before so I apologize if some of my terminology is incorrect. -- View this message in context: http://u2-universe-unidata.1073795.n5.nabble.com/Data-not-seen-using-LIST-ITEM-tp39775.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Data not seen using LIST.ITEM
Hello, Currently in the program I have, when I read values into an array called SR, if I do SR<30> it shows the correct value on the screen. 30 also corresponds with the column number in the file as well. But when I do LIST.ITEM "file" "ID number" column 30 does not appear on the screen - all the other columns do except that one. This field is updated by another program so would that effect how the file displays data? Do I need to modify the dictionary of the file to allow this data to become available? Thank you to anyone who can assist me. PS. I am new to the language of UniVerse but I have programmed for some years before so I apologize if some of my terminology is incorrect. -- View this message in context: http://u2-universe-unidata.1073795.n5.nabble.com/Data-not-seen-using-LIST-ITEM-tp39775.html Sent from the U2 - Users mailing list archive at Nabble.com. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users