on 04-06-2016 11:42 AM
Hello Experts,
We have a requirements to add multiple TR's and import them in a sequence. We tried preparing scripts based on
We tried executing this on AS400 using Call QP2TERM from I series emulator. We got an error
"Error in TPSETTINGS: transdir not set.
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"
We have also tried executing from STRQSH, also trans directory has full permissions from which we executed scripts.
Is there any procedure I need to follow to execute in AS400?
Or is there any other procedure for this?
Please suggest.
Best Regards,
Amarnath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amarnath.
Run the tp command as <SID>ADM or OFR approprirate to your release/kernel.
Before,
Step 1 cd /usr/sap/trans/bin
For the tp import don't forget the pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL at end of the command, where SID is the domain controller system. That will be the reason for
Error in TPSETTINGS: transdir not set.
If you have the syntax correct, check you can display this file, to make sure is not an authorisation issue;
regards, Michael
Hi Michal,
I ran the scripts with SIDADM and here my domain controller is Dev box. My requirement is to add in Dev box itself.
Could you please help me to know where to run the scripts? Do you want me to run them in qp2term or qsh?
Please suggest, when I execute in qp2tem It is ending with some error displaying "" NOT EXPECTED IN LINE 10" . But tried with different options changing code but failed.
Please suggest.
Best Regards,
Amarnath
Hello Michael,
# Start of Script file
#! This script will add transports to buffer one by one sequentially.
# The list of transport should be given in transport_list.txt file where
# each transport should be in new line.
###
TPLIST=/usr/sap/trans/TrnScript/transport_list.txt
TPSTATUS=${TPLIST}.log
for i in `cat ${TPLIST}`
do
/usr/sap/DT9/SYS/exe/uc/linuxx86_64/tp addtobuffer $i DT9 u1 pf=/usr/sap/trans/bin/TP_DOMAIN_DT9.PFL
RC=$?
print "`date`...Transport ${i} Status RC=${RC}" >> ${TPSTATUS}
done
To be more clear I am facing "NOT EXPECTED" error in line 10 i.e.,
for i in `cat ${TPLIST}`
do
So there anything I could give a try?
Please suggest,
Best Regards,
Amarnath
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.