Checking a SAP connection

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
gpbarsky
Participant
Posts: 160
Joined: Tue May 06, 2003 8:20 pm
Location: Argentina

Checking a SAP connection

Post by gpbarsky »

[:)][:)][:)][:)][:)]

Hi again. Today I'm working hard....[:D]

From a MasterJob a job (let's call it BB), and job BB access to SAP R/3 via the plug in.

Sometimes the conection is not up, and the job aborts.

Is there a way to check the connection with SAP, without executing a job and waiting the end of the job ?

Would be great that it exists a function which receives some parameters (host, client number, user, password, etc.), and it checks if the connections is fine.

Do you know ? [?]

Thanks in advance.

[:)][:)][:)][:)][:)]

Guillermo P. Barsky
Buenos Aires - Argentina
Teej
Participant
Posts: 677
Joined: Fri Aug 08, 2003 9:26 am
Location: USA

Post by Teej »

quote:Originally posted by gpbarsky
[br]Is there a way to check the connection with SAP, without executing a job and waiting the end of the job ?


I do not know SAP, but I can tell you this:

Look in the SAP manual for any command line interface on the machine where DataStage is (UNIX or Windows). If there are any, you're home free. All you have to do is call the command from DataStage (before job/after job/job sequencer/et cetera...) and adjust your job's behavior accordingly.

-T.J.


* * *

... now if this can make breakfast, my life is complete.
Post Reply