cancel
Showing results for 
Search instead for 
Did you mean: 

tp command does not work when started with source under redhat

benoit-schmid
Contributor
0 Kudos

Good aftenoon,


I add to add 146 transport requests after a system refresh.

I wanted to add these TRs with the command "tp addbuffer".

My sidadm user is running with csh.

When I run the following command, as user sidadm, it works.

tp addtobuffer DEVK926727 SID pf=/usr/sap/trans/bin/TP_DOMAIN_XXX.PFL

If I copy this command in a file (eg tp.cmd), and run run source tp.cmd, there is the following error.

###

This is tp version 380.69.67 (release 745)
Error in /usr/sap/trans/bin/TP_DOMAIN_SID.PFL

: transdir not set.
E-/usr/sap/trans/bin/TP_DOMAIN_SID.PFL

could not be opened.
EXIT

tp returncode summary:

TOOLS: Highest return code of single steps was: 0
ERRORS: Highest tp internal error was: 0208
tp finished with return code: 208
meaning:
error in transport profile (parameter missing or unknown)

###

1. Would you know why I have this change of behavior, if I use source?

2. How do you proceed when you need to add more than one hundred TRs in a buffer?

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

benoit-schmid
Contributor
0 Kudos

Good afternoon,

It turned out that the problem is caused by the fact that the file contains a control M at the end because it was generated on Windows.

This character generates an error, when tp is executed on Unix.

SAP support told me that we clearly see the problem in the error message 😞

Regards.

Answers (5)

Answers (5)

patelyogesh
Active Contributor
0 Kudos

Did you run this command with client number ?

I also forgot to mention that you need to run this command with sidadm user

-Yogesh

patelyogesh
Active Contributor
0 Kudos

Did you run this command with options like below

tp addtobuffer <TP-Req> <SID> Client=<Number> pf=/usr/sap/trans/bin/TP_DOMAIN_<Domain_SID>.PFL

Generally this command runs successfully if you run it in TP Domain controller system

benoit-schmid
Contributor
0 Kudos

Good morning,

From the domain controller, there is the same error.

Regards.

patelyogesh
Active Contributor
0 Kudos

Try running it in Transport domain controller server

benoit-schmid
Contributor

Hello,


Why do you want me to perform this?

What are you suspecting?

Regards,

patelyogesh
Active Contributor
0 Kudos

Did you tried to run this command on your Transport domain controller server?

benoit-schmid
Contributor
0 Kudos

Good morning,

No I tried to run it on the test system.

But the command in itself works fine. It is just when I run it with the source command, that it does not work,

Regards,

patelyogesh
Active Contributor
0 Kudos

Hello Benoît Schmid ,

Can you please check your TP_DOMAIN_XXX.PFL have line as below?

TRANSDIR = \\<path>\sapmnt\trans

OR

You might able to forward transports from one system buffer to another.

Thank you

Yogesh

benoit-schmid
Contributor
0 Kudos

Good morning,

The parameter transdir is set in our profile.

# grep -i trans TP_DOMAIN_SID.PFL
#This file was generated by the Transport Management System.
#transaction STMS.
#Transaction STMS. In the System Overview, you can distribute the TMS
TRANSDIR = /usr/sap/trans

Regards.