cancel
Showing results for 
Search instead for 
Did you mean: 

SAPROUTER SNC - ERROR in Batch

Former Member
0 Kudos

Hello,

We have our SNC connection working between our site and SAPSERV2 as long as our call to saprouter is running in interactive mode. When we submit the job to batch using a CL (copied from 4soi.de) the connection does not work. The message in DEV_ROUT file we're seeing the following error:

ERROR GSS-API(maj): No credentials were supplied

It seems like the the job isn't seeing either env variables or the SIDOFR STMF in the SECUDE directory.

Any thoughts on why this works in the foreground from a command line, but not in batch as an autostart job, or just a submitted batch job?

Thanks,

Philip

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Philip,

if you follow the instructions at

http://www.easymarketplace.de/snc-iseries-setup.php

you set SECUDIR within the CL and it is not (necessarily) in directory /secude.

And you have to run the CL as SIDOFR.

Regards

Guido

Former Member
0 Kudos

Hello,

It turned out to be my CALL statement. I had SAPROUTER in all CAPS. It needed to be SAProuter. Now it is working fine.

Thanks,

Philip Stracener

Former Member
0 Kudos

Hello Philip,

for SBMJOB there is a parameter CPYENVVAR which has default value *NO.

Did you try with *YES?

Regards Guido

Former Member
0 Kudos

Hi Guido,

Yes I am specifying CPYENVVAR to *YES.

Thank you for your response.

Philip