Re: [U2] UniVerse On RedHat?

2010-11-09 Thread inquieti

Hi Bill
Just to add my twopence worth:-
1 RedHat is excellent but it's best to use the Enterprise version or you may
run into problems (ran out of inodes on the normal version)
2 It's always best to re-compile and re-catalog anyway.  Also, you will need
to fnuxi the files beforehand.
3 Went from HP to RedHat and the main problems we had were in the System
Builder application.
4 See 1 above
5 Never tried, not supported by U2
6 Loads, also lots of things to do before migrating
7 Let me have an e-mail address and when I get home tonight I'll send you a
check sheet of things to do to ease migration

Bill Brutzman-2 wrote:
 
 0. We are considering migrating from HP-Ux to RedHat.
 1. How is RedHat?
 2. Will I have to re-compile and re-catalog everything?
 3. Did anyone migrate from HP-Ux to RedHat and then back to HP-Ux?
 4. Is the RedHat Standard Edition Suitable?
 5. Did anyone try running UV on RedHat on an HP Integritity (Itanium)
 server?
 6. Are there any gotchas?
 7. Insights and hind-sights would be appreciated.
 
 --Bill
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 

-- 
View this message in context: 
http://old.nabble.com/UniVerse-On-RedHat--tp30145299p30169318.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] Accuterm Historical question

2010-11-09 Thread Barry Rogen
And let's not forget that oldie but goodie  AccuPlot on the old Ultimate 
systems.

Barry Rogen
Senior Programmer/Analyst
973  560-5327
bro...@pny.com
-
We are continually faced with great opportunities
brilliantly disguised as insoluble problems.
 John W Gardner

 Before printing please think about your environmental responsibility

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Schellenbach
Sent: Thursday, November 04, 2010 5:47 PM
To: U2 Users List
Subject: Re: [U2] Accuterm Historical question

Hi Charles -

AccuTerm is an independent project - the original DOS version was released in 
1989, and it has been updated many times over the years, to its current 
incarnation as AccuTerm 7. Hope you are enjoying the product!

Thanks,

Peter Schellenbach
p...@asent.com


At 01:14 PM 11/4/2010, you wrote:
I recently started using Accuterm.  When I checked out the multivalue
stuff, a bell went off.  FTTCL reminds me of something I fooled with a
long time ago.  Did Accuterm come out of an earlier software package?
WIN something?

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
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


NOT INTENDED AS A SUBSTITUTE FOR A WRITING

NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A PART, OR IN 
ANY ATTACHMENTS THERETO, SHALL CONSTITUTE A BINDING CONTRACT, OR ANY 
CONTRACTUAL OBLIGATION BY PNY, OR ANY INTENT TO ENTER INTO ANY BINDING 
OBLIGATIONS, NOTWITHSTANDING ANY ENACTMENT OF THE UNIFORM ELECTRONIC 
TRANSACTIONS ACT, THE FEDERAL  E-SIGN ACT, OR ANY OTHER STATE OR FEDERAL LAW OF 
SIMILAR SUBSTANCE OR EFFECT.  THIS EMAIL MESSAGE, ITS CONTENTS AND ATTACHMENTS 
ARE NOT INTENDED TO REPRESENT AN OFFER OR ACCEPTANCE OF AN OFFER TO ENTER INTO 
A CONTRACT.  NOTHING IN THIS E-MAIL, IN ANY E-MAIL THREAD OF WHICH IT MAY BE A 
PART, OR IN ANY ATTACHMENTS THERETO SHALL ALTER THIS DISCLAIMER.
This e-mail message from PNY Technologies, Inc. is for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
Any unauthorized review, use, disclosure or distribution is prohibited. If you 
are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.
__
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Index based on an I desc of TRANS data

2010-11-09 Thread George Gallen
I just created an Index on a fairly large file based on an I Desc.

The IDESC is combination of Concatenating 5 TRANS()'d fields.

After the index was built, it works greatbut just curious, Will the
index get updated automatically, when the source file's data changes?
(remember, the index is based on TRANS'd data), Or
will I need to periodically rebuild the index, which in itself wouldn't be an
issue as the source file doesn't change very often.

This is on UV.

George


George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Index based on an I desc of TRANS data

2010-11-09 Thread Wols Lists
On 09/11/10 20:47, George Gallen wrote:
 I just created an Index on a fairly large file based on an I Desc.

 The IDESC is combination of Concatenating 5 TRANS()'d fields.

 After the index was built, it works greatbut just curious, Will the
 index get updated automatically, when the source file's data changes?

A GREAT BIG NO!

 (remember, the index is based on TRANS'd data), Or
 will I need to periodically rebuild the index, which in itself wouldn't be an
 issue as the source file doesn't change very often.

The index will get updated every time the record changes, but it won't
know data in other files (the trans'd stuff) has changed.

What you *might* be able to do, is every time a record in the source
file changes, have a trigger-type routine (maybe in an index itself :-)
that selects all the records in the target file that depend on that
record, and does a quickie read and write. That will ensure that the
index will pick up all the records it should. What it will not do is
ensure that it doesn't pick up records it shouldn't - because although
the write will trigger a new entry in the new index, it won't be able to
determine what the old entry was to remove it ...

Cheers,
Wol

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Index based on an I desc of TRANS data

2010-11-09 Thread Dave Davis
It will not get updated automatically.  That would be magic.

For that to happen the index must be based entirely on the contents of the 
record and/or record id.

Things like that I would tend to build the index on the key to the TRANS'd 
data, and maybe have another index on the field in the secondary file.  An 
invoice file with a field that shows the customer name for example.  You could 
index the customer name in the customer file, the customer key in the invoice 
file.  Find the list of customer keys for a customer name, and use that to get 
a list of invoice records using the customer keys.

But if you've got, for example, an index based on the words in the record, and 
you have a list of words you want to ignore (not build an index for) stored in 
another file - that would be a case where the source doesn't change very 
often and you would want to bring the system down to rebuild the index.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: Tuesday, November 09, 2010 3:47 PM
To: U2 Users List
Subject: [U2] Index based on an I desc of TRANS data

I just created an Index on a fairly large file based on an I Desc.

The IDESC is combination of Concatenating 5 TRANS()'d fields.

After the index was built, it works greatbut just curious, Will the
index get updated automatically, when the source file's data changes?
(remember, the index is based on TRANS'd data), Or
will I need to periodically rebuild the index, which in itself wouldn't be an
issue as the source file doesn't change very often.

This is on UV.

George


George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
html
body
 Dave Davis Team Lead, Ramp;D P: 614-875-4910 
x108 F: 614-875-4088 E: dda...@harriscomputer.com 
[http://www.harriscomputer.com/images/signatures/HarrisSchools.gif] 
[http://www.harriscomputer.com/images/signatures/DivisionofHarris.gif]
 6110 Enterprise Parkway Grove City, OH 43123 www.harris-schoolsolutions.com 
This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential
 or otherwise legally exempt from disclosure. If you are not the named 
addressee, you are not authorized to read, print, retain, copy or disseminate 
this message or any part of it. If you have received this message in error, 
please notify the sender immediately
 by e-mail and delete all copies of the message.
/body
/html
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Index based on an I desc of TRANS data

2010-11-09 Thread George Gallen
I didn't think so

It's not worth the trigger route. The data isn't used on a daily basis,
and when it used, it's not an issue to delete and rebuild the index. For
the 3 minutes it takes to build the index, it will make life much easier
when we are using that field to do manual searches.

A manual search without the index takes a little over a minute
with the index, about 2 seconds

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Tuesday, November 09, 2010 3:55 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] Index based on an I desc of TRANS data
 
 On 09/11/10 20:47, George Gallen wrote:
  I just created an Index on a fairly large file based on an I Desc.
 
  The IDESC is combination of Concatenating 5 TRANS()'d fields.
 
  After the index was built, it works greatbut just curious, Will
 the
  index get updated automatically, when the source file's data changes?
 
 A GREAT BIG NO!
 
  (remember, the index is based on TRANS'd data), Or
  will I need to periodically rebuild the index, which in itself
 wouldn't be an
  issue as the source file doesn't change very often.
 
 The index will get updated every time the record changes, but it won't
 know data in other files (the trans'd stuff) has changed.
 
 What you *might* be able to do, is every time a record in the source
 file changes, have a trigger-type routine (maybe in an index itself :-)
 that selects all the records in the target file that depend on that
 record, and does a quickie read and write. That will ensure that the
 index will pick up all the records it should. What it will not do is
 ensure that it doesn't pick up records it shouldn't - because although
 the write will trigger a new entry in the new index, it won't be able
 to
 determine what the old entry was to remove it ...
 
 Cheers,
 Wol
 
 ___
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Index based on an I desc of TRANS data

2010-11-09 Thread Bob Woodward
With a 3 minute build time of the index, you might be able to do a timed
process, like every 6 hours, to keep it fairly current.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: Tuesday, November 09, 2010 1:03 PM
To: U2 Users List
Subject: Re: [U2] Index based on an I desc of TRANS data

I didn't think so

It's not worth the trigger route. The data isn't used on a daily basis,
and when it used, it's not an issue to delete and rebuild the index. For
the 3 minutes it takes to build the index, it will make life much easier
when we are using that field to do manual searches.

A manual search without the index takes a little over a minute
with the index, about 2 seconds

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Tuesday, November 09, 2010 3:55 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] Index based on an I desc of TRANS data
 
 On 09/11/10 20:47, George Gallen wrote:
  I just created an Index on a fairly large file based on an I Desc.
 
  The IDESC is combination of Concatenating 5 TRANS()'d fields.
 
  After the index was built, it works greatbut just curious, Will
 the
  index get updated automatically, when the source file's data
changes?
 
 A GREAT BIG NO!
 
  (remember, the index is based on TRANS'd data), Or
  will I need to periodically rebuild the index, which in itself
 wouldn't be an
  issue as the source file doesn't change very often.
 
 The index will get updated every time the record changes, but it won't
 know data in other files (the trans'd stuff) has changed.
 
 What you *might* be able to do, is every time a record in the source
 file changes, have a trigger-type routine (maybe in an index itself
:-)
 that selects all the records in the target file that depend on that
 record, and does a quickie read and write. That will ensure that the
 index will pick up all the records it should. What it will not do is
 ensure that it doesn't pick up records it shouldn't - because although
 the write will trigger a new entry in the new index, it won't be able
 to
 determine what the old entry was to remove it ...
 
 Cheers,
 Wol
 
 ___
___
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


Re: [U2] Index based on an I desc of TRANS data

2010-11-09 Thread George Gallen
There is only 1 program that updates the source file, I was going to add an
execute to the end of it, to build the index when it's done. No programs
access the source file during the course of a normal day, so if an exclusive
lock gets created on it, it won't hold any other processes up. 

In this case, it would be fine. Also considering the phantom that runs the
program runs at 5:00am and no one is on the system anyway. I was concerned
that having the index on the other file (which trans to the source file)
would slow down the program that updates the source file, but since it doesn't
that's even better. 

George

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Bob Woodward
 Sent: Tuesday, November 09, 2010 4:32 PM
 To: U2 Users List
 Subject: Re: [U2] Index based on an I desc of TRANS data
 
 With a 3 minute build time of the index, you might be able to do a
 timed
 process, like every 6 hours, to keep it fairly current.
 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Strange index issue (nothing to do with last question)

2010-11-09 Thread George Gallen
I copied a UV account from an NT system to a Unix UV system to do some testing.
First I had to update the account because the versions were different, no 
problem
Then I compiled the programs, and recatalog anything that needed to be 
cataloged.

OK. Then... I tried to create an index on one of the files and got the 
following:

Unable to open index map D:/./ACCOUNTNAME/I_FILENAME/INDEX.MAP for 
read/write.

OKwhere/how do I reset this account so it no longer thinks it's on the NT 
system?

I tried to DELETE.INDEX on the file, but it says there are no indexes, and 
there isn't an I_ file
in the account.



George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Strange index issue (nothing to do with last question)

2010-11-09 Thread Robert Porter
Check out the SET.INDEX command...
 
SET.INDEX filename TO NULL
 
Robert
 
Robert F. Porter, MCSE, CCNA, ZCE
Lead Sr. Programmer / Analyst
Laboratory Information Services
Ochsner Health System
 
 
 
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.


 George Gallen ggal...@wyanokegroup.com 11/9/2010 3:50 PM 
I copied a UV account from an NT system to a Unix UV system to do some testing.
First I had to update the account because the versions were different, no 
problem
Then I compiled the programs, and recatalog anything that needed to be 
cataloged.

OK. Then... I tried to create an index on one of the files and got the 
following:

Unable to open index map D:/./ACCOUNTNAME/I_FILENAME/INDEX.MAP for 
read/write.

OKwhere/how do I reset this account so it no longer thinks it's on the NT 
system?

I tried to DELETE.INDEX on the file, but it says there are no indexes, and 
there isn't an I_ file
in the account.



George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
ggal...@wyanokegroup.com 
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.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


Re: [U2] Strange index issue (nothing to do with last question)

2010-11-09 Thread George Gallen
That worked...Is there a place where that info is stored that I
can run through the account to change the rest of the files?

Thanks

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Robert Porter
 Sent: Tuesday, November 09, 2010 4:54 PM
 To: U2 Users List
 Subject: Re: [U2] Strange index issue (nothing to do with last
 question)
 
 Check out the SET.INDEX command...
 
 SET.INDEX filename TO NULL
 
 Robert
 
 Robert F. Porter, MCSE, CCNA, ZCE
 Lead Sr. Programmer / Analyst
 Laboratory Information Services
 Ochsner Health System
 
 
 
 This transmission (including any attachments) may contain confidential
 information, privileged material (including material protected by the
 solicitor-client or other applicable privileges), or constitute non-
 public information. Any use of this information by anyone other than
 the intended recipient is prohibited. If you have received this
 transmission in error, please immediately reply to the sender and
 delete this information from your system. Use, dissemination,
 distribution, or reproduction of this transmission by unintended
 recipients is not authorized and may be unlawful.
 
 
  George Gallen ggal...@wyanokegroup.com 11/9/2010 3:50 PM 
 I copied a UV account from an NT system to a Unix UV system to do some
 testing.
 First I had to update the account because the versions were different,
 no problem
 Then I compiled the programs, and recatalog anything that needed to be
 cataloged.
 
 OK. Then... I tried to create an index on one of the files and got the
 following:
 
 Unable to open index map D:/./ACCOUNTNAME/I_FILENAME/INDEX.MAP
 for read/write.
 
 OKwhere/how do I reset this account so it no longer thinks it's on
 the NT system?
 
 I tried to DELETE.INDEX on the file, but it says there are no indexes,
 and there isn't an I_ file
 in the account.
 
 
 
 George Gallen
 Senior Programmer/Analyst
 Accounting/Data Division, EDI Administrator
 ggal...@wyanokegroup.com
 ph:856.848.9005 Ext 220
 The Wyanoke Group
 http://www.wyanokegroup.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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Strange index issue (nothing to do with last question)

2010-11-09 Thread Robert Porter
No problem, glad I could help.
 
I'm not positive but I seem to remember hearing or reading that the path to the 
index is stored in the header of the file itself.


 George Gallen ggal...@wyanokegroup.com 11/9/2010 3:55 PM 
That worked...Is there a place where that info is stored that I
can run through the account to change the rest of the files?

Thanks

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Robert Porter
 Sent: Tuesday, November 09, 2010 4:54 PM
 To: U2 Users List
 Subject: Re: [U2] Strange index issue (nothing to do with last
 question)
 
 Check out the SET.INDEX command...
 
 SET.INDEX filename TO NULL
 
 Robert
 
 Robert F. Porter, MCSE, CCNA, ZCE
 Lead Sr. Programmer / Analyst
 Laboratory Information Services
 Ochsner Health System
 
 
 
 This transmission (including any attachments) may contain confidential
 information, privileged material (including material protected by the
 solicitor-client or other applicable privileges), or constitute non-
 public information. Any use of this information by anyone other than
 the intended recipient is prohibited. If you have received this
 transmission in error, please immediately reply to the sender and
 delete this information from your system. Use, dissemination,
 distribution, or reproduction of this transmission by unintended
 recipients is not authorized and may be unlawful.
 
 
  George Gallen ggal...@wyanokegroup.com 11/9/2010 3:50 PM 
 I copied a UV account from an NT system to a Unix UV system to do some
 testing.
 First I had to update the account because the versions were different,
 no problem
 Then I compiled the programs, and recatalog anything that needed to be
 cataloged.
 
 OK. Then... I tried to create an index on one of the files and got the
 following:
 
 Unable to open index map D:/./ACCOUNTNAME/I_FILENAME/INDEX.MAP
 for read/write.
 
 OKwhere/how do I reset this account so it no longer thinks it's on
 the NT system?
 
 I tried to DELETE.INDEX on the file, but it says there are no indexes,
 and there isn't an I_ file
 in the account.
 
 
 
 George Gallen
 Senior Programmer/Analyst
 Accounting/Data Division, EDI Administrator
 ggal...@wyanokegroup.com 
 ph:856.848.9005 Ext 220
 The Wyanoke Group
 http://www.wyanokegroup.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-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


Re: [U2] Strange index issue (nothing to do with last question)

2010-11-09 Thread George Gallen
that makes sense. I was look thorugh the SET.INDEX program in UV/BP to
see what it does, and that's what it looked like.

Knew it couldn't be that easy to fix!

George

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Robert Porter
 Sent: Tuesday, November 09, 2010 4:59 PM
 To: U2 Users List
 Subject: Re: [U2] Strange index issue (nothing to do with last
 question)
 
 No problem, glad I could help.
 
 I'm not positive but I seem to remember hearing or reading that the
 path to the index is stored in the header of the file itself.
 
 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Reading a Unix file from another machine.

2010-11-09 Thread Roy Beard
Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.  When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I gave
up.

 

Universe will not read the file at all.  I still get gibberish even on the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Dan Goble
Try using at the unix command line

String filename  newfilenamer

This will strip out all control characters

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:05 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: [U2] Reading a Unix file from another machine.

Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.  When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I gave
up.

 

Universe will not read the file at all.  I still get gibberish even on the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
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


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread George Gallen
was the original file in EBCDIC? otherwise why convert it to ascii?
Is it a directory structure written out as a binary file? Will cpio
read the file?

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Roy Beard
 Sent: Tuesday, November 09, 2010 5:05 PM
 To: 'U2 Users List'
 Subject: [U2] Reading a Unix file from another machine.
 
 Hi all,
 
 
 
 I am trying to read a Unix file from and old aix machine.  The people
 who
 sent it will not bend in how they sent it.
 
 What I got was in binary format so I used 'od' to convert it to ascii.
 When
 I tried to cat the file before trying to READSEQ records it looked like
 gibberish!
 
 I realized that if I set my Term type to vt100, I could read it but the
 carriage returns were just ^M after each record.  After trying 'sed' I
 gave
 up.
 
 
 
 Universe will not read the file at all.  I still get gibberish even on
 the
 converted file.
 
 
 
 Any ideas?  There must be a way to do this.  What am I missing?
 
 
 
 Thanks,
 
 
 
 Roy
 
 ___
 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


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Roy Beard
It apparently is a 7 bit file, hence when I use vt100 (7 bit) I can read it,
But not vt220 (8 bit).  It is not a directory but a pipe delimited file.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
Sent: Tuesday, November 09, 2010 5:10 PM
To: U2 Users List
Subject: Re: [U2] Reading a Unix file from another machine.

was the original file in EBCDIC? otherwise why convert it to ascii?
Is it a directory structure written out as a binary file? Will cpio
read the file?

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Roy Beard
 Sent: Tuesday, November 09, 2010 5:05 PM
 To: 'U2 Users List'
 Subject: [U2] Reading a Unix file from another machine.
 
 Hi all,
 
 
 
 I am trying to read a Unix file from and old aix machine.  The people
 who
 sent it will not bend in how they sent it.
 
 What I got was in binary format so I used 'od' to convert it to ascii.
 When
 I tried to cat the file before trying to READSEQ records it looked like
 gibberish!
 
 I realized that if I set my Term type to vt100, I could read it but the
 carriage returns were just ^M after each record.  After trying 'sed' I
 gave
 up.
 
 
 
 Universe will not read the file at all.  I still get gibberish even on
 the
 converted file.
 
 
 
 Any ideas?  There must be a way to do this.  What am I missing?
 
 
 
 Thanks,
 
 
 
 Roy
 
 ___
 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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Roy Beard
NO joy!

# cd /dbms
# ls -l master
-rwxrwxrwx   1 root system 54683259 Nov 08 18:16 master
# string master  newmaster
ksh: string:  not found.
#

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.

Try using at the unix command line

String filename  newfilenamer

This will strip out all control characters

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:05 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: [U2] Reading a Unix file from another machine.

Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.  When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I gave
up.

 

Universe will not read the file at all.  I still get gibberish even on the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Roy Beard
That helped but only in 7 bit mode!

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:25 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.

Sorry ... The command is strings  Not string.   Typing from a blackberry

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:23 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from another machine.

NO joy!

# cd /dbms
# ls -l master
-rwxrwxrwx   1 root system 54683259 Nov 08 18:16 master
# string master  newmaster
ksh: string:  not found.
#

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.

Try using at the unix command line

String filename  newfilenamer

This will strip out all control characters

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:05 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: [U2] Reading a Unix file from another machine.

Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.  When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I gave
up.

 

Universe will not read the file at all.  I still get gibberish even on the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
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-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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Roy Beard
# cat master | more


°³üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M° üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°µüªü·¶
üªü
ü ü ü ü ü ü ü M-^M°¶üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°·üªü·¶ üªüªü ü ü ü ü ü
ü üM
° üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°¹üªü·¶ üªüªü ü ü ü ü ü ü ü ü
M-^M°³üªüÌDz°²Íü
°°± ³°üü ü ü ü ü ü ü M-^M° üªüÌDz°²Íüªüªü°°± ³°ü
ü ü ü ü ü ü M-^M°µüªüÌDz°²Íüªüªü°°± ³°üü ü ü ü ü ü ü
M-^M°¶üªüÌÍ
üªüªü°°± ³°üü ü ü ü ü ü ü M-^M°·üªüÌDz°²Íüªüªü°°± ³°ü
   ü ü ü ü ü ü ü M-^M° üªüÌDz°²Íüªüªü°°± ³°üü ü ü ü ü ü ü
M-^M°Ì
Dz°²Íüªüªü°°± ³°üü ü ü ü ü ü ü M-^M° üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹
ü ü
 ü ü ü ü ü M-^M°¹üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°³üªüÔdz³³
ÚÕÒÎüªü±
 ¹ ü ü ü ü ü ü ü ü M-^M° üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü
M-^M°µüªüÔdz³³Î
üªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°¶üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü
M-^M°·Ç
³³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°±ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒüÎÏÎ ÉÎÖÅÎÔÏÒÙ
ÉÔÅÍü
 ü ü ü ü ü ü ü ü M-^M°²ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒüÎÏÎ ÉÎÖÅÎÔÏÒÙ ÉÔÅÍü ü ü ü ü ü ü ü
ü
M-^M°±ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒü ÒÅÍÉÅÒ ÆÁÕÃÅÔÓüËÏÈÌÅÒ ÃÁÔ  ÈÅÁÄÅÒü°°±³µ°ü ü ü ü ü
ü ü
 M-^M°²ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒü ÒÅÍÉÅÒ ÆÁÕÃÅÔÓüËÏÈÌÅÒ ÃÁÔ  ÈÅÁÄÅÒü°°±³µ°ü ü ü ü
ü ü

   As vt100   

# cat master | more

03|*|764|*|*| | | | | | | | | M-^M08|*|764|*|*| | | | | | | | |
M-^M05|*|764|*|
| | | | | | | M-^M06|*|764|*|*| | | | | | | | | M-^M07|*|764|*|*| | | | | |
| |M
04|*|764|*|*| | | | | | | | | M-^M09|*|764|*|*| | | | | | | | |
M-^M03|*|LG202M|
001430|| | | | | | | M-^M08|*|LG202M|*|*|001430|
| | | | | | M-^M05|*|LG202M|*|*|001430|| | | | | | |
M-^M06|*|LM
|*|*|001430|| | | | | | | M-^M07|*|LG202M|*|*|001430|
   | | | | | | | M-^M04|*|LG202M|*|*|001430|| | | | | | |
M-^M0L
G202M|*|*|001430|| | | | | | |
M-^M04|*|TG333-ZURN|*|*|001894| |
 | | | | | M-^M09|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M03|*|TG333-ZURN|*|1
894| | | | | | | | M-^M08|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M05|*|TG333N
|*|*|001894| | | | | | | | M-^M06|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M07G
333-ZURN|*|*|001894| | | | | | | | M-^M01|1| KOHLER1 PREMIER|NON INVENTORY 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.

Try using at the unix command line

String filename  newfilenamer

This will strip out all control characters

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:05 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: [U2] Reading a Unix file from another machine.

Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.  When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I gave
up.

 

Universe will not read the file at all.  I still get gibberish even on the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Dan Goble
Sorry ... The command is strings  Not string.   Typing from a blackberry

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:23 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: Re: [U2] Reading a Unix file from another machine.

NO joy!

# cd /dbms
# ls -l master
-rwxrwxrwx   1 root system 54683259 Nov 08 18:16 master
# string master  newmaster
ksh: string:  not found.
#

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.

Try using at the unix command line

String filename  newfilenamer

This will strip out all control characters

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:05 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: [U2] Reading a Unix file from another machine.

Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.  When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I gave
up.

 

Universe will not read the file at all.  I still get gibberish even on the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
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-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


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Clive Hills
I suggest using dos2unix to convert it to Unix format.
Clive

On Tue, Nov 9, 2010 at 10:23 PM, Roy Beard r...@cfl.rr.com wrote:

 NO joy!

 # cd /dbms
 # ls -l master
 -rwxrwxrwx   1 root system 54683259 Nov 08 18:16 master
 # string master  newmaster
 ksh: string:  not found.
 #

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
 Sent: Tuesday, November 09, 2010 5:09 PM
 To: 'u2-users@listserver.u2ug.org'
 Subject: Re: [U2] Reading a Unix file from another machine.

 Try using at the unix command line

 String filename  newfilenamer

 This will strip out all control characters

 - Original Message -
 From: Roy Beard [mailto:r...@cfl.rr.com]
 Sent: Tuesday, November 09, 2010 05:05 PM
 To: 'U2 Users List' u2-users@listserver.u2ug.org
 Subject: [U2] Reading a Unix file from another machine.

 Hi all,



 I am trying to read a Unix file from and old aix machine.  The people who
 sent it will not bend in how they sent it.

 What I got was in binary format so I used 'od' to convert it to ascii.
  When
 I tried to cat the file before trying to READSEQ records it looked like
 gibberish!

 I realized that if I set my Term type to vt100, I could read it but the
 carriage returns were just ^M after each record.  After trying 'sed' I gave
 up.



 Universe will not read the file at all.  I still get gibberish even on the
 converted file.



 Any ideas?  There must be a way to do this.  What am I missing?



 Thanks,



 Roy

 ___
 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-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users




-- 
Clive
 -- 077222971491
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Baakkonen, Rodney A (Rod) 46K
Is AIX ebcdic? I use dd to convert files from ebcdic to ascii.  Are they
sending you packed data?  I used to have to read the records using
OSBREAD and then do an OCONV to unpack them. 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Tuesday, November 09, 2010 4:05 PM
To: 'U2 Users List'
Subject: [U2] Reading a Unix file from another machine.

Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people
who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.
When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I
gave
up.

 

Universe will not read the file at all.  I still get gibberish even on
the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
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


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Roy Beard
No the file seems to be ascii but 7 bit.

After using the strings command, I can readseq and writeseq records from it
to another file, but only when using a vt100 emulator.  When I try too read
the new file with vt220 it is gibberish.

?

Roy

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Baakkonen, Rodney
A (Rod) 46K
Sent: Tuesday, November 09, 2010 5:38 PM
To: U2 Users List
Subject: Re: [U2] Reading a Unix file from another machine.

Is AIX ebcdic? I use dd to convert files from ebcdic to ascii.  Are they
sending you packed data?  I used to have to read the records using
OSBREAD and then do an OCONV to unpack them. 

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Tuesday, November 09, 2010 4:05 PM
To: 'U2 Users List'
Subject: [U2] Reading a Unix file from another machine.

Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people
who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.
When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I
gave
up.

 

Universe will not read the file at all.  I still get gibberish even on
the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Baakkonen, Rodney A (Rod) 46K
 Try /usr/bin/strings

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Tuesday, November 09, 2010 4:23 PM
To: 'U2 Users List'
Subject: Re: [U2] Reading a Unix file from another machine.

NO joy!

# cd /dbms
# ls -l master
-rwxrwxrwx   1 root system 54683259 Nov 08 18:16 master
# string master  newmaster
ksh: string:  not found.
#

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.

Try using at the unix command line

String filename  newfilenamer

This will strip out all control characters

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:05 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: [U2] Reading a Unix file from another machine.

Hi all,

 

I am trying to read a Unix file from and old aix machine.  The people
who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.
When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I
gave
up.

 

Universe will not read the file at all.  I still get gibberish even on
the
converted file.

 

Any ideas?  There must be a way to do this.  What am I missing?

 

Thanks,

 

Roy

___
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-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


Re: [U2] Upgrading and Migrating from Unix to Windows

2010-11-09 Thread Richard Conway
Thanks for that, I hadn't actually downloaded it at that point and I didn't see 
it elsewhere on their web site.

My main concern is how the existing data and programs written in Unibasic 
actually handle the move from a Unix environment to a Windows one. I know there 
is at least one call to a Unix function that will fail, but I'm not sure about 
generally how interoperable the two environments are.

Has anyone tried anything like this? If so, what are the most likely/obvious 
pitfalls?

Richard

- Original Message -
From: Glorfield, Gordon gglorfi...@vertisinc.com
To:   'U2 Users List' u2-users@listserver.u2ug.org
Sent: Monday Monday 08 November 2010 19:23:21
Subject: [U2] Upgrading and Migrating from Unix to Windows

Along with being limited to two users, the UniData and UniVerse Personal 
Editions also have an eight-process limit and a limitation of modulo 10007 
assigned to a file. Also, the following add-ons do not function: Connection 
Pooling, EDA, NFA, RFS, UV/Net.

Right off of Rocket's U2 downloads page.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bob Woodward
Sent: Monday, November 08, 2010 2:08 PM
To: Richard Conway; U2 Users List
Subject: Re: [U2] Upgrading and Migrating from Unix to Windows

I think the size limit is something like a modulo of 10009 or there
abouts, if memory serves me right.  It's been a long time.  You should
be able to get the limitations from Rocket.  

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard
Conway
Sent: Monday, November 08, 2010 10:30 AM
To: U2 Users List
Subject: Re: [U2] Upgrading and Migrating from Unix to Windows

What are the file size restrictions with PE? Is there a comprehensive
list of the restrictions present in PE anywhere that I can
read/download?

Richard

- Original Message -
From: Bob Woodward bob_woodw...@k2sports.com
To:   Richard Conway rich...@rlcnet.co.uk, U2 Users List
u2-users@listserver.u2ug.org
Sent: Monday Monday 08 November 2010 18:20:24
Subject: [U2] Upgrading and Migrating from Unix to Windows

I think, at the very least, you're probably going to have an issue with
the PE version limiting your file sizes.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard
Conway
Sent: Monday, November 08, 2010 5:00 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Upgrading and Migrating from Unix to Windows

I am about to try to upgrade an old Unidata server running Unidata 3.x
on SGI Irix, to another machine running Windows Server 2003. I am going
to set up the Windows box with Unidata 7.2.7 PE initially.

Has anyone tried such a drastic move? What is the best upgrade path to
try? Unidata 3.x on Irix to Unidata 7 on Linux, then on to Unidata 7 on
Windows? Or would a single jump upgrade actually work, with the help of
vocupgrade and PATHSUB?

Richard

___
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-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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Gregor Scott
You could try converting the ^M (carriage return) into a linefeed using the 
command:

cat master | tr \r \n | new.master


And cating the file might not be a true indication of your ability to open 
and read the file within UV/UD.
The vt100 view indicates that the content is legible. The vt220 emulation is 
corrupting the *view* of the content and is not a true reflection of the 
contents.

Converting the carriage return to a linefeed will make the file more usable in 
unix.

Gregor

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Wednesday, 10 November 2010 9:27 AM
To: 'U2 Users List'
Subject: Re: [U2] Reading a Unix file from another machine.

# cat master | more


°³üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M° üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°µüªü·¶
üªü
ü ü ü ü ü ü ü M-^M°¶üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°·üªü·¶ üªüªü ü ü ü ü ü
ü üM
° üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°¹üªü·¶ üªüªü ü ü ü ü ü ü ü ü
M-^M°³üªüÌDz°²Íü
°°± ³°üü ü ü ü ü ü ü M-^M° üªüÌDz°²Íüªüªü°°± ³°ü
ü ü ü ü ü ü M-^M°µüªüÌDz°²Íüªüªü°°± ³°üü ü ü ü ü ü ü
M-^M°¶üªüÌÍ
üªüªü°°± ³°üü ü ü ü ü ü ü M-^M°·üªüÌDz°²Íüªüªü°°± ³°ü
   ü ü ü ü ü ü ü M-^M° üªüÌDz°²Íüªüªü°°± ³°üü ü ü ü ü ü ü
M-^M°Ì
Dz°²Íüªüªü°°± ³°üü ü ü ü ü ü ü M-^M° üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹
ü ü
 ü ü ü ü ü M-^M°¹üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°³üªüÔdz³³
ÚÕÒÎüªü±
 ¹ ü ü ü ü ü ü ü ü M-^M° üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü
M-^M°µüªüÔdz³³Î
üªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°¶üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü
M-^M°·Ç
³³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°±ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒüÎÏÎ ÉÎÖÅÎÔÏÒÙ
ÉÔÅÍü
 ü ü ü ü ü ü ü ü M-^M°²ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒüÎÏÎ ÉÎÖÅÎÔÏÒÙ ÉÔÅÍü ü ü ü ü ü ü ü
ü
M-^M°±ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒü ÒÅÍÉÅÒ ÆÁÕÃÅÔÓüËÏÈÌÅÒ ÃÁÔ  ÈÅÁÄÅÒü°°±³µ°ü ü ü ü ü
ü ü
 M-^M°²ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒü ÒÅÍÉÅÒ ÆÁÕÃÅÔÓüËÏÈÌÅÒ ÃÁÔ  ÈÅÁÄÅÒü°°±³µ°ü ü ü ü
ü ü

   As vt100   

# cat master | more

03|*|764|*|*| | | | | | | | | M-^M08|*|764|*|*| | | | | | | | |
M-^M05|*|764|*|
| | | | | | | M-^M06|*|764|*|*| | | | | | | | | M-^M07|*|764|*|*| | | | | |
| |M
04|*|764|*|*| | | | | | | | | M-^M09|*|764|*|*| | | | | | | | |
M-^M03|*|LG202M|
001430|| | | | | | | M-^M08|*|LG202M|*|*|001430|
| | | | | | M-^M05|*|LG202M|*|*|001430|| | | | | | |
M-^M06|*|LM
|*|*|001430|| | | | | | | M-^M07|*|LG202M|*|*|001430|
   | | | | | | | M-^M04|*|LG202M|*|*|001430|| | | | | | |
M-^M0L
G202M|*|*|001430|| | | | | | |
M-^M04|*|TG333-ZURN|*|*|001894| |
 | | | | | M-^M09|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M03|*|TG333-ZURN|*|1
894| | | | | | | | M-^M08|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M05|*|TG333N
|*|*|001894| | | | | | | | M-^M06|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M07G
333-ZURN|*|*|001894| | | | | | | | M-^M01|1| KOHLER1 PREMIER|NON INVENTORY

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.

Try using at the unix command line

String filename  newfilenamer

This will strip out all control characters

- Original Message -
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:05 PM
To: 'U2 Users List' u2-users@listserver.u2ug.org
Subject: [U2] Reading a Unix file from another machine.

Hi all,



I am trying to read a Unix file from and old aix machine.  The people who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.  When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I gave
up.



Universe will not read the file at all.  I still get gibberish even on the
converted file.



Any ideas?  There must be a way to do this.  What am I missing?



Thanks,



Roy

___
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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
--
Message  protected by DealerGuard: e-mail anti-virus, anti-spam and content 
filtering.
http://www.pentanasolutions.com

Click here to report this message as spam:
https://login.mailguard.com.au/report/1B4vNP9s6S/4ebGoJHMofhf2Tjg3O0ZOv/0.6


This email and any attachments to it are confidential.
You must not use, 

Re: [U2] Upgrading and Migrating from Unix to Windows

2010-11-09 Thread Wols Lists
On 09/11/10 23:14, Richard Conway wrote:
 Thanks for that, I hadn't actually downloaded it at that point and I didn't 
 see it elsewhere on their web site.

 My main concern is how the existing data and programs written in Unibasic 
 actually handle the move from a Unix environment to a Windows one. I know 
 there is at least one call to a Unix function that will fail, but I'm not 
 sure about generally how interoperable the two environments are.

 Has anyone tried anything like this? If so, what are the most likely/obvious 
 pitfalls?

It's years since I did that (UV on a Prime EXL7330 to UV on NT4 (or even
3.5)). But it was a pretty easy move. As you say, the biggest problem
was one of our major programs (year end) did an awful lot of its work
via calls out to the OS. However, we'd moved from PI on Primos a few
years earlier, so we knew the pitfalls ...

Cheers,
Wol

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Upgrading and Migrating from Unix to Windows

2010-11-09 Thread Robert Houben
Hi Richard,

We have both a Relational Data Access Server and a Direct Data Access Server 
that are written in fairly generic PICK/BASIC but with specific subroutines to 
do platform-specific stuff.  We run on pretty well all MV platforms including 
Unidata, Universe, PI/Open and even some very old Universe versions, both on 
Windows and *nix (Unidata on Dec Vax, even.)  We do this with a single code 
base for all platforms.

Until you decide that you want to know a specific process number, work with 
pipes and O/S files and other things like that, the BASIC code is not only 
interoperable, but if the version is even remotely close, you don't normally 
have to even compile.  That said, I'd compile just to be safe.

Check your code for any place where you run a command shell program or call an 
O/S specific function.  Also check for any pattern in a string that contains 
forward slashes.

Your peripherals are a different matter altogether...

Good luck!

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard Conway
Sent: Tuesday, November 09, 2010 3:15 PM
To: 'U2 Users List'
Subject: Re: [U2] Upgrading and Migrating from Unix to Windows

Thanks for that, I hadn't actually downloaded it at that point and I didn't see 
it elsewhere on their web site.

My main concern is how the existing data and programs written in Unibasic 
actually handle the move from a Unix environment to a Windows one. I know there 
is at least one call to a Unix function that will fail, but I'm not sure about 
generally how interoperable the two environments are.

Has anyone tried anything like this? If so, what are the most likely/obvious 
pitfalls?

Richard

- Original Message -
From: Glorfield, Gordon gglorfi...@vertisinc.com
To:   'U2 Users List' u2-users@listserver.u2ug.org
Sent: Monday Monday 08 November 2010 19:23:21
Subject: [U2] Upgrading and Migrating from Unix to Windows

Along with being limited to two users, the UniData and UniVerse Personal 
Editions also have an eight-process limit and a limitation of modulo 10007 
assigned to a file. Also, the following add-ons do not function: Connection 
Pooling, EDA, NFA, RFS, UV/Net.

Right off of Rocket's U2 downloads page.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bob Woodward
Sent: Monday, November 08, 2010 2:08 PM
To: Richard Conway; U2 Users List
Subject: Re: [U2] Upgrading and Migrating from Unix to Windows

I think the size limit is something like a modulo of 10009 or there abouts, if 
memory serves me right.  It's been a long time.  You should be able to get the 
limitations from Rocket.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard Conway
Sent: Monday, November 08, 2010 10:30 AM
To: U2 Users List
Subject: Re: [U2] Upgrading and Migrating from Unix to Windows

What are the file size restrictions with PE? Is there a comprehensive list of 
the restrictions present in PE anywhere that I can read/download?

Richard

- Original Message -
From: Bob Woodward bob_woodw...@k2sports.com
To:   Richard Conway rich...@rlcnet.co.uk, U2 Users List
u2-users@listserver.u2ug.org
Sent: Monday Monday 08 November 2010 18:20:24
Subject: [U2] Upgrading and Migrating from Unix to Windows

I think, at the very least, you're probably going to have an issue with the PE 
version limiting your file sizes.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Richard Conway
Sent: Monday, November 08, 2010 5:00 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Upgrading and Migrating from Unix to Windows

I am about to try to upgrade an old Unidata server running Unidata 3.x on SGI 
Irix, to another machine running Windows Server 2003. I am going to set up the 
Windows box with Unidata 7.2.7 PE initially.

Has anyone tried such a drastic move? What is the best upgrade path to try? 
Unidata 3.x on Irix to Unidata 7 on Linux, then on to Unidata 7 on Windows? Or 
would a single jump upgrade actually work, with the help of vocupgrade and 
PATHSUB?

Richard

___
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-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-Users mailing list
U2-Users@listserver.u2ug.org

Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Wols Lists
On 09/11/10 22:21, Roy Beard wrote:
 It apparently is a 7 bit file, hence when I use vt100 (7 bit) I can read it,
 But not vt220 (8 bit).  It is not a directory but a pipe delimited file.

It looks to me a bit like a Prime file!

Can you look at the file with a hex viewer? If you've got access to
Midnight Commander I think that had a hex-view mode. If each byte starts
with 8 or higher then the file is 7 bit with parity on and no wonder
it looks weird! You'll need to get it converted to parity off - dead
easy to say but I don't know how to string the unix utilities together
to make it work for you. But you'd just need to AND each byte with 0x7f.

Cheers,
Wol

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org
 [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen
 Sent: Tuesday, November 09, 2010 5:10 PM
 To: U2 Users List
 Subject: Re: [U2] Reading a Unix file from another machine.

 was the original file in EBCDIC? otherwise why convert it to ascii?
 Is it a directory structure written out as a binary file? Will cpio
 read the file?

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
 boun...@listserver.u2ug.org] On Behalf Of Roy Beard
 Sent: Tuesday, November 09, 2010 5:05 PM
 To: 'U2 Users List'
 Subject: [U2] Reading a Unix file from another machine.

 Hi all,



 I am trying to read a Unix file from and old aix machine.  The people
 who
 sent it will not bend in how they sent it.

 What I got was in binary format so I used 'od' to convert it to ascii.
 When
 I tried to cat the file before trying to READSEQ records it looked like
 gibberish!

 I realized that if I set my Term type to vt100, I could read it but the
 carriage returns were just ^M after each record.  After trying 'sed' I
 gave
 up.



 Universe will not read the file at all.  I still get gibberish even on
 the
 converted file.



 Any ideas?  There must be a way to do this.  What am I missing?



 Thanks,



 Roy


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Index based on an I desc of TRANS data

2010-11-09 Thread Bill Haskett

 George:

The answer, in short, is /*no*/! You'll have to periodically rebuild the 
index.


In our application we have a single address book. An entry could be 
associated with an A/R customer, an A/P vendor, a P/R employee, a 
property's unit, and a few other entity type records. When the user 
modifies the name, the address book's index is updated immediately but 
the subsidiary table's index is not (e.g. the A/R customer).


We have a utility that runs upon every login to reindex the subsidiary 
tables that have been changed. This rebuilding is frequent enough for 
our purposes but you'll have to decide what frequency is appropriate for 
your environment. We tried to create a trigger routine that works but 
kept running into a deadly-embrace situation, so we gave up (at least I 
did). Maybe someone else has something like this working they'd like to 
share with all of us.


HTH,

Bill Haskett
* / Advantos Systems, Inc./ *
4370 La Jolla Village Drive, Suite 400
San Diego, CA 92122
☎ Tel: 360-464-2773 (WA) | ☏ Fax: 760-944-7743
What Software can be.


George Gallen said the following on 11/9/2010 12:47 PM:

I just created an Index on a fairly large file based on an I Desc.

The IDESC is combination of Concatenating 5 TRANS()'d fields.

After the index was built, it works greatbut just curious, Will the
index get updated automatically, when the source file's data changes?
(remember, the index is based on TRANS'd data), Or
will I need to periodically rebuild the index, which in itself wouldn't be an
issue as the source file doesn't change very often.

This is on UV.

George


George Gallen
Senior Programmer/Analyst
Accounting/Data Division, EDI Administrator
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.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


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Adrian Overs
Hi Roy,
What you need to do is to add a line feed LF char(10) to your carriage
returns char(13).
This can either be done at unix level by cat file | tr '\l' '\l\015'  file2
(15 being the octal equivalent of 13)
or
programatically by
CHANGE(RECORD,CHAR(13),CHAR(10):CHAR(13),-1)
I don't have an AIX machine in front of me at the moment so I may not be
100% correct on the syntax but that shout give you something to play around
with.

On Wed, Nov 10, 2010 at 9:05 AM, Roy Beard r...@cfl.rr.com wrote:

 Hi all,



 I am trying to read a Unix file from and old aix machine.  The people who
 sent it will not bend in how they sent it.

 What I got was in binary format so I used 'od' to convert it to ascii.
  When
 I tried to cat the file before trying to READSEQ records it looked like
 gibberish!

 I realized that if I set my Term type to vt100, I could read it but the
 carriage returns were just ^M after each record.  After trying 'sed' I gave
 up.



 Universe will not read the file at all.  I still get gibberish even on the
 converted file.



 Any ideas?  There must be a way to do this.  What am I missing?



 Thanks,



 Roy

 ___
 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


Re: [U2] Reading a Unix file from another machine.

2010-11-09 Thread Rex Gozar
If the binary file it truly 7 bit, try dos2unix -c 7bit master 
newfile, then see if you can cat newfile.

rex

On Tue, Nov 9, 2010 at 7:28 PM, Adrian Overs u2u...@gmail.com wrote:
 Hi Roy,
 What you need to do is to add a line feed LF char(10) to your carriage
 returns char(13).
 This can either be done at unix level by cat file | tr '\l' '\l\015'  file2
 (15 being the octal equivalent of 13)
 or
 programatically by
 CHANGE(RECORD,CHAR(13),CHAR(10):CHAR(13),-1)
 I don't have an AIX machine in front of me at the moment so I may not be
 100% correct on the syntax but that shout give you something to play around
 with.

 On Wed, Nov 10, 2010 at 9:05 AM, Roy Beard r...@cfl.rr.com wrote:

 Hi all,



 I am trying to read a Unix file from and old aix machine.  The people who
 sent it will not bend in how they sent it.

 What I got was in binary format so I used 'od' to convert it to ascii.
  When
 I tried to cat the file before trying to READSEQ records it looked like
 gibberish!

 I realized that if I set my Term type to vt100, I could read it but the
 carriage returns were just ^M after each record.  After trying 'sed' I gave
 up.



 Universe will not read the file at all.  I still get gibberish even on the
 converted file.



 Any ideas?  There must be a way to do this.  What am I missing?



 Thanks,



 Roy

 ___
 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-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users