for   
Save 
Save 
   Join IIUG  

Informix News
04 December 08 - Steeleye - Multicarta achieves 99.997% uptime for its Informix-based Credit Card Authorization Centre... Read
16 October 08 - VendorRate - Informix Earns Top Customer Satisfaction Score on VendorRate in Q3... Read
14 August 08 - IIUG.org - Sellout Expected for the 2009 IIUG Informix Conference... Read
29 April 08 - IntelligentEnterprise.com - IBM Informix Upgrade Enhances Clustering, Database Management... Read
29 April 08 - itweek.com - IBM 'Cheetah 2' mauls data costs... Read
28 April 08 - eWeek.com - IBM Uncages Cheetah 2 Data Server... Read
28 April 08 - CNNMoney.com - IBM Helps Clients Reduce Data Management Costs With New Informix Dynamic Server... Read
09 April 08 - CNNMoney.com - MediaSpan Embeds IBM Informix Dynamic Server Software for Delivering News to Print, Web and Wireless Devices... Read
08 April 08 - IT-Director.com - Informix seeks developers... Read
18 February 08 - marketwire.com - Icarus Studios Partners With IBM to Upgrade Performance, Availability for Its Online Games... Read
17 January 08 - eWeek.com - IBM Adds Mac Support to IDS for Higher Education... Read
17 January 08 - informationweek.com - Lotus Notes For iPhone Signals Closer Ties Between IBM, Apple... Read
16 January 08 - marketwire.com - IBM Informix Dynamic Server to Deliver Support for Mac OS X... Read
16 January 08 - internetnews.com - IBM's IDS to Support Mac Platform... Read
28 June 07 - REG Developer - IBM and Informix tie down Cheetah... Read
27 June 07 - CBRonline.com - IBM corrects its own Informix customer figures... Read
14 June 07 - vnunet.com - IBM changes spots with Informix 'Cheetah' database... Read
14 June 07 - eChannelLine - IBM expands scope for IDS... Read
14 June 07 - Resellernews - IBM: Informix database alive and kicking... Read
13 June 07 - DB2 Magazine - Cheetah is now out of the gate... Read
12 June 07 - IBM - IDS 11 release announcement (pdf)... Read
12 June 07 - ChannelWeb Network - IBM Uncages IDS 11, Aka Cheetah, Database... Read
12 June 07 - eWeek.com - IBM's 'Cheetah' Ready to Pounce... Read
12 June 07 - InformationWeek - IBM Unleashes 'Cheetah' Database... Read
12 June 07 - WebWire - IBM Strengthens Database Portfolio With New Informix Dynamic Server... Read
12 June 07 - Intelligent Enterprise - IBM Unveils Informix Upgrade... Read
12 June 07 - ComputerWeekly.com - IBM's Cheetah IDS makes leap to better data centre clustering... Read
12 June 07 - ebiz - IBM Unveils Next Generation Informix Dynamic Server... Read
12 June 07 - computerworld.com - Will 'Cheetah' help IBM's Informix chase down market share?... Read
12 June 07 - Internetnews.com - No Data Can Outrun This 'Cheetah'... Read
12 June 07 - de.internet.com - IBM neuer Datenbank-Server mit Codenamen Cheetah ist fertig... Read
12 June 07 - verifox.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - golem.de - Informix 11 vorgestellt... Read
12 June 07 - Computerwoche.de - IBM stellt neue Informix-Version vor... Read
12 June 07 - IBM.de - IBM stärkt Datenbank-Portfolio mit neuem Informix Dynamic Server... Read
12 June 07 - Heise - IBM gibt Informix 11 frei... Read
25 May 07 - Taiwan.CNET.com - Local Taiwan Informix user group established... (Chinese language) ... Read
18 May 07 - ChannelWeb Network - IBM Musters Partners For Cheetah Release... Read
18 May 07 - eWeek.com - IBM Looks to 'Cheetah' to Speed Up Blade Servers... Read
7 May 07 - DB2 Magazine - SQL Shortcuts - Use these tricks to generate IDS SQL scripts... Read

Previous news items
 

Home Member Area About IIUG


Resources
IIUG Insider
IIUG Hotspots
IBM-Informix Links
IIUG RSS Feeds
Software Repository
Informix Products
Online Resources
Informix Library
Informix Books
IIUG Banners
Discussion
Technical Special
  Interest Groups

Other Discussion
Community
Events
Webcasts/Chat w Lab
IIUG TV
IIUG Sponsors
Informix Business Directory
IIUG Press Partners
Local User Groups
Rate the Vendor
Job Board
Fun Stuff

[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Classics Forum

RE: Unix-Informix to AS/400

Posted By:
Date:

Raffaele provided an EXCELLENT response to the UNIX to AS/400 move. For the
cron job, if you have an HPUX system, you can add the cron job through SAM
and it will automatically update the running cron without a restart.

Rob Konikoff
Eagle Group-2CMMC Ft Bragg
COMM:910-396-1686/1096/6105/4883
DSN:236-XXXX
Have you tried FINLOG today?
http://www.finlogonline.com


-----Original Message-----
From: RAFFAELE BE.... [mailto:r.bertoni@aliasnet.it]
Sent: Friday, February 14, 2003 10:42 AM
To: classics@iiug.org
Subject: Re: Unix-Informix to AS/400 [49]


:
# file CREATE.sh
PATH=/bin:/etc:/usr/bin:/tcb/bin:/usr/informix/bin
INFORMIXDIR=/usr/informix
INFORMIXSERVER=local_se
DBPATH=/usr2/dbgioiae
DBDATE=DMY4/

export PATH INFORMIXDIR INFORMIXSERVER DBPATH DBDATE

isql - - <<!
database dbgioia;

unload to file_name.txt select * from file_name;

close database;
!


Create this file with wordpad or edit or vi (in unix). And locale in the
$DBPATH directory then change permission to execute whit this command :

chmod +x CREATE.sh

Change the value in INFORMIXSERVER / INFORMIXDIR / DBPATH / DBDATE whit the
value setting on your unix file.
dbgioia is the name of the database, you must change also it. "file_name" is
the name of the file to export.

Next to lauch this file, in the crontab file (usually stored in
/usr/spool/cron/crontabs) edit the file root (whit a vi editor) add the
following row :

20 6 * * * /usr2/dbgioiae/CREATE.sh > /dev/null

This command execute CREATE.sh every day ad 6:20 AM and so create a file
file_name.txt that's contaies the data from file_name.



Restart the unix system to activate the crontab changes.

From the AS/400 system, with an ftp command "get" transfer the ascii file.

I hope this can help you.

Bye

Messages In This Thread

  • Unix-Informix to AS/400
    J WILSON -- Tuesday, 15 April 2003, at 3:55 p.m.
    • Re: Unix-Informix to AS/400
      Kipp Sherry -- Tuesday, 15 April 2003, at 3:55 p.m.
    • Re: Unix-Informix to AS/400
      RAFFAELE BERTONI -- Tuesday, 15 April 2003, at 3:55 p.m.
      • RE: Unix-Informix to AS/400
        Konikoff, Rob (Contractor) -- Tuesday, 15 April 2003, at 3:55 p.m.
      • Re: Unix-Informix to AS/400
        John Elser -- Tuesday, 15 April 2003, at 3:55 p.m.
        • Re: Unix-Informix to AS/400
          John Elser -- Tuesday, 15 April 2003, at 3:55 p.m.
        • RE: Unix-Informix to AS/400
          Phillips, Ken -- Tuesday, 15 April 2003, at 3:55 p.m.
          • Re: Unix-Informix to AS/400
            Mark D. Stock -- Tuesday, 15 April 2003, at 3:55 p.m.
      • Re: Re: Unix-Informix to AS/400
        J WILSON -- Tuesday, 15 April 2003, at 3:55 p.m.
        • RE: Re: Unix-Informix to AS/400
          Konikoff, Rob (Contractor) -- Tuesday, 15 April 2003, at 3:55 p.m.
        • Re: Re: Unix-Informix to AS/400
          Jack Parker -- Tuesday, 15 April 2003, at 3:55 p.m.
        • Re: Re: Re: Unix-Informix to AS/400
          RAFFAELE BERTONI -- Tuesday, 15 April 2003, at 3:55 p.m.

[ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

Classics Forum is maintained by Administrator with WebBBS 5.12.

©2001 - 2007 International Informix Users Group.   All rights reserved.     Terms of use    
*** Powered By IBM Informix Dynamic Server V10.00 ***