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,

View Entire Topic
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.