dbTalk Databases Forums  

What do you use on UniVerse for editing code?

comp.databases.pick comp.databases.pick


Discuss What do you use on UniVerse for editing code? in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
panzerboy@gmail.com
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-09-2006 , 06:16 PM







panzerboy (AT) gmail (DOT) com wrote:
Quote:
Ummm.... How can I tell what the file type is on Universe? Group.Stat
doesnt work for type 1,13 & 19 files. If I had access to the Sys admin
tools I guess I could tell but they run on a PC (somewhere) from what I
can see on the docs. This is a remote site that I dial into.
The Documentation that I have are PDF's downloaded from IBM. Dont know
if there for the correct version or not.
I can answer my own question. Twas searching for 0 length files in the
BP and found one
".Type1". I guess my BP file is a Type 1 then.

Jeremy Thomson



Reply With Quote
  #22  
Old   
Bruce Nichol
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-09-2006 , 08:05 PM






On 9 Nov 2006 16:16:50 -0800, panzerboy (AT) gmail (DOT) com wrote:

Quote:
panzerboy (AT) gmail (DOT) com wrote:
Ummm.... How can I tell what the file type is on Universe? Group.Stat
doesnt work for type 1,13 & 19 files. If I had access to the Sys admin
tools I guess I could tell but they run on a PC (somewhere) from what I
can see on the docs. This is a remote site that I dial into.
The Documentation that I have are PDF's downloaded from IBM. Dont know
if there for the correct version or not.

I can answer my own question. Twas searching for 0 length files in the
BP and found one
".Type1". I guess my BP file is a Type 1 then.
Careful! AFAIK, .".Type..." items in files only seem to apply to
Type 1 OS-level files. There could be other files with ".Type"
item files, but I couldn't find any.....

Best to run with LISTF which shows *all* types

Quote:
Jeremy Thomson
Regards,

Bruce Nichol
Talon Computer Services
ALBURY NSW Australia

If it ain't broke, fix it until it is...



Reply With Quote
  #23  
Old   
Chandru Murthi
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-09-2006 , 09:26 PM



All BASIC program files must be Type 1 or 19.
LISTFILES should show type.

To prevent the truncation, set new file types to 19.
Also use LONGNAMES ON

To change an existing file, you will have to create a new file, copy data,
delete old, and rename new. Note that the rename has to be done at Unix with
mv oldfile newfile; mv D_oldfile D_newfile and you have to edit the VOC
entry or some combination thereof. Frigging pita. But at least it's pretty
obvious.

Chandru


<panzerboy (AT) gmail (DOT) com> wrote

Quote:
panzerboy (AT) gmail (DOT) com wrote:
Ummm.... How can I tell what the file type is on Universe? Group.Stat
doesnt work for type 1,13 & 19 files. If I had access to the Sys admin
tools I guess I could tell but they run on a PC (somewhere) from what I
can see on the docs. This is a remote site that I dial into.
The Documentation that I have are PDF's downloaded from IBM. Dont know
if there for the correct version or not.

I can answer my own question. Twas searching for 0 length files in the
BP and found one
".Type1". I guess my BP file is a Type 1 then.

Jeremy Thomson




Reply With Quote
  #24  
Old   
Colin Alfke
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-10-2006 , 12:16 AM



UniData doesn't have LONGNAMES - but then it doesn't do anything to munge
the file names so it doesn't need it.

hth
Colin Alfke
Calgary Canada

"Chandru Murthi" wrote in message news:NSG4h.4096$qJ6.468 (AT) trndny07 (DOT) ..
Quote:
panzerboy> wrote in message
news:1163039857.411673.58790 (AT) h54g2000cwb (DOT) googlegroups.com...

[]
The files may be editable in the directory but...
If your program names are 14 chars or longer then it creates the file
in a subdirectory in the BP directory. So item "REALLYLONGITEMNAME" at
unix is BP/REALLYLONGITEM/NAME . If the item lenght is 14 chars then
the 'leaf' name is '?'
I regularly ftp in my programs and have to create these directories &
sub files in order to access them in Universe.
I dont know which version of Universe I'm afflicted with, it is running
on Solaris.
It seems a strange thing to do, whats the advantage of this
directory/file structure?
Universe does a similar thing with the file names, file
"REALLYLONGFILENAME" becomes something like REALLYLONGF000 at the Unix
level.

No, not unless you forget to turn LONGNAMES ON (which, knowing the
screwed-up way things work, is probably off by default.) Maybe Unidata has
something similar, if they don't it's a prime (pun not intended) example
of
how out-of-touch systems programmers are.

Chandru

The editor I use is EditPlus, and UV.VI when on that damned Universe
machine.

Jeremy Thomson






Reply With Quote
  #25  
Old   
Ron White
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-10-2006 , 08:23 AM



Chandru Murthi wrote:
Quote:
All BASIC program files must be Type 1 or 19.
LISTFILES should show type.

To prevent the truncation, set new file types to 19.
Also use LONGNAMES ON

To change an existing file, you will have to create a new file, copy data,
delete old, and rename new. Note that the rename has to be done at Unix with
mv oldfile newfile; mv D_oldfile D_newfile and you have to edit the VOC
entry or some combination thereof. Frigging pita. But at least it's pretty
obvious.

Chandru


panzerboy (AT) gmail (DOT) com> wrote in message
news:1163117809.981733.143260 (AT) h48g2000cwc (DOT) googlegroups.com...
panzerboy (AT) gmail (DOT) com wrote:
Ummm.... How can I tell what the file type is on Universe? Group.Stat
doesnt work for type 1,13 & 19 files. If I had access to the Sys admin
tools I guess I could tell but they run on a PC (somewhere) from what I
can see on the docs. This is a remote site that I dial into.
The Documentation that I have are PDF's downloaded from IBM. Dont know
if there for the correct version or not.
I can answer my own question. Twas searching for 0 length files in the
BP and found one
".Type1". I guess my BP file is a Type 1 then.

Jeremy Thomson



You can change the file from type1 to type19 by
using the RESIZE verb. Backup the file before
resizing, because lost data can ruin your whole day. :-)

Filename........................... Pathname...................... Type
Modulo


DATA TESTFILE TESTFILE
1 1


Quote:
resize
File name = TESTFILE
File type = 19
Quote:
LISTF

FILES in your vocabulary 08:12:34am 10 Nov 2006
Page 1





Filename........................... Pathname...................... Type
Modulo


DATA TESTFILE TESTFILE 19

1



Ron White

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access


Reply With Quote
  #26  
Old   
Chandru Murthi
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-10-2006 , 08:49 AM



Not quite -- I believe if the object is to eliminate the subdirectories,
RESIZE file 19 will not. You have to create the file as 19 (maybe even with
LONGNAMES off) and rename it. But then, it may be different on different
releases, I am on 10.2

Chandru

"Ron White" <ron (AT) eckel (DOT) com> wrote

Quote:
Chandru Murthi wrote:
All BASIC program files must be Type 1 or 19.
LISTFILES should show type.

To prevent the truncation, set new file types to 19.
Also use LONGNAMES ON

To change an existing file, you will have to create a new file, copy
data, delete old, and rename new. Note that the rename has to be done at
Unix with mv oldfile newfile; mv D_oldfile D_newfile and you have to
edit the VOC entry or some combination thereof. Frigging pita. But at
least it's pretty obvious.

Chandru


panzerboy (AT) gmail (DOT) com> wrote in message
news:1163117809.981733.143260 (AT) h48g2000cwc (DOT) googlegroups.com...
panzerboy (AT) gmail (DOT) com wrote:
Ummm.... How can I tell what the file type is on Universe? Group.Stat
doesnt work for type 1,13 & 19 files. If I had access to the Sys admin
tools I guess I could tell but they run on a PC (somewhere) from what I
can see on the docs. This is a remote site that I dial into.
The Documentation that I have are PDF's downloaded from IBM. Dont know
if there for the correct version or not.
I can answer my own question. Twas searching for 0 length files in the
BP and found one
".Type1". I guess my BP file is a Type 1 then.

Jeremy Thomson



You can change the file from type1 to type19 by
using the RESIZE verb. Backup the file before
resizing, because lost data can ruin your whole day. :-)

Filename........................... Pathname...................... Type
Modulo


DATA TESTFILE TESTFILE 1 1

resize
File name = TESTFILE
File type = 19
LISTF


FILES in your vocabulary 08:12:34am 10 Nov 2006 Page
1





Filename........................... Pathname...................... Type
Modulo


DATA TESTFILE TESTFILE 19
1



Ron White

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access



Reply With Quote
  #27  
Old   
Ron White
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-10-2006 , 09:09 AM



I tried it on 10.1.3. It appears that
LONGNAMES was already set in the account
so that invalidates the test.

Ron

Chandru Murthi wrote:
Quote:
Not quite -- I believe if the object is to eliminate the subdirectories,
RESIZE file 19 will not. You have to create the file as 19 (maybe even with
LONGNAMES off) and rename it. But then, it may be different on different
releases, I am on 10.2

Chandru

"Ron White" <ron (AT) eckel (DOT) com> wrote in message
news:45548b70$0$11385$b9f67a60 (AT) news (DOT) newsdemon.com...
Chandru Murthi wrote:
All BASIC program files must be Type 1 or 19.
LISTFILES should show type.

To prevent the truncation, set new file types to 19.
Also use LONGNAMES ON

To change an existing file, you will have to create a new file, copy
data, delete old, and rename new. Note that the rename has to be done at
Unix with mv oldfile newfile; mv D_oldfile D_newfile and you have to
edit the VOC entry or some combination thereof. Frigging pita. But at
least it's pretty obvious.

Chandru


panzerboy (AT) gmail (DOT) com> wrote in message
news:1163117809.981733.143260 (AT) h48g2000cwc (DOT) googlegroups.com...
panzerboy (AT) gmail (DOT) com wrote:
Ummm.... How can I tell what the file type is on Universe? Group.Stat
doesnt work for type 1,13 & 19 files. If I had access to the Sys admin
tools I guess I could tell but they run on a PC (somewhere) from what I
can see on the docs. This is a remote site that I dial into.
The Documentation that I have are PDF's downloaded from IBM. Dont know
if there for the correct version or not.
I can answer my own question. Twas searching for 0 length files in the
BP and found one
".Type1". I guess my BP file is a Type 1 then.

Jeremy Thomson


You can change the file from type1 to type19 by
using the RESIZE verb. Backup the file before
resizing, because lost data can ruin your whole day. :-)

Filename........................... Pathname...................... Type
Modulo


DATA TESTFILE TESTFILE 1 1

resize
File name = TESTFILE
File type = 19
LISTF

FILES in your vocabulary 08:12:34am 10 Nov 2006 Page
1





Filename........................... Pathname...................... Type
Modulo


DATA TESTFILE TESTFILE 19
1



Ron White

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access


--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access


Reply With Quote
  #28  
Old   
Bob Little
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-11-2006 , 07:35 AM



Albert D. Kallal wrote:
Quote:
On a UnvVerse box, what do you folks use (I *think* it is running on a sun
box, but I could be wrong).

Is there an editor for UniVerse?
I suppose I could download the eval versions of Universe from IBM's site....

This one comes up from time to time, and I always love to see the many
editors people use I haven't heard of.

At work on UV/Windows I use TextPad or JEdit.
At home UV.PE/Linux I use UV.VI.
I have also installed the XLr8 Editor in both places, though I have yet
to get it to successfully register itself on my Linux box so it's
unusable when I'm in Linux.

-bob


Reply With Quote
  #29  
Old   
mvdbman
 
Posts: n/a

Default Re: What do you use on UniVerse for editing code? - 11-14-2006 , 10:31 AM



Not just for U2 but for other "flavors" of MV as well, I have used
CrimsonEditor. It has almost all the features of UltraEdit (which is a
very good general purpose full screen editor with syntax highlighting,
FTP, side-by-side code compare, etc.) and, unlike Ultredit,
CrimsonEditor is FREE. There is a syntax file that has been .ZIPped
that contains three files needed for MV syntax highlighting and they
are available on the website as well. The URL is: www.crimsoneditor.com

Albert D. Kallal wrote:
Quote:
I might be done some work on a UniVerse box.

When I use a pick box, I use update, and I can't really work will with the
old "line editor"

Even many moons ago, I would use JET on r83, and on Ultimate boxes, I would
execute a "term" command, and use the wp-in command.

On a UnvVerse box, what do you folks use (I *think* it is running on a sun
box, but I could be wrong).

Is there an editor for UniVerse?
I suppose I could download the eval versions of Universe from IBM's site....

I am curious what you folks use (or, better said, what kind of full screen
editor can I expect to find on this box?).

--
Albert D. Kallal
Edmonton, Alberta Canada
pleaseNOOSpamKallal (AT) msn (DOT) com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.