SlideShare una empresa de Scribd logo
1 de 42
Application MigrationApplication Migration
Module 5
NonStop S-Series to Integrity NonStopNonStop S-Series to Integrity NonStop
Migration PathsMigration Paths
migration paths:
◦ S-series TNS Mode to Integrity NonStop TNS Mode
◦ TNS/R Native Mode to TNS/E Native Mode
5 - Application Migration 2
TNS Mode
Native Mode
TNS Mode
Native Mode
S-series System (TNS/R)
Integrity NonStop System
(TNS/E)
NonStop S-Series TNS Mode toNonStop S-Series TNS Mode to
Integrity NonStop TNS ModeIntegrity NonStop TNS Mode
◦ Any TNS Guardian program that runs on
an S-series platform should run on an Integrity
NonStop with no changes
◦ TNS Guardian object code
can be emulated by an interpreter
◦ TNS Guardian object code accelerated in TNS/R
system can be accelerated again in TNS/E system
 Object file can contain both accelerated versions
◦ TNS execution is not supported in the HP NonStop
Open System Services (OSS) environment
5 - Application Migration 3
TNS/R Native Mode toTNS/R Native Mode to
TNS/E Native ModeTNS/E Native Mode
Migrating object code running in TNS/R
native mode to run inTNS/E native mode
usually requires only a recompilation using a
TNS/E native compiler, except:
◦ In a few cases, source code needs changes
 For example, conditional compilation:
 “ if <TNS/R> … else … “ (TNS meant)
◦ To incorporate some of the new H- or J-series
features into the application for performance
improvement and other benefits
◦ Some features considered obsolete in the TNS/R
native programming languages are not supported
in the TNS/E native version of the language
5 - Application Migration 4
Preparing Programs for MigrationPreparing Programs for Migration
◦ Be sure the program runs successfully on the
G06.20 or later G-series ReleaseVersion Update (RVU)
◦ If the program runs on an earlier RVU, see the
following documents and upgrade:
 G06.xx Software Installation and Upgrade Guide
 G06.xx ReleaseVersion Update Compendium
 Interactive Upgrade Guide and Interactive Upgrade Guide
2
5 - Application Migration 5
Maintaining Common Source CodeMaintaining Common Source Code
◦ Most TNS/R native programs will require no
changes to migrate them to an Integrity
NonStop system
◦ When maintaining a common source code for
TNS/R and TNS/E native compilers:
 Do not use any of the new H- or J-series features
 Avoid using those few features in the TNS/R
programs that are not supported
in the H- or J-series RVUs
5 - Application Migration 6
Alignment of DataAlignment of Data
◦ Different compilers align data items differently:
 TNS compilers align data on even-byte boundaries
 TNS/R and TNS/E compilers align 4-byte data items on 4-byte
boundaries
 TNS/E compilers also align 8-byte data items on 8-byte
boundaries
 TNS/E native POOL_GETSPACE_, GETPOOL, and malloc
procedures allocate buffers aligned on 16-byte boundaries
◦ Programming errors or run-time events can cause a
data item to violate the data alignment rules and can
change the behavior of the program.
◦ use EPTRACE
◦ Applications bound into GDSX must be recompiled.
◦ Because of 16-byte alignment in DEFINEPOOL
5 - Application Migration 7
Adjusting for Increased DCT LimitsAdjusting for Increased DCT Limits
◦ The maximum size of the Destination Control Table
(DCT) can be optionally increased from 32,767 to
65,376 as of G06.23 RVU and H-series
 The default setting for the extended DCT limit is:
 OFF for G06.23 or later RVU
 OFF for H-series RVU (originally proposed to be on)
◦ The affected programs are those that call the
following
C-series procedures:
 FILEINFO
 GETDEVNAME
 GETPPDENTRY
 GETSYSTEMNAME
 LOCATESYSTEM
 LOOKUPPROCESSNAME
5 - Application Migration 8
Adjusting for Increased DCT LimitsAdjusting for Increased DCT Limits
C-Series Procedure Replacement Procedure
FILEINFO FILE_GETINFOLIST_
GETDEVNAME DEVICE_GETINFOBYLDEV_, CONFIG_GETINFOBYLDEV_,
CONFIG_GETINFOBYLDEV2_, FILENAME_FINDSTART_,
FILENAME_FINDNEXT_
GETPPDENTRY PROCESS_GETPAIRINFO_
GETSYSTEMNAME NODENUMBER_TO_NODENAME_
LOCATESYSTEM NODENAME_TO_NODENUMBER_
LOOKUPPROCESSNAME PROCESS_GETPAIRINFO_
5 - Application Migration 9
To migrate the affected programs:
◦ Change programs to use replacement procedures
◦ Use SCF to reset the DCT limits extension to ON
TNS/E pTAL CompilerTNS/E pTAL Compiler
◦ All TNS/R pTAL programs must be
recompiled with the TNS/E pTAL compiler.
◦ Most of the features and constructs of TNS/R
pTAL are supported in TNS/E pTAL, except:
 Some privileged operations
 Some features, such as SRL, that are not supported
in H-series RVUs
 Features considered obsolete in TNS/E pTAL
◦ All code produced by the TNS/E compilers is
position-independent code (PIC), which can
be used to create DLLs.
5 - Application Migration 10
pTAL Compiler DirectivespTAL Compiler Directives
◦ Compiler directives that must be removed or
changed:
 SAVEGLOBALS: not supported
 USEGLOBALS: not supported
 NOCALL_SHARED: the compiler generates PIC only
 NOGP_OK: not needed; SRLs are not supported
 TARGET:TNS_R_TARGET option is not accepted.
Replaced by TNS_E_TARGET
◦ Compiler directives that are obsolete and are
ignored by the compiler (a warning is issued):
 BEGINCOMPILATION: not supported and is ignored
 SRL: not supported and warning is issued
 GP_OK, PUSHGP_OK, POPGP_OK, and NOGP_OK:
these SRL-related directives are ignored by the compiler
5 - Application Migration 11
pTAL Compiler DirectivespTAL Compiler Directives
◦ Compiler directives that have different
behavior and may require source code
changes:
 OPTIMIZEFILE: warnings are issued in certain
conditions
 OVERFLOW_TRAPS and NOOVERFLOW_TRAPS:
In TNS/R pTAL, OVERFLOW_TRAPS is the default,
but in TNS/E pTAL, NOOVERFLOW_TRAPS is the
default
5 - Application Migration 12
pTAL Functions and ProcedurespTAL Functions and Procedures
◦ Functions and procedures that are not supported
and should be replaced with H- or J-series
directly-called privileged interface:
 $EXECUTIO, $INTERROGATEIO,
$INTERROGATEHIO, $LOCATESPTHDR,
$LOCKPAGE, $READBASELIMIT, $READSPT,
$UNLOCKPAGE, and $WRITEPTE
◦ Functions and procedures that are changed:
 $AXADR: Replace with standard interface
 $FREEZE: Replace with the $TRIGGER function.
 $HALT: Replace with the $TRIGGER function.
 $STACK_ALLOCATE: Perform different rounding and alignment.
 Address of allocated area aligned to 16-byte boundary
 Size of allocated area rounded up to the multiple of 16 bytes
5 - Application Migration 13
Other pTAL Migration TasksOther pTAL Migration Tasks
◦ Procedure attributes
 TNS/E pTAL does not support the INTERRUPT
procedure attribute
◦ 16-byte-aligned data
 The TNS/E pTAL compiler provides
STRUCTALIGN (MAXALIGN) attribute.This
attribute causes data to be aligned on the maximum
alignment defined for the platform, which is 16
bytes for TNS/E platform.
5 - Application Migration 14
Other pTAL Migration TasksOther pTAL Migration Tasks
◦ FIELDALIGN directive in mixed language
programming
 FIELDALIGN (PLATFORM) causes the pTAL compiler to use
the same data alignment as other compilers on the same
platform
 FIELDALIGN (AUTO) allows the pTAL compiler to determine
data alignment based on what is most efficient
◦ Functions that return condition code and value:
 TNS/E pTAL compiler issues warning
 Not callable from C/C++
 TNS/R pTAL 64-bit workaround no longer works
 Write jacket procedure in pTAL
5 - Application Migration 15
TNS/E Native C/C++ CompilersTNS/E Native C/C++ Compilers
◦ TNS/R and TNS/E native C/C++ compilers
conform to the ISO/ANSI C language
standard
 Programs migrating from TNS/R most likely require
no changes unless they depend on the underlying
machine architecture or use undocumented
features (mainly privileged features)
◦ C/C++ main routine object file name
 In Guardian: CCPLMAIN
 In OSS: cpplmain.o
5 - Application Migration 16
Standard C++ Run-Time LibrariesStandard C++ Run-Time Libraries
◦ Three versions of the standard C++ library are
available on NonStop systems:
 VERSION1
 Data structures and algorithm libraries
 string, complex, and numeric_limits classes
 Not supported on Integrity NonStop systems
 Tools.h++ version 6.1 library
 VERSION2
 STL (Standard Template Library)
 Memory management, language support, locale and exception handling
features
 Tools.h++ version 7 library
 VERSION3
 Conforms to ISO/IEC IS 14882:1998 (E) standard for C++
 Does not support any version ofTools.h++ library
5 - Application Migration 17
Native C/C++ Library MigrationNative C/C++ Library Migration
◦ Native C run-time library
 Native C run-time library on S-series and on Integrity
NonStop are nearly identical
◦ Native C++ run-time library
 Migrating from C++VERSION2 andVERSION3 on S-series
to the respective version on Integrity NonStop should
require no additional source code changes
 Migrating from C++VERSION1 on G-series to C++
VERSION2 on Integrity NonStop requires source code
changes
 If linking the program as a separate step, you must also specify the
ZCPPCDLL and ZCPP2DLL on the eld command
 Tools.h++ version 6.1, if any, should be migrated toTools.h++ version 7
 Recommendation is to migrate toVERSION3
5 - Application Migration 18
Native C/C++ Library MigrationNative C/C++ Library Migration
◦ Native C++ run-time library (Continued)
 Migrating from C++VERSION1 on S-series to C++
VERSION3 on Integrity NonStop requires source code
changes
 The two versions are source code compatible; the only differences are
in the names of header files
 Requires source code changes to remove any use ofTools.h++ library
 Migrating from C++VERSION2 on S-series to C++
VERSION3 on Integrity NonStop requires source code
changes
 It is recommended that you convert to C++VERSION3 on
S-series, then to C++VERSION3 on Integrity NonStop
 Requires source code changes to remove any use ofTools.h++ library
5 - Application Migration 19
Changed Pragmas and FlagsChanged Pragmas and Flags
◦ The following pragmas and flags are either obsolete
or have different behavior:
 EXTERN_DATA GP_OK allows GP-relative addressing for
external data references.This pragma is ignored and a
warning is issued in TNS/E systems.
 NON_SHARED pragma is ignored and a warning is issued
 SRL pragmas or –Wsrl flag is ignored and a warning is issued
 SRLExports or –Wsrlexports is ignored and a warning is
issued
 SRLExportMembers or –Wsrlexportmembers is ignored
and a warning is issued
 SRLName or –Wsrlname is ignored and a warning is issued
5 - Application Migration 20
Changed Pragmas and FlagsChanged Pragmas and Flags
◦ The following pragmas and flags are either obsolete
or have different behavior (Continued):
 INSPECT
 Controls the selection of the debugging tools.The order of
precedence follows:
 For S-series non-PIC:Visual Inspect, Inspect, DEBUG
 For S-series PIC:Visual Inspect, DEBUG
 For Integrity NonStop:Visual Inspect, Native Inspect
 NOINSPECT
 Controls the selection of the debugging tools.The order of
precedence follows:
 For S-series: DEBUG
 For Integrity NonStop: Native Inspect
5 - Application Migration 21
Changed Pragmas and FlagsChanged Pragmas and Flags
◦ The following pragmas and flags are either obsolete
or have different behavior (Continued):
 NLD or –Wnld is replaced with ELD or –Weld
respectively
 LD or –Wld is replaced with ELD or –Weld respectively
 VERSION1 replaced withVERSION2 orVERSION3
 –Wversion1 replaced with –Wversion2 or –Wversion3
5 - Application Migration 22
Neutral C++ DialectNeutral C++ Dialect
◦ The neutral C++ dialect consists of library
components that are sharable betweenVERSION2
andVERSION3 of the C++ standard libraries
◦ Permits middleware to supportVERSION2 and
VERSION3 clients
◦ Two pragmas are provided in support of the neutral
C++ dialect:
 NEUTRAL: Marks a class definition as being sharable (allowed only in
standard header files)
 BUILD_NEUTRAL_LIBRARY: Used to create DLLs that use the
neutral dialect. If this pragma is specified and the program references
an object not marked with NEUTRAL, a compiler error is issued.
5 - Application Migration 23
Other C/C++ MigrationTasksOther C/C++ MigrationTasks
◦ New C and C++ features
 Pragmas
 NEUTRAL: Marks an object as sharable betweenVERSION2
andVERSION3 of the C++ standard library
 BUILD_NEUTRAL_LIBRARY: Build a DLL using the neutral
C++ dialect
 MAXALIGN:Aligns composite objects to the16-byte
alignment, which is the maximum alignment supported by
the compiler for some functions to work. Most programs
will not need to declare the MAXALIGN pragma, as it is
included in the standard header file that supplies the data
type declaration.
5 - Application Migration 24
Other C/C++ MigrationTasksOther C/C++ MigrationTasks
◦ New C and C++ features (Continued)
 New 64-bit unsigned integer data type
 Type declaration is unsigned long long
 New functions for conversion between character
strings and the 64-bit integer type:
 strtoll — Converts a character string to a
signed long long integer
 strtoull — Converts a character string to an
unsigned long long integer
 wcstoll — Converts a wide-character string to a
signed long long integer
 wcstoull — Converts a wide-character string to an
unsigned long long integer
5 - Application Migration 25
Other C/C++ MigrationTasksOther C/C++ MigrationTasks
◦ Data type for 32-bit values in CEXTDECS file
changes from long to int
 When recompiling native TNS/R programs for the TNS/E
environment, if
 The parameter is passed by value: automatic type conversion is done
and no warning is issued
 The parameter is passed by reference: correct code is generated and
the warning of mismatched data types is issued
 One of the following actions may be taken, but is not
required:
 Use theWARN/NOWARN pragma or flag to suppress the warning
message
 Use the int type instead of the long type in the calling program
 Use __int32_t typedef for 32-bit items
5 - Application Migration 26
Other C/C++ MigrationTasksOther C/C++ MigrationTasks
◦ TNS/R and TNS/E systems use opposite conventions
for returning quiet and signaling NaN (not-a-number)
values
◦ Programs that depend on the TNS floating point
format must specify the TANDEM_FLOAT pragma
because the default floating-point format is IEEE
◦ Replace _TNS_R_TARGET feature test macro with
_TNS_E_TARGET
◦ Use _TANDEM_ARCH_ feature test macro to
identify the platform
 0 for TNS, 1 for TNS/R and 2 for TNS/E
5 - Application Migration 27
TNS/E Native COBOL CompilerTNS/E Native COBOL Compiler
◦ Supports the same functions and features as
the TNS/R native COBOL compiler
◦ Compiles most TNS/R native COBOL
programs and executes them correctly
◦ Any program called by a migrated application
must also be migrated to TNS/E native mode
◦ All code produced by the compiler is PIC
5 - Application Migration 28
COBOL Compiler DirectivesCOBOL Compiler Directives
◦ The following obsolete compiler directives
cause a warning to be issued if they are not
removed. No code change is required.
 NON-SHARED: In a TNS/E system, all code is
sharable PIC; therefore, this directive is ignored
 LARGEDATA: In a TNS/E system, there is no
distinction of data areas so this directive is ignored
 LESS-CODE: In a TNS/E system, native COBOL
does not support the option to use a system call to
initialize the Extended-Storage Section and this
directive has no effect
5 - Application Migration 29
COBOL Compiler DirectivesCOBOL Compiler Directives
◦ The following compiler directives have different
meanings and changes may be required
 UL: Has the same effect as the SHARED directive. If used with
CALL-SHARED or SHARED, can cause an error. If used with
RUNNABLE, causes the compiler to link the object file into a DLL.
 SEARCH and CONSULT:
These must specify TNS/E object files
 OPTIMIZE:
 0 no optimization
 1 produces optimization for use with debugging
 2 produces full optimization
 INSPECT: If available, selectsVisual Inspect over Native
Inspect as the debugging tool
 NOINSPECT:
Selects Native Inspect as the debugging tool
5 - Application Migration 30
Other COBOL Migration TasksOther COBOL Migration Tasks
◦ Use of floating-point data
 TNS/E native COBOL uses the IEEE format, not HP
proprietary TNS format
◦ Alignment of Level-01 and Level-77 data items
 are aligned on an 8-byte boundary
 can be aligned on an 4-byte boundary by adding the
SYNCHRONIZED clause to the declarations
◦ File names referenced in the following contexts are
changed from NMCOBEX<n> to ECOBEX<n>
where <n> is 0, 1 or T:
 CONSULT, LIBRARY, and SEARCH directives
 File-mnemonic clause of the SPECIAL-NAMES paragraph
 OF or IN clause of the CALL or ENTER statement
5 - Application Migration 31
User Library MigrationTasksUser Library MigrationTasks
◦ The user library is an object file that the operating
system links to a program file at run time
◦ TNS/R native user libraries:
 Non-PIC user library is a special form of shared run-time
library (SRL)
 PIC user library is a dynamic-link library (DLL)
◦ TNS/E supports PIC user libraries only
◦ Migrating either type of TNS/R native user library
requires recompiling and relinking
5 - Application Migration 32
User Library MigrationTasksUser Library MigrationTasks
◦ Migrating SRL-type of TNS/R native user library
 For pTAL programs
 Guardian environment: Use EPTAL with CALL_SHARED directive
on the command line
 PC: Use eptal with –shared flag on the command line
 For C/C++ programs
 Guardian environment: Use CCOMP or CPPCOMP
 OSS environment or PC: Use c89 with –Wshared flag. Replace SRL
with SHARED pragma
 For COBOL programs
 Guardian environment: Use ECOBOL with SHARED, ELD, and
RUNNABLE directives on the command line
(or in the source code)
 OSS environment or PC: Use ecobol
5 - Application Migration 33
User Library MigrationTasksUser Library MigrationTasks
◦ Migrating DLL-type of TNS/R native user
library
 For all programs
 DLLs on TNS/E systems are functionally identical to DLLs
on TNS/R systems
 Recompile DLLs with TNS/E native compiler and link the
object codes with TNS/E eld linker using same compiler
directives and same linker flags
5 - Application Migration 34
Floating-point Consistency ChecksFloating-point Consistency Checks
◦ Possible linkfile and loadfile floattype settings:
 TANDEM_FLOAT
 IEEE_FLOAT
 NEUTRAL_FLOAT
◦ Set by compiler or eld
◦ Checks performed:
 Link-time
 TANDEM_FORMAT and IEEE_FORMAT can not be linked together
 Override by setting floattype explicitly using eld
 Run-time
 Program file and Ordinary DLL must match or one be neutral
 Override by setting float_lib_overrule using eld
5 - Application Migration 35
Guardian API Migration TasksGuardian API Migration Tasks
◦ Procedures having different behavior
 Different buffer alignment for GETPOOL and
POOL_GETSPACE_ procedures
 ForTNS/R native callers, the above procedures return pointers to
4-byte aligned buffers.
 ForTNS/E native callers, the above procedures return pointers to
16-byte aligned buffers by default
 Results may differ when the pool is already near capacity. It may
not be possible to allocate as many data blocks on aTNS/E system
as on aTNS/R system
 DEBUG and PROCESS_DEBUG_ procedure invokes H-
series debuggers
 Visual Inspect, Native Inspect, or Inspect
5 - Application Migration 36
Guardian API Migration TasksGuardian API Migration Tasks
◦ Procedures having new return values
 PROCESSORTYPE procedure returns:
 10 indicating an EPIC processor
 PROCESSOR_GETNAME_ procedure returns:
 For name parameter: NSE-A
 For cpu-type-out parameter: 10
 For cpu-model-out parameter: 1 to 92*
 PROCESSOR_GETINFOLIST_ procedure returns:
 For processor type: 10
 For processor model number : 1 to 92*
 For processor name: NSE-x
 For processor full name: HP NonStop System EPIC Model x CPU
 Number of IPUs for NSMA
 TOSVERSION and REMOTETOSVERSION procedures
return the value of R06
5 - Application Migration 37
Guardian API Migration TasksGuardian API Migration Tasks
◦ Superseded procedures
 The DELAY procedure is deprecated; it is superceded
by the PROCESS_DELAY_ procedure
◦ New procedures to support process
management enhancements
 PROCESS_DELAY_
 TIMER_START_
 TIMER_STOP_
 TS_NANOSECS_
 TS_UNIQUE_COMPARE_
 TS_UNIQUE_CONVERT_TO_JULIAN_
 TS_UNIQUE_CREATE_
5 - Application Migration 38
Third-Party ToolsThird-Party Tools
Ensure that any third-party tools you use
are available for TNS/E systems:
◦ Development tools
◦ Code libraries
◦ Operations tools
 Schedulers
 Performance monitors
 Backups
5 - Application Migration 39
Data Dictionary MigrationData Dictionary Migration
New DDL Compiler on TNS/E
◦ ?DICT
This dictionary was created by a different
version of the DDL compiler. It can be read but
not updated by this DDL compiler.
To convert your dictionary:
 ?DDL TEMP
 OUTPUT *
 ?NODDL, DICT! ,COMMMENTS, SOURCE TEMP
5 - Application Migration 40
Questions ?Questions ?
41
5 - Application Migration 42

Más contenido relacionado

La actualidad más candente

2009-04-14 IBM ISV Partnership Call
2009-04-14 IBM ISV Partnership Call2009-04-14 IBM ISV Partnership Call
2009-04-14 IBM ISV Partnership CallShawn Wells
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manualHari K
 
Architecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerArchitecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerSudhanshu Janwadkar
 
Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9 Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9 Randa Elanwar
 
Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9 Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9 Randa Elanwar
 
1347 assemblylanguageprogrammingof8051-100523023308-phpapp01
1347 assemblylanguageprogrammingof8051-100523023308-phpapp011347 assemblylanguageprogrammingof8051-100523023308-phpapp01
1347 assemblylanguageprogrammingof8051-100523023308-phpapp01bvenkanna
 
Open Flow Tutorial Series - Set 1
Open Flow Tutorial Series - Set 1Open Flow Tutorial Series - Set 1
Open Flow Tutorial Series - Set 1Radhika Hirannaiah
 
Microprocessors-based systems (under graduate course) Lecture 6 of 9
Microprocessors-based systems (under graduate course) Lecture 6 of 9 Microprocessors-based systems (under graduate course) Lecture 6 of 9
Microprocessors-based systems (under graduate course) Lecture 6 of 9 Randa Elanwar
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2Aisu
 
SDN - OpenFlow protocol
SDN - OpenFlow protocolSDN - OpenFlow protocol
SDN - OpenFlow protocolUlf Marxen
 
Unit 6 assembly language programming
Unit 6   assembly language programmingUnit 6   assembly language programming
Unit 6 assembly language programmingKartik Sharma
 
Embedded c programming22 for fdp
Embedded c programming22 for fdpEmbedded c programming22 for fdp
Embedded c programming22 for fdpPradeep Kumar TS
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay KumarVijay Kumar
 

La actualidad más candente (20)

2009-04-14 IBM ISV Partnership Call
2009-04-14 IBM ISV Partnership Call2009-04-14 IBM ISV Partnership Call
2009-04-14 IBM ISV Partnership Call
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manual
 
Architecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 MicrocontrollerArchitecture of the Intel 8051 Microcontroller
Architecture of the Intel 8051 Microcontroller
 
Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9 Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9
 
Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9 Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9
 
1347 assemblylanguageprogrammingof8051-100523023308-phpapp01
1347 assemblylanguageprogrammingof8051-100523023308-phpapp011347 assemblylanguageprogrammingof8051-100523023308-phpapp01
1347 assemblylanguageprogrammingof8051-100523023308-phpapp01
 
Open Flow Tutorial Series - Set 1
Open Flow Tutorial Series - Set 1Open Flow Tutorial Series - Set 1
Open Flow Tutorial Series - Set 1
 
Microprocessors-based systems (under graduate course) Lecture 6 of 9
Microprocessors-based systems (under graduate course) Lecture 6 of 9 Microprocessors-based systems (under graduate course) Lecture 6 of 9
Microprocessors-based systems (under graduate course) Lecture 6 of 9
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
 
SDN - OpenFlow protocol
SDN - OpenFlow protocolSDN - OpenFlow protocol
SDN - OpenFlow protocol
 
Microcontroller 8051 basics (part I)
Microcontroller 8051 basics (part I)Microcontroller 8051 basics (part I)
Microcontroller 8051 basics (part I)
 
Unit 6 assembly language programming
Unit 6   assembly language programmingUnit 6   assembly language programming
Unit 6 assembly language programming
 
Embedded _c_
Embedded  _c_Embedded  _c_
Embedded _c_
 
Topic 1
Topic 1Topic 1
Topic 1
 
Tutor1
Tutor1Tutor1
Tutor1
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
Embedded c programming22 for fdp
Embedded c programming22 for fdpEmbedded c programming22 for fdp
Embedded c programming22 for fdp
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 

Destacado

EGL Conference 2011 - Application Migration
EGL Conference 2011 - Application MigrationEGL Conference 2011 - Application Migration
EGL Conference 2011 - Application MigrationWill Smythe
 
EGL Conference 2011 - EGL Open
EGL Conference 2011 - EGL OpenEGL Conference 2011 - EGL Open
EGL Conference 2011 - EGL OpenWill Smythe
 
EGL Conference 2011 - EGL Overview
EGL Conference 2011 - EGL OverviewEGL Conference 2011 - EGL Overview
EGL Conference 2011 - EGL OverviewWill Smythe
 
A Roadmap to Data Migration Success
A Roadmap to Data Migration SuccessA Roadmap to Data Migration Success
A Roadmap to Data Migration SuccessFindWhitePapers
 
Preparing a data migration plan: A practical guide
Preparing a data migration plan: A practical guidePreparing a data migration plan: A practical guide
Preparing a data migration plan: A practical guideETLSolutions
 

Destacado (6)

EGL Conference 2011 - Application Migration
EGL Conference 2011 - Application MigrationEGL Conference 2011 - Application Migration
EGL Conference 2011 - Application Migration
 
Migration Planning
Migration PlanningMigration Planning
Migration Planning
 
EGL Conference 2011 - EGL Open
EGL Conference 2011 - EGL OpenEGL Conference 2011 - EGL Open
EGL Conference 2011 - EGL Open
 
EGL Conference 2011 - EGL Overview
EGL Conference 2011 - EGL OverviewEGL Conference 2011 - EGL Overview
EGL Conference 2011 - EGL Overview
 
A Roadmap to Data Migration Success
A Roadmap to Data Migration SuccessA Roadmap to Data Migration Success
A Roadmap to Data Migration Success
 
Preparing a data migration plan: A practical guide
Preparing a data migration plan: A practical guidePreparing a data migration plan: A practical guide
Preparing a data migration plan: A practical guide
 

Similar a Mod05 application migration

Chapter Seven(1)
Chapter Seven(1)Chapter Seven(1)
Chapter Seven(1)bolovv
 
The Past, Present, and Future of OpenACC
The Past, Present, and Future of OpenACCThe Past, Present, and Future of OpenACC
The Past, Present, and Future of OpenACCinside-BigData.com
 
Embedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersEmbedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersKamesh Mtec
 
Linkmeup v076(2019-06).2
Linkmeup v076(2019-06).2Linkmeup v076(2019-06).2
Linkmeup v076(2019-06).2eucariot
 
Mod00 introduction
Mod00 introductionMod00 introduction
Mod00 introductionPeter Haase
 
Android 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation reportAndroid 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation reporthidenorly
 
11 chapter06 slc_int_float_mov_mvm_fa14
11 chapter06 slc_int_float_mov_mvm_fa1411 chapter06 slc_int_float_mov_mvm_fa14
11 chapter06 slc_int_float_mov_mvm_fa14John Todora
 
Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021InfluxData
 
Bill redirect manual
Bill redirect manualBill redirect manual
Bill redirect manualtopomax
 
HKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopHKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopLinaro
 
DAOS - Scale-Out Software-Defined Storage for HPC/Big Data/AI Convergence
DAOS - Scale-Out Software-Defined Storage for HPC/Big Data/AI ConvergenceDAOS - Scale-Out Software-Defined Storage for HPC/Big Data/AI Convergence
DAOS - Scale-Out Software-Defined Storage for HPC/Big Data/AI Convergenceinside-BigData.com
 

Similar a Mod05 application migration (20)

C programming session10
C programming  session10C programming  session10
C programming session10
 
Embedded C programming session10
Embedded C programming  session10Embedded C programming  session10
Embedded C programming session10
 
Chapter Seven(1)
Chapter Seven(1)Chapter Seven(1)
Chapter Seven(1)
 
The Past, Present, and Future of OpenACC
The Past, Present, and Future of OpenACCThe Past, Present, and Future of OpenACC
The Past, Present, and Future of OpenACC
 
Embedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersEmbedded c program and programming structure for beginners
Embedded c program and programming structure for beginners
 
Linkmeup v076(2019-06).2
Linkmeup v076(2019-06).2Linkmeup v076(2019-06).2
Linkmeup v076(2019-06).2
 
Mod00 introduction
Mod00 introductionMod00 introduction
Mod00 introduction
 
Python introduction
Python introductionPython introduction
Python introduction
 
C programming session9 -
C programming  session9 -C programming  session9 -
C programming session9 -
 
Embedded C.pptx
Embedded C.pptxEmbedded C.pptx
Embedded C.pptx
 
Assignment
AssignmentAssignment
Assignment
 
Android 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation reportAndroid 5.0 Lollipop platform change investigation report
Android 5.0 Lollipop platform change investigation report
 
11 chapter06 slc_int_float_mov_mvm_fa14
11 chapter06 slc_int_float_mov_mvm_fa1411 chapter06 slc_int_float_mov_mvm_fa14
11 chapter06 slc_int_float_mov_mvm_fa14
 
ColdBox i18N
ColdBox i18N ColdBox i18N
ColdBox i18N
 
Binary system
Binary systemBinary system
Binary system
 
Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021Getting Started: Intro to Telegraf - July 2021
Getting Started: Intro to Telegraf - July 2021
 
Bill redirect manual
Bill redirect manualBill redirect manual
Bill redirect manual
 
HKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopHKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP Workshop
 
Managing software assets
Managing software assetsManaging software assets
Managing software assets
 
DAOS - Scale-Out Software-Defined Storage for HPC/Big Data/AI Convergence
DAOS - Scale-Out Software-Defined Storage for HPC/Big Data/AI ConvergenceDAOS - Scale-Out Software-Defined Storage for HPC/Big Data/AI Convergence
DAOS - Scale-Out Software-Defined Storage for HPC/Big Data/AI Convergence
 

Más de Peter Haase

Digitalisierung - Datenschutz - IT-Sicherheit
Digitalisierung - Datenschutz - IT-SicherheitDigitalisierung - Datenschutz - IT-Sicherheit
Digitalisierung - Datenschutz - IT-SicherheitPeter Haase
 
EU General Data Protection Regulation
EU General Data Protection RegulationEU General Data Protection Regulation
EU General Data Protection RegulationPeter Haase
 
Sicherheitsprüfung für HP NonStop Systeme
Sicherheitsprüfung für HP NonStop SystemeSicherheitsprüfung für HP NonStop Systeme
Sicherheitsprüfung für HP NonStop SystemePeter Haase
 
Mod06 new development tools
Mod06 new development toolsMod06 new development tools
Mod06 new development toolsPeter Haase
 
Mod03 linking and accelerating
Mod03 linking and acceleratingMod03 linking and accelerating
Mod03 linking and acceleratingPeter Haase
 
Mod01 tns e overview
Mod01 tns e overviewMod01 tns e overview
Mod01 tns e overviewPeter Haase
 

Más de Peter Haase (8)

Digitalisierung - Datenschutz - IT-Sicherheit
Digitalisierung - Datenschutz - IT-SicherheitDigitalisierung - Datenschutz - IT-Sicherheit
Digitalisierung - Datenschutz - IT-Sicherheit
 
EU General Data Protection Regulation
EU General Data Protection RegulationEU General Data Protection Regulation
EU General Data Protection Regulation
 
Sicherheitsprüfung für HP NonStop Systeme
Sicherheitsprüfung für HP NonStop SystemeSicherheitsprüfung für HP NonStop Systeme
Sicherheitsprüfung für HP NonStop Systeme
 
Mod06 new development tools
Mod06 new development toolsMod06 new development tools
Mod06 new development tools
 
Mod04 debuggers
Mod04 debuggersMod04 debuggers
Mod04 debuggers
 
Mod03 linking and accelerating
Mod03 linking and acceleratingMod03 linking and accelerating
Mod03 linking and accelerating
 
Mod02 compilers
Mod02 compilersMod02 compilers
Mod02 compilers
 
Mod01 tns e overview
Mod01 tns e overviewMod01 tns e overview
Mod01 tns e overview
 

Último

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Último (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Mod05 application migration

  • 2. NonStop S-Series to Integrity NonStopNonStop S-Series to Integrity NonStop Migration PathsMigration Paths migration paths: ◦ S-series TNS Mode to Integrity NonStop TNS Mode ◦ TNS/R Native Mode to TNS/E Native Mode 5 - Application Migration 2 TNS Mode Native Mode TNS Mode Native Mode S-series System (TNS/R) Integrity NonStop System (TNS/E)
  • 3. NonStop S-Series TNS Mode toNonStop S-Series TNS Mode to Integrity NonStop TNS ModeIntegrity NonStop TNS Mode ◦ Any TNS Guardian program that runs on an S-series platform should run on an Integrity NonStop with no changes ◦ TNS Guardian object code can be emulated by an interpreter ◦ TNS Guardian object code accelerated in TNS/R system can be accelerated again in TNS/E system  Object file can contain both accelerated versions ◦ TNS execution is not supported in the HP NonStop Open System Services (OSS) environment 5 - Application Migration 3
  • 4. TNS/R Native Mode toTNS/R Native Mode to TNS/E Native ModeTNS/E Native Mode Migrating object code running in TNS/R native mode to run inTNS/E native mode usually requires only a recompilation using a TNS/E native compiler, except: ◦ In a few cases, source code needs changes  For example, conditional compilation:  “ if <TNS/R> … else … “ (TNS meant) ◦ To incorporate some of the new H- or J-series features into the application for performance improvement and other benefits ◦ Some features considered obsolete in the TNS/R native programming languages are not supported in the TNS/E native version of the language 5 - Application Migration 4
  • 5. Preparing Programs for MigrationPreparing Programs for Migration ◦ Be sure the program runs successfully on the G06.20 or later G-series ReleaseVersion Update (RVU) ◦ If the program runs on an earlier RVU, see the following documents and upgrade:  G06.xx Software Installation and Upgrade Guide  G06.xx ReleaseVersion Update Compendium  Interactive Upgrade Guide and Interactive Upgrade Guide 2 5 - Application Migration 5
  • 6. Maintaining Common Source CodeMaintaining Common Source Code ◦ Most TNS/R native programs will require no changes to migrate them to an Integrity NonStop system ◦ When maintaining a common source code for TNS/R and TNS/E native compilers:  Do not use any of the new H- or J-series features  Avoid using those few features in the TNS/R programs that are not supported in the H- or J-series RVUs 5 - Application Migration 6
  • 7. Alignment of DataAlignment of Data ◦ Different compilers align data items differently:  TNS compilers align data on even-byte boundaries  TNS/R and TNS/E compilers align 4-byte data items on 4-byte boundaries  TNS/E compilers also align 8-byte data items on 8-byte boundaries  TNS/E native POOL_GETSPACE_, GETPOOL, and malloc procedures allocate buffers aligned on 16-byte boundaries ◦ Programming errors or run-time events can cause a data item to violate the data alignment rules and can change the behavior of the program. ◦ use EPTRACE ◦ Applications bound into GDSX must be recompiled. ◦ Because of 16-byte alignment in DEFINEPOOL 5 - Application Migration 7
  • 8. Adjusting for Increased DCT LimitsAdjusting for Increased DCT Limits ◦ The maximum size of the Destination Control Table (DCT) can be optionally increased from 32,767 to 65,376 as of G06.23 RVU and H-series  The default setting for the extended DCT limit is:  OFF for G06.23 or later RVU  OFF for H-series RVU (originally proposed to be on) ◦ The affected programs are those that call the following C-series procedures:  FILEINFO  GETDEVNAME  GETPPDENTRY  GETSYSTEMNAME  LOCATESYSTEM  LOOKUPPROCESSNAME 5 - Application Migration 8
  • 9. Adjusting for Increased DCT LimitsAdjusting for Increased DCT Limits C-Series Procedure Replacement Procedure FILEINFO FILE_GETINFOLIST_ GETDEVNAME DEVICE_GETINFOBYLDEV_, CONFIG_GETINFOBYLDEV_, CONFIG_GETINFOBYLDEV2_, FILENAME_FINDSTART_, FILENAME_FINDNEXT_ GETPPDENTRY PROCESS_GETPAIRINFO_ GETSYSTEMNAME NODENUMBER_TO_NODENAME_ LOCATESYSTEM NODENAME_TO_NODENUMBER_ LOOKUPPROCESSNAME PROCESS_GETPAIRINFO_ 5 - Application Migration 9 To migrate the affected programs: ◦ Change programs to use replacement procedures ◦ Use SCF to reset the DCT limits extension to ON
  • 10. TNS/E pTAL CompilerTNS/E pTAL Compiler ◦ All TNS/R pTAL programs must be recompiled with the TNS/E pTAL compiler. ◦ Most of the features and constructs of TNS/R pTAL are supported in TNS/E pTAL, except:  Some privileged operations  Some features, such as SRL, that are not supported in H-series RVUs  Features considered obsolete in TNS/E pTAL ◦ All code produced by the TNS/E compilers is position-independent code (PIC), which can be used to create DLLs. 5 - Application Migration 10
  • 11. pTAL Compiler DirectivespTAL Compiler Directives ◦ Compiler directives that must be removed or changed:  SAVEGLOBALS: not supported  USEGLOBALS: not supported  NOCALL_SHARED: the compiler generates PIC only  NOGP_OK: not needed; SRLs are not supported  TARGET:TNS_R_TARGET option is not accepted. Replaced by TNS_E_TARGET ◦ Compiler directives that are obsolete and are ignored by the compiler (a warning is issued):  BEGINCOMPILATION: not supported and is ignored  SRL: not supported and warning is issued  GP_OK, PUSHGP_OK, POPGP_OK, and NOGP_OK: these SRL-related directives are ignored by the compiler 5 - Application Migration 11
  • 12. pTAL Compiler DirectivespTAL Compiler Directives ◦ Compiler directives that have different behavior and may require source code changes:  OPTIMIZEFILE: warnings are issued in certain conditions  OVERFLOW_TRAPS and NOOVERFLOW_TRAPS: In TNS/R pTAL, OVERFLOW_TRAPS is the default, but in TNS/E pTAL, NOOVERFLOW_TRAPS is the default 5 - Application Migration 12
  • 13. pTAL Functions and ProcedurespTAL Functions and Procedures ◦ Functions and procedures that are not supported and should be replaced with H- or J-series directly-called privileged interface:  $EXECUTIO, $INTERROGATEIO, $INTERROGATEHIO, $LOCATESPTHDR, $LOCKPAGE, $READBASELIMIT, $READSPT, $UNLOCKPAGE, and $WRITEPTE ◦ Functions and procedures that are changed:  $AXADR: Replace with standard interface  $FREEZE: Replace with the $TRIGGER function.  $HALT: Replace with the $TRIGGER function.  $STACK_ALLOCATE: Perform different rounding and alignment.  Address of allocated area aligned to 16-byte boundary  Size of allocated area rounded up to the multiple of 16 bytes 5 - Application Migration 13
  • 14. Other pTAL Migration TasksOther pTAL Migration Tasks ◦ Procedure attributes  TNS/E pTAL does not support the INTERRUPT procedure attribute ◦ 16-byte-aligned data  The TNS/E pTAL compiler provides STRUCTALIGN (MAXALIGN) attribute.This attribute causes data to be aligned on the maximum alignment defined for the platform, which is 16 bytes for TNS/E platform. 5 - Application Migration 14
  • 15. Other pTAL Migration TasksOther pTAL Migration Tasks ◦ FIELDALIGN directive in mixed language programming  FIELDALIGN (PLATFORM) causes the pTAL compiler to use the same data alignment as other compilers on the same platform  FIELDALIGN (AUTO) allows the pTAL compiler to determine data alignment based on what is most efficient ◦ Functions that return condition code and value:  TNS/E pTAL compiler issues warning  Not callable from C/C++  TNS/R pTAL 64-bit workaround no longer works  Write jacket procedure in pTAL 5 - Application Migration 15
  • 16. TNS/E Native C/C++ CompilersTNS/E Native C/C++ Compilers ◦ TNS/R and TNS/E native C/C++ compilers conform to the ISO/ANSI C language standard  Programs migrating from TNS/R most likely require no changes unless they depend on the underlying machine architecture or use undocumented features (mainly privileged features) ◦ C/C++ main routine object file name  In Guardian: CCPLMAIN  In OSS: cpplmain.o 5 - Application Migration 16
  • 17. Standard C++ Run-Time LibrariesStandard C++ Run-Time Libraries ◦ Three versions of the standard C++ library are available on NonStop systems:  VERSION1  Data structures and algorithm libraries  string, complex, and numeric_limits classes  Not supported on Integrity NonStop systems  Tools.h++ version 6.1 library  VERSION2  STL (Standard Template Library)  Memory management, language support, locale and exception handling features  Tools.h++ version 7 library  VERSION3  Conforms to ISO/IEC IS 14882:1998 (E) standard for C++  Does not support any version ofTools.h++ library 5 - Application Migration 17
  • 18. Native C/C++ Library MigrationNative C/C++ Library Migration ◦ Native C run-time library  Native C run-time library on S-series and on Integrity NonStop are nearly identical ◦ Native C++ run-time library  Migrating from C++VERSION2 andVERSION3 on S-series to the respective version on Integrity NonStop should require no additional source code changes  Migrating from C++VERSION1 on G-series to C++ VERSION2 on Integrity NonStop requires source code changes  If linking the program as a separate step, you must also specify the ZCPPCDLL and ZCPP2DLL on the eld command  Tools.h++ version 6.1, if any, should be migrated toTools.h++ version 7  Recommendation is to migrate toVERSION3 5 - Application Migration 18
  • 19. Native C/C++ Library MigrationNative C/C++ Library Migration ◦ Native C++ run-time library (Continued)  Migrating from C++VERSION1 on S-series to C++ VERSION3 on Integrity NonStop requires source code changes  The two versions are source code compatible; the only differences are in the names of header files  Requires source code changes to remove any use ofTools.h++ library  Migrating from C++VERSION2 on S-series to C++ VERSION3 on Integrity NonStop requires source code changes  It is recommended that you convert to C++VERSION3 on S-series, then to C++VERSION3 on Integrity NonStop  Requires source code changes to remove any use ofTools.h++ library 5 - Application Migration 19
  • 20. Changed Pragmas and FlagsChanged Pragmas and Flags ◦ The following pragmas and flags are either obsolete or have different behavior:  EXTERN_DATA GP_OK allows GP-relative addressing for external data references.This pragma is ignored and a warning is issued in TNS/E systems.  NON_SHARED pragma is ignored and a warning is issued  SRL pragmas or –Wsrl flag is ignored and a warning is issued  SRLExports or –Wsrlexports is ignored and a warning is issued  SRLExportMembers or –Wsrlexportmembers is ignored and a warning is issued  SRLName or –Wsrlname is ignored and a warning is issued 5 - Application Migration 20
  • 21. Changed Pragmas and FlagsChanged Pragmas and Flags ◦ The following pragmas and flags are either obsolete or have different behavior (Continued):  INSPECT  Controls the selection of the debugging tools.The order of precedence follows:  For S-series non-PIC:Visual Inspect, Inspect, DEBUG  For S-series PIC:Visual Inspect, DEBUG  For Integrity NonStop:Visual Inspect, Native Inspect  NOINSPECT  Controls the selection of the debugging tools.The order of precedence follows:  For S-series: DEBUG  For Integrity NonStop: Native Inspect 5 - Application Migration 21
  • 22. Changed Pragmas and FlagsChanged Pragmas and Flags ◦ The following pragmas and flags are either obsolete or have different behavior (Continued):  NLD or –Wnld is replaced with ELD or –Weld respectively  LD or –Wld is replaced with ELD or –Weld respectively  VERSION1 replaced withVERSION2 orVERSION3  –Wversion1 replaced with –Wversion2 or –Wversion3 5 - Application Migration 22
  • 23. Neutral C++ DialectNeutral C++ Dialect ◦ The neutral C++ dialect consists of library components that are sharable betweenVERSION2 andVERSION3 of the C++ standard libraries ◦ Permits middleware to supportVERSION2 and VERSION3 clients ◦ Two pragmas are provided in support of the neutral C++ dialect:  NEUTRAL: Marks a class definition as being sharable (allowed only in standard header files)  BUILD_NEUTRAL_LIBRARY: Used to create DLLs that use the neutral dialect. If this pragma is specified and the program references an object not marked with NEUTRAL, a compiler error is issued. 5 - Application Migration 23
  • 24. Other C/C++ MigrationTasksOther C/C++ MigrationTasks ◦ New C and C++ features  Pragmas  NEUTRAL: Marks an object as sharable betweenVERSION2 andVERSION3 of the C++ standard library  BUILD_NEUTRAL_LIBRARY: Build a DLL using the neutral C++ dialect  MAXALIGN:Aligns composite objects to the16-byte alignment, which is the maximum alignment supported by the compiler for some functions to work. Most programs will not need to declare the MAXALIGN pragma, as it is included in the standard header file that supplies the data type declaration. 5 - Application Migration 24
  • 25. Other C/C++ MigrationTasksOther C/C++ MigrationTasks ◦ New C and C++ features (Continued)  New 64-bit unsigned integer data type  Type declaration is unsigned long long  New functions for conversion between character strings and the 64-bit integer type:  strtoll — Converts a character string to a signed long long integer  strtoull — Converts a character string to an unsigned long long integer  wcstoll — Converts a wide-character string to a signed long long integer  wcstoull — Converts a wide-character string to an unsigned long long integer 5 - Application Migration 25
  • 26. Other C/C++ MigrationTasksOther C/C++ MigrationTasks ◦ Data type for 32-bit values in CEXTDECS file changes from long to int  When recompiling native TNS/R programs for the TNS/E environment, if  The parameter is passed by value: automatic type conversion is done and no warning is issued  The parameter is passed by reference: correct code is generated and the warning of mismatched data types is issued  One of the following actions may be taken, but is not required:  Use theWARN/NOWARN pragma or flag to suppress the warning message  Use the int type instead of the long type in the calling program  Use __int32_t typedef for 32-bit items 5 - Application Migration 26
  • 27. Other C/C++ MigrationTasksOther C/C++ MigrationTasks ◦ TNS/R and TNS/E systems use opposite conventions for returning quiet and signaling NaN (not-a-number) values ◦ Programs that depend on the TNS floating point format must specify the TANDEM_FLOAT pragma because the default floating-point format is IEEE ◦ Replace _TNS_R_TARGET feature test macro with _TNS_E_TARGET ◦ Use _TANDEM_ARCH_ feature test macro to identify the platform  0 for TNS, 1 for TNS/R and 2 for TNS/E 5 - Application Migration 27
  • 28. TNS/E Native COBOL CompilerTNS/E Native COBOL Compiler ◦ Supports the same functions and features as the TNS/R native COBOL compiler ◦ Compiles most TNS/R native COBOL programs and executes them correctly ◦ Any program called by a migrated application must also be migrated to TNS/E native mode ◦ All code produced by the compiler is PIC 5 - Application Migration 28
  • 29. COBOL Compiler DirectivesCOBOL Compiler Directives ◦ The following obsolete compiler directives cause a warning to be issued if they are not removed. No code change is required.  NON-SHARED: In a TNS/E system, all code is sharable PIC; therefore, this directive is ignored  LARGEDATA: In a TNS/E system, there is no distinction of data areas so this directive is ignored  LESS-CODE: In a TNS/E system, native COBOL does not support the option to use a system call to initialize the Extended-Storage Section and this directive has no effect 5 - Application Migration 29
  • 30. COBOL Compiler DirectivesCOBOL Compiler Directives ◦ The following compiler directives have different meanings and changes may be required  UL: Has the same effect as the SHARED directive. If used with CALL-SHARED or SHARED, can cause an error. If used with RUNNABLE, causes the compiler to link the object file into a DLL.  SEARCH and CONSULT: These must specify TNS/E object files  OPTIMIZE:  0 no optimization  1 produces optimization for use with debugging  2 produces full optimization  INSPECT: If available, selectsVisual Inspect over Native Inspect as the debugging tool  NOINSPECT: Selects Native Inspect as the debugging tool 5 - Application Migration 30
  • 31. Other COBOL Migration TasksOther COBOL Migration Tasks ◦ Use of floating-point data  TNS/E native COBOL uses the IEEE format, not HP proprietary TNS format ◦ Alignment of Level-01 and Level-77 data items  are aligned on an 8-byte boundary  can be aligned on an 4-byte boundary by adding the SYNCHRONIZED clause to the declarations ◦ File names referenced in the following contexts are changed from NMCOBEX<n> to ECOBEX<n> where <n> is 0, 1 or T:  CONSULT, LIBRARY, and SEARCH directives  File-mnemonic clause of the SPECIAL-NAMES paragraph  OF or IN clause of the CALL or ENTER statement 5 - Application Migration 31
  • 32. User Library MigrationTasksUser Library MigrationTasks ◦ The user library is an object file that the operating system links to a program file at run time ◦ TNS/R native user libraries:  Non-PIC user library is a special form of shared run-time library (SRL)  PIC user library is a dynamic-link library (DLL) ◦ TNS/E supports PIC user libraries only ◦ Migrating either type of TNS/R native user library requires recompiling and relinking 5 - Application Migration 32
  • 33. User Library MigrationTasksUser Library MigrationTasks ◦ Migrating SRL-type of TNS/R native user library  For pTAL programs  Guardian environment: Use EPTAL with CALL_SHARED directive on the command line  PC: Use eptal with –shared flag on the command line  For C/C++ programs  Guardian environment: Use CCOMP or CPPCOMP  OSS environment or PC: Use c89 with –Wshared flag. Replace SRL with SHARED pragma  For COBOL programs  Guardian environment: Use ECOBOL with SHARED, ELD, and RUNNABLE directives on the command line (or in the source code)  OSS environment or PC: Use ecobol 5 - Application Migration 33
  • 34. User Library MigrationTasksUser Library MigrationTasks ◦ Migrating DLL-type of TNS/R native user library  For all programs  DLLs on TNS/E systems are functionally identical to DLLs on TNS/R systems  Recompile DLLs with TNS/E native compiler and link the object codes with TNS/E eld linker using same compiler directives and same linker flags 5 - Application Migration 34
  • 35. Floating-point Consistency ChecksFloating-point Consistency Checks ◦ Possible linkfile and loadfile floattype settings:  TANDEM_FLOAT  IEEE_FLOAT  NEUTRAL_FLOAT ◦ Set by compiler or eld ◦ Checks performed:  Link-time  TANDEM_FORMAT and IEEE_FORMAT can not be linked together  Override by setting floattype explicitly using eld  Run-time  Program file and Ordinary DLL must match or one be neutral  Override by setting float_lib_overrule using eld 5 - Application Migration 35
  • 36. Guardian API Migration TasksGuardian API Migration Tasks ◦ Procedures having different behavior  Different buffer alignment for GETPOOL and POOL_GETSPACE_ procedures  ForTNS/R native callers, the above procedures return pointers to 4-byte aligned buffers.  ForTNS/E native callers, the above procedures return pointers to 16-byte aligned buffers by default  Results may differ when the pool is already near capacity. It may not be possible to allocate as many data blocks on aTNS/E system as on aTNS/R system  DEBUG and PROCESS_DEBUG_ procedure invokes H- series debuggers  Visual Inspect, Native Inspect, or Inspect 5 - Application Migration 36
  • 37. Guardian API Migration TasksGuardian API Migration Tasks ◦ Procedures having new return values  PROCESSORTYPE procedure returns:  10 indicating an EPIC processor  PROCESSOR_GETNAME_ procedure returns:  For name parameter: NSE-A  For cpu-type-out parameter: 10  For cpu-model-out parameter: 1 to 92*  PROCESSOR_GETINFOLIST_ procedure returns:  For processor type: 10  For processor model number : 1 to 92*  For processor name: NSE-x  For processor full name: HP NonStop System EPIC Model x CPU  Number of IPUs for NSMA  TOSVERSION and REMOTETOSVERSION procedures return the value of R06 5 - Application Migration 37
  • 38. Guardian API Migration TasksGuardian API Migration Tasks ◦ Superseded procedures  The DELAY procedure is deprecated; it is superceded by the PROCESS_DELAY_ procedure ◦ New procedures to support process management enhancements  PROCESS_DELAY_  TIMER_START_  TIMER_STOP_  TS_NANOSECS_  TS_UNIQUE_COMPARE_  TS_UNIQUE_CONVERT_TO_JULIAN_  TS_UNIQUE_CREATE_ 5 - Application Migration 38
  • 39. Third-Party ToolsThird-Party Tools Ensure that any third-party tools you use are available for TNS/E systems: ◦ Development tools ◦ Code libraries ◦ Operations tools  Schedulers  Performance monitors  Backups 5 - Application Migration 39
  • 40. Data Dictionary MigrationData Dictionary Migration New DDL Compiler on TNS/E ◦ ?DICT This dictionary was created by a different version of the DDL compiler. It can be read but not updated by this DDL compiler. To convert your dictionary:  ?DDL TEMP  OUTPUT *  ?NODDL, DICT! ,COMMMENTS, SOURCE TEMP 5 - Application Migration 40
  • 42. 5 - Application Migration 42

Notas del editor

  1. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  2. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  3. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  4. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  5. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  6. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  7. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  8. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  9. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  10. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  11. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  12. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  13. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  14. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  15. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  16. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  17. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  18. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  19. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  20. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  21. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  22. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  23. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  24. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  25. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  26. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  27. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  28. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  29. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  30. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  31. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  32. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  33. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  34. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  35. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  36. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  37. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  38. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  39. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  40. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  41. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration
  42. NonStop H-Series and J-Series Operating Systems Application Migration Application Migration 5 - Application Migration