Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

Prerequisites on Linux

The Perl support of JobScheduler engine should be switched to the latest Perl release (currently 5.18.2) (http://www.sos-berlin.com/jira/browse/JS-1096).

...

This library works with Perl versions 5.12.x, 5.14.x, 5.16.x too.

32Bit JobScheduler

  1. You have to install a 32Bit Perl or a 64Bit Perl with a additional 32Bit Perl interpreter
  2. Create 2 symlinks in the ./lib directory of the JobScheduler installation
    1. The first symlink with the name libperl.so have to point to the 32Bit Perl interpreter libperl.so of the Perl installation
    2. The second symlink with the name libsosperlscript.so have to point to the ./lib/libsosperlscript.<perl-version>.so.

...

Code Block
 [ERROR]  COM-80020009  DISP_E_EXCEPTION [begin] [] [COM-800401F8  CO_E_DLLNOTFOUND [CoGetClassObject] [perlScript], in Remote_module_instance_server::begin], method=call
 [info]   dlopen("libsosperlscript.so"): /install/path/of/jobscheduler/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /install/path/of/jobscheduler/lib/libsosperlscript.so)

64Bit JobScheduler

  1. You have to install a 64Bit Perl
  2. Create 2 symlinks in the ./lib directory of the JobScheduler installation
    1. The first symlink with the name libperl.so have to point to the 64Bit Perl interpreter libperl.so of the Perl installation
    2. The second symlink with the name libsosperlscript.so have to point to the ./lib/libsosperlscript.<perl-version>.so.

...

Code Block
 > ln -s /usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/CORE/libperl.so libperl.so
 > test -f libsosperlscript.so && rm libsosperlscript.so
 > ln -s libsosperlscript.5.18.2.so libsosperlscript.so

Set $PERL5LIB

The libsosperlscript.<perl-version>.so set the @INC variable from the environment where libsosperlscript.<perl-version>.so was compiled.
It can be different from your own Perl environment.
Type

...

Look at the article How I add_environment variables for more information how you change the environment of the JobScheduler.

Prerequisites on Windows

You have to install an current ActivePerl with the same number of bits like the JobScheduler.

Job Example

Now you can test the JobScheduler-Perl-API with e.g. the following job.

...