can we migrate program running on ca easytrieve 6.2 directly to ca easytrieve r11


 
Thread Tools Search this Thread
Operating Systems AIX can we migrate program running on ca easytrieve 6.2 directly to ca easytrieve r11
# 1  
Old 06-12-2009
can we migrate program running on ca easytrieve 6.2 directly to ca easytrieve r11

hi
i want to know if we can migrate programs running on ca easytrieve 6.2 to ca easytrieve r11.
If we cant what changes do we need to make
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

How to migrate a running lvm.?

Hi all, Please explain how do i. Migrate and backup a running lvm..!! Thanks, Sent from my LG-D802 using Tapatalk (3 Replies)
Discussion started by: lordkizzo
3 Replies

2. UNIX and Linux Applications

Autosys R11.3 : Error on log file size limit

Just had a migration from Autosys 4.5 to R11.3. After the migration to R11.3, Autosys jobs have been failing when the log file reaches a size of 800 MB. This did not happen before the migration, when Autosys 4.5 was used. Is there a way to configure the file size limit/cap in Autosys... (1 Reply)
Discussion started by: kimo222
1 Replies

3. Shell Programming and Scripting

Running a program using csh

I have a program which I can run on the command line like below and works fine /nethome/chrisd/HSeis/TommyCD/TommyCD-1101/bin/raytrac vmod=npt10-z30.vmod srfile=jcdint.sc rcfile=jcdint.rc phases="SP FS" level=twop format="X T" dtau=0.1 mdacc=0.5 mindist=0.1 maxitertp=25 ray=npt10-z30.ry... (0 Replies)
Discussion started by: kristinu
0 Replies

4. UNIX for Dummies Questions & Answers

Kill a running program?

Hello i'm trying to make a program which can find a running program on the system and kill it, then repeat that every 5 minutes. The name of the process is given with an argument. I have done this so far, but still not working. if $1 in $(ps -e) ; then kill $(pidof $1) sleep 5m fi (3 Replies)
Discussion started by: petel1
3 Replies

5. UNIX and Linux Applications

Running oracle commands Directly from Command Line

In mysql, I can get what I want from a database without having to log into mysql. works great for me and it is perfect. now, i want to be able to do the same in oracle but I dont know how to. For example, if i want to retrieve information from the mysql database from the command line, i issue... (4 Replies)
Discussion started by: SkySmart
4 Replies

6. Shell Programming and Scripting

Help with Running More than One Program

Folks, I'm really new to scripting and was wondering if you could help me out. I have the following script that I inherited: #!/bin/bash # # Usage # From the agent directory: # ./run-any-agent AgentName # TAC_AGENT_HOME=`pwd` LIB=${TAC_AGENT_HOME}/lib CLASSPATH=.... (17 Replies)
Discussion started by: DTriniWay
17 Replies

7. AIX

migrating easytrieve from Z/OS to AIX platform

Hi, my requirement is to migrate easytrieve running on Z/OS to AIX platform. can anyone let me know what changes should be made if we do such a migration. (0 Replies)
Discussion started by: rohit510
0 Replies

8. Programming

running a program for a specified time

how can i run a program for a specified time? i need to print a current time during program execution. (3 Replies)
Discussion started by: prosputko
3 Replies

9. UNIX for Dummies Questions & Answers

Running a program

Hi.Iam new to Linux.i got linux 7.0 pro and dont know how to run programs. I want a perl interputer and i know i installed one but how do i run it ??? Also how do i run a C or C++ editor ?and how do i run cron ? (3 Replies)
Discussion started by: perleo
3 Replies

10. Shell Programming and Scripting

Running a program automatically

How can I make a program run automatically at a certain time of day? My problem is I need to make a small backup program that will back up a few files every day? (3 Replies)
Discussion started by: jvadn0
3 Replies
Login or Register to Ask a Question
ORLite::Migrate(3pm)					User Contributed Perl Documentation				      ORLite::Migrate(3pm)

NAME
ORLite::Migrate - Extremely light weight SQLite-specific schema migration SYNOPSIS
# Build your ORM class using a patch timeline # stored in the shared files directory. use ORLite::Migrate { create => 1, file => 'sqlite.db', timeline => File::Spec->catdir( File::ShareDir::module_dir('My::Module'), 'patches', ), user_version => 8, }; # migrate-1.pl - A trivial schema patch #!/usr/bin/perl use strict; use DBI (); # Locate the SQLite database my $file = <STDIN>; chomp($file); unless ( -f $file and -w $file ) { die "SQLite file $file does not exist"; } # Connect to the SQLite database my $dbh = DBI->connect("dbi:SQLite(RaiseError=>1):$file"); unless ( $dbh ) { die "Failed to connect to $file"; } $dbh->do( <<'END_SQL' ); create table foo ( id integer not null primary key, name varchar(32) not null ) END_SQL DESCRIPTION
SQLite is a light weight single file SQL database that provides an excellent platform for embedded storage of structured data. ORLite is a light weight single class Object-Relational Mapper (ORM) system specifically designed for (and limited to only) work with SQLite. ORLite::Migrate is a light weight single class Database Schema Migration enhancement for ORLite. It provides a simple implementation of schema versioning within the SQLite database using the built-in "user_version" pragma (which is set to zero by default). When setting up the ORM class, an additional "timeline" parameter is provided, which should be either a monolithic timeline class, or a directory containing standalone migration scripts. A "timeline" is a set of revisioned schema changed, to be applied in order and representing the evolution of the database schema over time. The end of the timeline, representing by the highest revision number, represents the "current" anticipated schema for the application. Because the patch sequence can be calculated from any arbitrary starting version, by keeping the historical set of changes in your application as schema patches it is possible for the user of any older application version to install the most current version of an application and have their database upgraded smoothly and safely. The recommended location to store the migration timeline is a shared files directory, locatable using one of the functions from File::ShareDir. The timeline for your application can be specified in two different forms, with different advantages and disadvantages. Timeline Directories A Timeline Directory is a directory on the filesystem containing a set of Perl scripts named in a consistent pattern. These patch scripts are named in the form migrate-$version.pl, where $version is the schema version to migrate to. A typical timeline directory will look something like the following. migrate-01.pl migrate-02.pl migrate-03.pl migrate-04.pl migrate-05.pl migrate-06.pl migrate-07.pl migrate-08.pl migrate-09.pl migrate-10.pl ORLite::Migrate formulates a migration plan that starts at the current database "user_version" pragma value, executing the migration script that has the version "user_version + 1", then executing "user_version + 2" and so on. It will continue stepping forwards until it runs out of patches to execute. The main advantage of a timeline directory is that each patch is run in its own process and interpreter. Hundreds of patches can be produced by many different authors, with certainty that the changes described in each will be executed as intended. The main disadvantage of using a timeline directory is that your application must be able to identify the Perl interpreter it is run in so that it can execute a sub-process. This may be difficult or impossible for cases such as PAR-packaged applications and Perl interpreters embedded inside .exe wrappers or larger non-Perl applications. In general, it is recommended that you use the timeline directory approach unless you encounter a situation in which sub-process execution (or locating the patch files) is difficult. Timeline Classes A timeline class places all of the schema patches into a single Perl module, with each patch represented as a method name. The following is an example of a trivial timeline class. package t::lib::MyTimeline; use strict; use base 'ORLite::Migrate::Timeline'; my $UPGRADE1 = <<'END_SQL'; create table foo ( id integer not null primary key, name varchar(32) not null ); insert into foo values ( 1, 'foo' ) END_SQL sub upgrade1 { my $self = shift; foreach ( split /;s+/, $UPGRADE1 ) { $self->do($_); } return 1; } sub upgrade2 { $_[0]->do("insert into foo values ( 2, 'bar' )"); } sub upgrade3 { $_[0]->do("insert into foo values ( 3, 'baz' )"); } 1; As with the patch files, the current state of the "user_version" pragma will be examined, and each "upgradeN" method will be called to advance the schema forwards. The main advantage of a timeline class is that you will not need to execute sub-processes, and so a timeline class will continue to function even in unusual or exotic process contents such as PAR packaging or .exe wrappers. The main disadvantage of a timeline class is that the entire timeline code must be loaded into memory no matter how many patch steps are needed (and stay in memory after the migration has completed), and all patches share a common interpreter and thus can potentially pollute or corrupt each other. SUPPORT
Bugs should be reported via the CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ORLite-Migrate <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ORLite-Migrate> For other issues, contact the author. AUTHOR
Adam Kennedy <adamk@cpan.org> COPYRIGHT
Copyright 2009 - 2012 Adam Kennedy. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.14.2 2012-02-02 ORLite::Migrate(3pm)