Showing posts with label Oracle SAP. Show all posts
Showing posts with label Oracle SAP. Show all posts

Thursday, July 17, 2025

SAP Oracle Database table migration to new tablespace using brtools

 issue:

we have requirement to move the table from tablespace A1 to B1 using brtools.

solution:

The below script and steps will take care the table movement to new tablespace without confirmation from the  user --brspace -u / -c force,it will force to continue.

brspace -u / -c force -f  tbreorg -s PSAPSR3 -o SAPSR3 -t /BIC/AZD_PUR8200 -n PSAPSR3TEST   -p 4


-f  tbreorg  ----> function name

-s PSAPSR3 ----> source schema tablespace name

 -o SAPSR3 ----> source schema tablespace name

-t /BIC/AZD_PUR8200 ---->  tables name that needs to be migrated

-n PSAPSR3TEST  ----> new  tablespace name

 -p 4   ---->parallel option

<server_name>:orab1p 67> brspace -u / -c force -f  tbreorg -s PSAPSR3 -o SAPSR3 -t /BIC/AZD_PUR8200 -n PSAPSR3TEST   -p 4

BR1001I BRSPACE 7.40 (47)

BR1002I Start of BRSPACE processing: sfrnodks.tbr 2025-07-17 11:22:10

BR0484I BRSPACE log file: /oracle/B1P/sapreorg/sfrnodks.tbr


BR0280I BRSPACE time stamp: 2025-07-17 11:22:11

BR1009I Name of database instance: B1P

BR1010I BRSPACE action ID: sfrnodks

BR1011I BRSPACE function ID: tbr

BR1012I BRSPACE function: tbreorg

BR0134I Unattended mode with 'force' active - no operator confirmation allowed


BR0280I BRSPACE time stamp: 2025-07-17 11:22:13

BR0813I Schema owners found in database B1P: SAPSR3*


BR0280I BRSPACE time stamp: 2025-07-17 11:22:14

BR0657I Input menu 353 # please enter/check input values

-------------------------------------------------------------------------------

Options for reorganization of tables: SAPSR3./BIC/AZD_PUR8200 (degree 1)


 1 * Reorganization action (action) ............ [reorg]

 2 - Reorganization mode (mode) ................ [online]

 3 - Create DDL statements (ddl) ............... [yes]

 4 ~ New destination tablespace (newts) ........ [PSAPSR3TEST]

 5 ~ Separate index tablespace (indts) ......... []

 6 - Parallel threads (parallel) ............... [4]

 7 ~ Table/index parallel degree (degree) ...... []

 8 ~ Category of initial extent size (initial) . []

 9 ~ Sort by fields of index (sortind) ......... []

10 # Index for IOT conversion (iotind) ......... [FIRST]

11 - Compression action (compress) ............. [none]

12 # LOB compression degree (lobcompr) ......... [medium]

13


Standard keys: c - cont, b - back, s - stop, r - refr

-------------------------------------------------------------------------------

BR0280I BRSPACE time stamp: 2025-07-17 11:22:14

BR0134I Unattended mode with 'force' active - continuing processing with default reply 'cont'


BR0280I BRSPACE time stamp: 2025-07-17 11:22:14

BR1108I Checking tables for reorganization...


BR0280I BRSPACE time stamp: 2025-07-17 11:22:14

BR1112I Number of tables selected/skipped for reorganization: 1/0


BR0370I Directory /oracle/B1P/sapreorg/sfrnodks created


BR0280I BRSPACE time stamp: 2025-07-17 11:22:15

BR1101I Starting 'online' table reorganization...

BR0280I BRSPACE time stamp: 2025-07-17 11:22:15

BR1124I Starting 'online' reorganization of table SAPSR3./BIC/AZD_PUR8200 ...

BR0280I BRSPACE time stamp: 2025-07-17 11:24:36

BR1105I Table SAPSR3./BIC/AZD_PUR8200 reorganized successfully


BR0280I BRSPACE time stamp: 2025-07-17 11:24:36

BR1141I 1 of 1 table processed - 23691300 of 23691300 rows done

BR0204I Percentage done: 100.00%, estimated end time: 11:24

BR0001I **************************************************


BR0280I BRSPACE time stamp: 2025-07-17 11:24:36

BR1102I Number of tables reorganized successfully: 1


BR0280I BRSPACE time stamp: 2025-07-17 11:24:37

BR1022I Number of tables processed: 1

BR1003I BRSPACE function 'tbreorg' completed


BR1008I End of BRSPACE processing: sfrnodks.tbr 2025-07-17 11:24:37

BR0280I BRSPACE time stamp: 2025-07-17 11:24:38

BR1005I BRSPACE completed successfully



Friday, November 26, 2021

what are the directories available for SAP oracle database on linux system?

*******directories for SAP DB related files********


/oracle/<SID>/sapcheck/ ==>it has log files ends with .sta (tells about stats collection) & .chk  (tells about brconnect error)


/oracle/<SID>/sapreorg ==>it has log files ends with *.tse (tells about tablespace extention)


/oracle/<SID>/saptrace ==>it has log filesusertrace,diag,Audit


/oracle/<SID>/sapbackup ==>it has log files for backup related


/oracle/<SID>/sapprof


/oracle/<SID>/sapdata1==>it has log datafile  for all tablespace


/oracle/<SID>/saparch


executable location:


usaws6970:oraSAP_DB1 58>pwd


/sapmnt/SAP_DB1/exe/uc/linuxx86_64



usaws6970:oraSAP_DB1 58> ls -ltr br*

-rwxr-xr-x 1 SAP_DB1adm sapsys    7578817 Mar 10  2020 brtools

-rwsrwsr-- 1 oracle oinstall  6852897 Mar 10  2020 brrestore

-rwsrwsr-- 1 oracle oinstall 14311924 Mar 10  2020 brspace

-rwsrwsr-- 1 oracle oinstall 11963744 Mar 10  2020 brrecover

-rwsrwsr-- 1 oracle oinstall 13719374 Mar 10  2020 brconnect

-rwsrwsr-- 1 oracle oinstall 11436039 Mar 10  2020 brbackup

-rwsrwsr-- 1 oracle oinstall 11350641 Mar 10  2020 brarchive

How does the SAP user gets authenticated to oracle SAP database?

 For the database, the SAP system is a single user, SAPR3 / SAP<SAPSID>, whose password is stored in the table SAPUSER. Therefore, to access the database, the SAP System uses a mechanism called the OPS$ mechanism, which works as follows:


When the system accesses the database, it first logs on to the database as the user OPS$<operating_system_user>, for example, OPS$<SAPSID>adm.


(The OPS$ user that corresponds to the operating system user must be defined in the database and identified as externally.

It retrieves the password for SAPR3 from the SAPUSER table.

It logs on to the database as the user SAPR3 or /SAPR3DB.


OPS$ORACLE                         10-JAN-21

OPS$ORA<SID>                     10-JAN-21

OPS$<SID>ADM                     10-JAN-21


Monday, August 30, 2021

How to Reset user password using BRtools in oracle SAP database?

 steps to Reset user password  using BRtools in oracle SAP database:


linux_server>:oraoradb1 26> brtools

BR0651I BRTOOLS 7.20 (22)


BR0280I BRTOOLS time stamp: 2021-08-24 12.38.55

BR0656I Choice menu 1 - please make a selection

-------------------------------------------------------------------------------

BR*Tools main menu


 1 = Instance management

 2 - Space management

 3 - Segment management

 4 - Backup and database copy

 5 - Restore and recovery

 6 - Check and verification

 7 - Database statistics

 8 - Additional functions

 9 - Exit program


Standard keys: c - cont, b - back, s - stop, r - refr, h - help

-------------------------------------------------------------------------------

BR0662I Enter your choice:

8

BR0280I BRTOOLS time stamp: 2021-08-24 12.38.59

BR0663I Your choice: '8'


BR0280I BRTOOLS time stamp: 2021-08-24 12.38.59

BR0656I Choice menu 2 - please make a selection

-------------------------------------------------------------------------------

Additional BR*Tools functions


 1 = Show profiles and logs

 2 - Clean up DBA logs and tables

 3 - Adapt NEXT extents

 4 - Change password of database user

 5 - Create/change synonyms for DBA tables

 6 - Reset program status


Standard keys: c - cont, b - back, s - stop, r - refr, h - help

-------------------------------------------------------------------------------

BR0662I Enter your choice:

4

BR0280I BRTOOLS time stamp: 2021-08-24 12.39.06

BR0663I Your choice: '4'


BR0280I BRTOOLS time stamp: 2021-08-24 12.39.06

BR0657I Input menu 59 - please enter/check input values

-------------------------------------------------------------------------------

BRCONNECT options for changing password of database user


 1 - BRCONNECT profile (profile) ............... [initoradb1.sap]

 2 - Database user/password (user) ............. [/]

 3 ~ Database owner to change password (owner) . []

 4 ~ Log file name (log) ....................... []

 5 - Message language (language) ............... [E]

 6 - BRCONNECT command line (command) .......... [-p initoradb1.sap -l E -f chpass]


Standard keys: c - cont, b - back, s - stop, r - refr, h - help

-------------------------------------------------------------------------------

BR0662I Enter your choice:

3

BR0280I BRTOOLS time stamp: 2021-08-24 12.39.23

BR0663I Your choice: '3'

BR0681I Enter string value for "owner" []:

TEST_USER

BR0280I BRTOOLS time stamp: 2021-08-24 12.39.26

BR0683I New value for "owner": 'TEST_USER'


BR0280I BRTOOLS time stamp: 2021-08-24 12.39.26

BR0657I Input menu 59 - please enter/check input values

-------------------------------------------------------------------------------

BRCONNECT options for changing password of database user


 1 - BRCONNECT profile (profile) ............... [initoradb1.sap]

 2 - Database user/password (user) ............. [/]

 3 ~ Database owner to change password (owner) . [TEST_USER]

 4 ~ Log file name (log) ....................... []

 5 - Message language (language) ............... [E]

 6 - BRCONNECT command line (command) .......... [-p initoradb1.sap -l E -f chpass -o TEST_USER]


Standard keys: c - cont, b - back, s - stop, r - refr, h - help

-------------------------------------------------------------------------------

BR0662I Enter your choice:

c

BR0280I BRTOOLS time stamp: 2021-08-24 12.39.30

BR0663I Your choice: 'c'

BR0259I Program execution will be continued...


BR0291I BRCONNECT will be started with options '-p initoradb1.sap -l E -f chpass -o TEST_USER'


BR0280I BRTOOLS time stamp: 2021-08-24 12.39.30

BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:

c

BR0280I BRTOOLS time stamp: 2021-08-24 12.39.36

BR0257I Your reply: 'c'

BR0259I Program execution will be continued...


###############################################################################


BR0801I BRCONNECT 7.20 (22)

BR0280I BRCONNECT time stamp: 2021-08-24 12.39.37

BR1048I Enter new password for database user 'TEST_USER' (max. 30 characters):

BR0280I BRCONNECT time stamp: 2021-08-24 12.39.54

BR1048I Reenter new password for database user 'TEST_USER' (max. 30 characters):

BR0280I BRCONNECT time stamp: 2021-08-24 12.39.58

BR0829I Password changed successfully in database for user TEST_USER


BR0280I BRCONNECT time stamp: 2021-08-24 12.39.58

BR0802I BRCONNECT completed successfully


###############################################################################


BR0292I Execution of BRCONNECT finished with return code 0


BR0280I BRTOOLS time stamp: 2021-08-24 12.39.58

BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRTOOLS:

s

BR0280I BRTOOLS time stamp: 2021-08-24 12.40.06

BR0257I Your reply: 's'

BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:

y

BR0280I BRTOOLS time stamp: 2021-08-24 12.40.09

BR0257I Your reply: 'y'

BR0260E BRTOOLS cancelled by user


BR0280I BRTOOLS time stamp: 2021-08-24 12.40.09

BR0654I BRTOOLS terminated with errors


*************************************************************************************

There wont be Brtools entry for password reset in alert log

**************************************************************************************

Sunday, August 8, 2021

How to recreate undo tablespace in oracle SAP database using BRtools?

 SQL> select tablespace_name, status, count(*) from dba_rollback_segs group by tablespace_name, status;

TABLESPACE_NAME                STATUS             COUNT(*)


------------------------------ ---------------- ----------


PSAPUNDO                       OFFLINE                 321


SYSTEM                         ONLINE                    1


PSAPUNDO2                      ONLINE                  321


SYSTEM                         OFFLINE                   1


 

alter system set undo_tablespace = PSAPUNDO scope=spfile;

SQL> select tablespace_name, status, count(*) from dba_rollback_segs group by tablespace_name, status;

TABLESPACE_NAME                STATUS             COUNT(*)


------------------------------ ---------------- ----------


PSAPUNDO2                      OFFLINE                 321


SYSTEM                         ONLINE                    1


PSAPUNDO                       ONLINE                  321


SYSTEM                         OFFLINE                   1


 


Drop tablespace PSAPUNDO2 including contents and datafiles;

SQL> select file_name from dba_data_files where tablespace_name='PSAPUNDO2';


FILE_NAME


--------------------------------------------------------------------------------


/oracle/ORA_DB/sapdata888/undo_11/undo.data12


 


SQL> Drop tablespace PSAPUNDO2 including contents and datafiles;


 


Tablespace dropped.


 


SQL> !ls -ltr /oracle/ORA_DB/sapdata888/undo_11/undo.data12


/oracle/ORA_DB/sapdata888/undo_11/undo.data12 not found


 


Linux_server>:oraORA_DB 37> brtools


BR0651I BRTOOLS 7.20 (42)


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.02


BR0656I Choice menu 1 - please make a selection


-------------------------------------------------------------------------------


BR*Tools main menu


 


1 = Instance management


2 - Space management


3 - Segment management


4 - Backup and database copy


5 - Restore and recovery


6 - Check and verification


7 - Database statistics


8 - Additional functions


9 - Exit program


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


2


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.04


BR0663I Your choice: '2'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.04


BR0656I Choice menu 5 - please make a selection


-------------------------------------------------------------------------------


Database space management


 


1 = Extend tablespace


2 - Create tablespace


3 - Drop tablespace


4 - Alter tablespace


5 - Alter data file


6 - Move data file


7 - Additional space functions


8 - Reset program status


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


4


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.10


BR0663I Your choice: '4'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.10


BR0657I Input menu 84 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for alter tablespace


 


1 - BRSPACE profile (profile) ........ [initORA_DB.sap]


2 - Database user/password (user) .... [/]


3 ~ Alter tablespace action (action) . []


4 ~ Tablespace names (tablespace) .... []


5 - Confirmation mode (confirm) ...... [yes]


6 - Scrolling line count (scroll) .... [20]


7 - Message language (language) ...... [E]


8 - BRSPACE command line (command) ... [-p initORA_DB.sap -s 20 -l E -f tsalter]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


4


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.19


BR0663I Your choice: '4'


BR0681I Enter string value for "tablespace" []:


PSAPUNDO


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.25


BR0683I New value for "tablespace": 'PSAPUNDO'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.25


BR0657I Input menu 84 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for alter tablespace


 


1 - BRSPACE profile (profile) ........ [initORA_DB.sap]


2 - Database user/password (user) .... [/]


3 ~ Alter tablespace action (action) . []


4 ~ Tablespace names (tablespace) .... [PSAPUNDO]


5 - Confirmation mode (confirm) ...... [yes]


6 - Scrolling line count (scroll) .... [20]


7 - Message language (language) ...... [E]


8 - BRSPACE command line (command) ... [-p initORA_DB.sap -s 20 -l E -f tsalter -t PSAPUNDO]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.41


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR0291I BRSPACE will be started with options '-p initORA_DB.sap -s 20 -l E -f tsalter -t PSAPUNDO'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.41


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


c


BR0280I BRTOOLS time stamp: 2021-07-30 10.39.44


BR0257I Your reply: 'c'


BR0259I Program execution will be continued...


 


###############################################################################


 


BR1001I BRSPACE 7.20 (42)


BR1002I Start of BRSPACE processing: sfgzuylt.tsa 2021-07-30 10.39.45


BR0484I BRSPACE log file: /oracle/ORA_DB/sapreorg/sfgzuylt.tsa


 


BR0280I BRSPACE time stamp: 2021-07-30 10.39.54


BR1009I Name of database instance: ORA_DB


BR1010I BRSPACE action ID: sfgzuylt


BR1011I BRSPACE function ID: tsa


BR1012I BRSPACE function: tsalter


 


BR0280I BRSPACE time stamp: 2021-07-30 10.39.54


BR0656I Choice menu 311 - please make a selection


-------------------------------------------------------------------------------


Alter tablespace main menu


 


1 - Set tablespace online


2 - Set tablespace offline


3 - Set backup status


4 - Reset backup status


5 - Coalesce free extents


6 - Rename tablespace


7 - Show tablespaces


8 - Show data files


9 * Exit program


10 - Reset program status


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


s


BR0280I BRSPACE time stamp: 2021-07-30 10.40.12


BR0663I Your choice: 's'


BR0679I Do you really want to cancel BRSPACE? Enter y[es]/n[o]:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.40.15


BR0257I Your reply: 'y'


BR0260E BRSPACE cancelled by user


 


BR1008I End of BRSPACE processing: sfgzuylt.tsa 2021-07-30 10.40.15


BR0280I BRSPACE time stamp: 2021-07-30 10.40.15


BR1007I BRSPACE terminated with errors


 


###############################################################################


 


BR0292I Execution of BRSPACE finished with return code 2


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.15


BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


s


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.17


BR0257I Your reply: 's'


BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:


y


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.19


BR0257I Your reply: 'y'


BR0260E BRTOOLS cancelled by user


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.19


BR0654I BRTOOLS terminated with errors


Linux_server>:oraORA_DB 38> brtools


BR0651I BRTOOLS 7.20 (42)


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.22


BR0656I Choice menu 1 - please make a selection


-------------------------------------------------------------------------------


BR*Tools main menu


 


1 = Instance management


2 - Space management


3 - Segment management


4 - Backup and database copy


5 - Restore and recovery


6 - Check and verification


7 - Database statistics


8 - Additional functions


9 - Exit program


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


2


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.33


BR0663I Your choice: '2'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.33


BR0656I Choice menu 5 - please make a selection


-------------------------------------------------------------------------------


Database space management


 


1 = Extend tablespace


2 - Create tablespace


3 - Drop tablespace


4 - Alter tablespace


5 - Alter data file


6 - Move data file


7 - Additional space functions


8 - Reset program status


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


1


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.37


BR0663I Your choice: '1'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.37


BR0657I Input menu 81 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for tablespace extension


 


1 - BRSPACE profile (profile) ...... [initORA_DB.sap]


2 - Database user/password (user) .. [/]


3 ~ Tablespace name (tablespace) ... []


4 - Confirmation mode (confirm) .... [yes]


5 - Scrolling line count (scroll) .. [20]


6 - Message language (language) .... [E]


7 - BRSPACE command line (command) . [-p initORA_DB.sap -s 20 -l E -f tsextend]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


3


BR0280I BRTOOLS time stamp: 2021-07-30 10.40.55


BR0663I Your choice: '3'


BR0681I Enter string value for "tablespace" []:


PSAPUNDO


BR0280I BRTOOLS time stamp: 2021-07-30 10.41.00


BR0683I New value for "tablespace": 'PSAPUNDO'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.41.00


BR0657I Input menu 81 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for tablespace extension


 


1 - BRSPACE profile (profile) ...... [initORA_DB.sap]


2 - Database user/password (user) .. [/]


3 ~ Tablespace name (tablespace) ... [PSAPUNDO]


4 - Confirmation mode (confirm) .... [yes]


5 - Scrolling line count (scroll) .. [20]


6 - Message language (language) .... [E]


7 - BRSPACE command line (command) . [-p initORA_DB.sap -s 20 -l E -f tsextend -t PSAPUNDO]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRTOOLS time stamp: 2021-07-30 10.41.21


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR0291I BRSPACE will be started with options '-p initORA_DB.sap -s 20 -l E -f tsextend -t PSAPUNDO'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.41.21


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


c


BR0280I BRTOOLS time stamp: 2021-07-30 10.41.23


BR0257I Your reply: 'c'


BR0259I Program execution will be continued...


 


###############################################################################


 


BR1001I BRSPACE 7.20 (42)


BR1002I Start of BRSPACE processing: sfgzuypo.tse 2021-07-30 10.41.24


BR0484I BRSPACE log file: /oracle/ORA_DB/sapreorg/sfgzuypo.tse


 


BR0280I BRSPACE time stamp: 2021-07-30 10.41.27


BR1009I Name of database instance: ORA_DB


BR1010I BRSPACE action ID: sfgzuypo


BR1011I BRSPACE function ID: tse


BR1012I BRSPACE function: tsextend


 


BR0280I BRSPACE time stamp: 2021-07-30 10.41.53


BR0657I Input menu 303 - please enter/check input values


-------------------------------------------------------------------------------


Options for extension of tablespace PSAPUNDO (1. file)


 


1 * Last added file name (lastfile) ....... [/oracle/ORA_DB/sapdata888/undo_3/undo.data3]


2 * Last added file size in MB (lastsize) . [11000]


3 - New file to be added (file) ........... [/oracle/ORA_DB/sapdata888/undo_4/undo.data4]


4 ~ Raw disk / link target (rawlink) ...... []


5 - Size of the new file in MB (size) ..... [11000]


6 - File autoextend mode (autoextend) ..... [no]


7 # Maximum file size in MB (maxsize) ..... []


8 # File increment size in MB (incrsize) .. []


9 - SQL command (command) ................. [alter tablespace PSAPUNDO add datafile '/oracle/ORA_DB/sapdata888/undo_4/undo.data4' size 11000M autoextend off]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.42.04


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR1091I Next data file can be specified now


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.04


BR0675I This is a optional action - do you want to execute it now?


BR0676I Enter 'y[es]' to execute the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.42.08


BR0257I Your reply: 'y'


BR0677I The action will be executed...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.08


BR0657I Input menu 303 - please enter/check input values


-------------------------------------------------------------------------------


Options for extension of tablespace PSAPUNDO (2. file)


 


1 * Last added file name (lastfile) ....... [/oracle/ORA_DB/sapdata888/undo_3/undo.data3]


2 * Last added file size in MB (lastsize) . [11000]


3 - New file to be added (file) ........... [/oracle/ORA_DB/sapdata888/undo_5/undo.data5]


4 ~ Raw disk / link target (rawlink) ...... []


5 - Size of the new file in MB (size) ..... [11000]


6 - File autoextend mode (autoextend) ..... [no]


7 # Maximum file size in MB (maxsize) ..... []


8 # File increment size in MB (incrsize) .. []


9 - SQL command (command) ................. [alter tablespace PSAPUNDO add datafile '/oracle/ORA_DB/sapdata888/undo_4/undo.data4' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_5/undo.data5' size 11000M autoextend off]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.42.12


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR1091I Next data file can be specified now


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.12


BR0675I This is a optional action - do you want to execute it now?


BR0676I Enter 'y[es]' to execute the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.42.15


BR0257I Your reply: 'y'


BR0677I The action will be executed...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.15


BR0657I Input menu 303 - please enter/check input values


-------------------------------------------------------------------------------


Options for extension of tablespace PSAPUNDO (3. file)


 


1 * Last added file name (lastfile) ....... [/oracle/ORA_DB/sapdata888/undo_3/undo.data3]


2 * Last added file size in MB (lastsize) . [11000]


3 - New file to be added (file) ........... [/oracle/ORA_DB/sapdata888/undo_6/undo.data6]


4 ~ Raw disk / link target (rawlink) ...... []


5 - Size of the new file in MB (size) ..... [11000]


6 - File autoextend mode (autoextend) ..... [no]


7 # Maximum file size in MB (maxsize) ..... []


8 # File increment size in MB (incrsize) .. []


9 - SQL command (command) ................. [alter tablespace PSAPUNDO add datafile '/oracle/ORA_DB/sapdata888/undo_4/undo.data4' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_5/undo.data5' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_6/undo.data6' size 11000M autoextend off]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.42.25


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR1091I Next data file can be specified now


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.25


BR0675I This is a optional action - do you want to execute it now?


BR0676I Enter 'y[es]' to execute the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.42.28


BR0257I Your reply: 'y'


BR0677I The action will be executed...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.28


BR0657I Input menu 303 - please enter/check input values


-------------------------------------------------------------------------------


Options for extension of tablespace PSAPUNDO (4. file)


 


1 * Last added file name (lastfile) ....... [/oracle/ORA_DB/sapdata888/undo_3/undo.data3]


2 * Last added file size in MB (lastsize) . [11000]


3 - New file to be added (file) ........... [/oracle/ORA_DB/sapdata888/undo_7/undo.data7]


4 ~ Raw disk / link target (rawlink) ...... []


5 - Size of the new file in MB (size) ..... [11000]


6 - File autoextend mode (autoextend) ..... [no]


7 # Maximum file size in MB (maxsize) ..... []


8 # File increment size in MB (incrsize) .. []


9 - SQL command (command) ................. [alter tablespace PSAPUNDO add datafile '/oracle/ORA_DB/sapdata888/undo_4/undo.data4' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_5/undo.data5' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_6/undo.data6' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_7/undo.data7' size 11000M autoextend off]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.42.32


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR1091I Next data file can be specified now


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.32


BR0675I This is a optional action - do you want to execute it now?


BR0676I Enter 'y[es]' to execute the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.42.34


BR0257I Your reply: 'y'


BR0677I The action will be executed...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.34


BR0657I Input menu 303 - please enter/check input values


-------------------------------------------------------------------------------


Options for extension of tablespace PSAPUNDO (5. file)


 


1 * Last added file name (lastfile) ....... [/oracle/ORA_DB/sapdata888/undo_3/undo.data3]


2 * Last added file size in MB (lastsize) . [11000]


3 - New file to be added (file) ........... [/oracle/ORA_DB/sapdata888/undo_8/undo.data8]


4 ~ Raw disk / link target (rawlink) ...... []


5 - Size of the new file in MB (size) ..... [11000]


6 - File autoextend mode (autoextend) ..... [no]


7 # Maximum file size in MB (maxsize) ..... []


8 # File increment size in MB (incrsize) .. []


9 - SQL command (command) ................. [alter tablespace PSAPUNDO add datafile '/oracle/ORA_DB/sapdata888/undo_4/undo.data4' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_5/undo.data5' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_6/undo.data6' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_7/undo.data7' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_8/undo.data8' size 11000M autoextend off]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.42.42


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR0370I Directory /oracle/ORA_DB/sapreorg/sfgzuypo created


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.48


BR0319I Control file copy created: /oracle/ORA_DB/sapreorg/sfgzuypo/cntrlORA_DB.old 133906432


 


BR0370I Directory /oracle/ORA_DB/sapdata888/undo_4 created


BR0370I Directory /oracle/ORA_DB/sapdata888/undo_5 created


BR0370I Directory /oracle/ORA_DB/sapdata888/undo_6 created


BR0370I Directory /oracle/ORA_DB/sapdata888/undo_7 created


BR0370I Directory /oracle/ORA_DB/sapdata888/undo_8 created


 


BR0280I BRSPACE time stamp: 2021-07-30 10.42.48


BR1088I Extending tablespace PSAPUNDO ...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.49.25


BR1016I SQL statement 'alter tablespace PSAPUNDO add datafile '/oracle/ORA_DB/sapdata888/undo_4/undo.data4' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_5/undo.data5' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_6/undo.data6' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_7/undo.data7' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_8/undo.data8' size 11000M autoextend off' executed successfully


 


BR1051I Tablespace PSAPUNDO extended successfully with files:


/oracle/ORA_DB/sapdata888/undo_4/undo.data4 11000M,


/oracle/ORA_DB/sapdata888/undo_5/undo.data5 11000M,


/oracle/ORA_DB/sapdata888/undo_6/undo.data6 11000M,


/oracle/ORA_DB/sapdata888/undo_7/undo.data7 11000M,


/oracle/ORA_DB/sapdata888/undo_8/undo.data8 11000M


 


BR0280I BRSPACE time stamp: 2021-07-30 10.49.26


BR0340I Switching to the next online redolog file for database instance ORA_DB ...


BR0321I Switch to the next online redolog file for database instance ORA_DB successful


 


BR0280I BRSPACE time stamp: 2021-07-30 10.49.32


BR0319I Control file copy created: /oracle/ORA_DB/sapreorg/sfgzuypo/cntrlORA_DB.new 133906432


 


BR0280I BRSPACE time stamp: 2021-07-30 10.49.32


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


s


BR0280I BRSPACE time stamp: 2021-07-30 10.50.21


BR0257I Your reply: 's'


BR0679I Do you really want to cancel BRSPACE? Enter y[es]/n[o]:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.50.24


BR0257I Your reply: 'y'


BR0260E BRSPACE cancelled by user


 


BR1008I End of BRSPACE processing: sfgzuypo.tse 2021-07-30 10.50.24


BR0280I BRSPACE time stamp: 2021-07-30 10.50.24


BR1007I BRSPACE terminated with errors


 


###############################################################################


 


BR0292I Execution of BRSPACE finished with return code 4


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.50.24


BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


s


BR0280I BRTOOLS time stamp: 2021-07-30 10.50.26


BR0257I Your reply: 's'


BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:


y


BR0280I BRTOOLS time stamp: 2021-07-30 10.50.28


BR0257I Your reply: 'y'


BR0260E BRTOOLS cancelled by user


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.50.28


BR0654I BRTOOLS terminated with errors


How to create new UNDO tablespace in oracle SAP database using brtools?

 Linux_server>:oraORA_DB 27>brtools

-------------------------------------------------------------------------------


BR*Tools main menu


 


1 = Instance management


2 - Space management


3 - Segment management


4 - Backup and database copy


5 - Restore and recovery


6 - Check and verification


7 - Database statistics


8 - Additional functions


9 - Exit program


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


2


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.19


BR0663I Your choice: '2'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.19


BR0656I Choice menu 5 - please make a selection


-------------------------------------------------------------------------------


Database space management


 


1 = Extend tablespace


2 - Create tablespace


3 - Drop tablespace


4 - Alter tablespace


5 - Alter data file


6 - Move data file


7 - Additional space functions


8 - Reset program status


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


2


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.21


BR0663I Your choice: '2'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.21


BR0657I Input menu 82 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for create tablespace


 


1 - BRSPACE profile (profile) ...... [initORA_DB.sap]


2 - Database user/password (user) .. [/]


3 ~ Tablespace name (tablespace) ... []


4 - Confirmation mode (confirm) .... [yes]


5 - Scrolling line count (scroll) .. [20]


6 - Message language (language) .... [E]


7 - BRSPACE command line (command) . [-p initORA_DB.sap -s 20 -l E -f tscreate]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


3


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.28


BR0663I Your choice: '3'


BR0681I Enter string value for "tablespace" []:


PSAPUNDO


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.38


BR0683I New value for "tablespace": 'PSAPUNDO'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.38


BR0657I Input menu 82 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for create tablespace


 


1 - BRSPACE profile (profile) ...... [initORA_DB.sap]


2 - Database user/password (user) .. [/]


3 ~ Tablespace name (tablespace) ... [PSAPUNDO]


4 - Confirmation mode (confirm) .... [yes]


5 - Scrolling line count (scroll) .. [20]


6 - Message language (language) .... [E]


7 - BRSPACE command line (command) . [-p initORA_DB.sap -s 20 -l E -f tscreate -t PSAPUNDO]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.46


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR0291I BRSPACE will be started with options '-p initORA_DB.sap -s 20 -l E -f tscreate -t PSAPUNDO'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.46


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


c


BR0280I BRTOOLS time stamp: 2021-07-30 10.19.50


BR0257I Your reply: 'c'


BR0259I Program execution will be continued...


 


###############################################################################


 


BR1001I BRSPACE 7.20 (42)


BR1002I Start of BRSPACE processing: sfgzuwru.tsc 2021-07-30 10.19.50


BR0484I BRSPACE log file: /oracle/ORA_DB/sapreorg/sfgzuwru.tsc


 


BR0280I BRSPACE time stamp: 2021-07-30 10.19.56


BR1009I Name of database instance: ORA_DB


BR1010I BRSPACE action ID: sfgzuwru


BR1011I BRSPACE function ID: tsc


BR1012I BRSPACE function: tscreate


 


BR0280I BRSPACE time stamp: 2021-07-30 10.20.02


BR0657I Input menu 305 - please enter/check input values


-------------------------------------------------------------------------------


Main options for creation of tablespace in database ORA_DB


 


1 - Tablespace name (tablespace) ......... [PSAPUNDO]


2 - Tablespace contents (contents) ....... [data]


3 - Segment space management (space) ..... [auto]


4 ? Database owner of tablespace (owner) . []


5 ~ Table data class / tabart (class) .... []


6 - Data type in tablespace (data) ....... [both]


7 # Joined index/table tablespace (join) . []


8 ~ Uniform size in MB (uniform) ......... []


9 - Bigfile tablespace (bigfile) ......... [no]


10 - Tablespace compression (compress) .... [no]


11 - Tablespace encryption (encryption) ... [no]


12 # Encryption algorithm (algorithm) ..... []


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


2


BR0280I BRSPACE time stamp: 2021-07-30 10.20.17


BR0663I Your choice: '2'


BR0681I Enter string value for "contents" (data|temp|undo) [data]:


undo


BR0280I BRSPACE time stamp: 2021-07-30 10.20.36


BR0683I New value for "contents": 'undo'


 


BR0280I BRSPACE time stamp: 2021-07-30 10.20.36


BR0657I Input menu 305 - please enter/check input values


-------------------------------------------------------------------------------


Main options for creation of tablespace in database ORA_DB


 


1 - Tablespace name (tablespace) ......... [PSAPUNDO]


2 - Tablespace contents (contents) ....... [undo]


3 # Segment space management (space) ..... [auto]


4 # Database owner of tablespace (owner) . []


5 # Table data class / tabart (class) .... []


6 # Data type in tablespace (data) ....... [both]


7 # Joined index/table tablespace (join) . []


8 # Uniform size in MB (uniform) ......... []


9 - Bigfile tablespace (bigfile) ......... [no]


10 # Tablespace compression (compress) .... [no]


11 # Tablespace encryption (encryption) ... [no]


12 # Encryption algorithm (algorithm) ..... []


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.20.54


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.20.54


BR0657I Input menu 306 - please enter/check input values


-------------------------------------------------------------------------------


Space options for creation of tablespace PSAPUNDO (1. file)


 


1 - Tablespace file name (file) .......... [/oracle/ORA_DB/sapdata888/undo_1/undo.data1]


2 ~ Raw disk / link target (rawlink) ..... []


3 - File size in MB (size) ............... [11000]


4 # File autoextend mode (autoextend) .... [no]


5 # Maximum file size in MB (maxsize) .... []


6 # File increment size in MB (incrsize) . []


7 - SQL command (command) ................ [create undo tablespace PSAPUNDO datafile '/oracle/ORA_DB/sapdata888/undo_1/undo.data1' size 11000M autoextend off]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.22.58


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR1091I Next data file can be specified now


 


BR0280I BRSPACE time stamp: 2021-07-30 10.22.58


BR0675I This is a optional action - do you want to execute it now?


BR0676I Enter 'y[es]' to execute the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.23.04


BR0257I Your reply: 'y'


BR0677I The action will be executed...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.23.04


BR0657I Input menu 306 - please enter/check input values


-------------------------------------------------------------------------------


Space options for creation of tablespace PSAPUNDO (2. file)


 


1 - Tablespace file name (file) .......... [/oracle/ORA_DB/sapdata888/undo_2/undo.data2]


2 ~ Raw disk / link target (rawlink) ..... []


3 - File size in MB (size) ............... [11000]


4 # File autoextend mode (autoextend) .... [no]


5 # Maximum file size in MB (maxsize) .... []


6 # File increment size in MB (incrsize) . []


7 - SQL command (command) ................ [create undo tablespace PSAPUNDO datafile '/oracle/ORA_DB/sapdata888/undo_1/undo.data1' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_2/undo.data2' size 11000M autoextend off]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.23.27


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR1091I Next data file can be specified now


 


BR0280I BRSPACE time stamp: 2021-07-30 10.23.27


BR0675I This is a optional action - do you want to execute it now?


BR0676I Enter 'y[es]' to execute the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.23.31


BR0257I Your reply: 'y'


BR0677I The action will be executed...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.23.31


BR0657I Input menu 306 - please enter/check input values


-------------------------------------------------------------------------------


Space options for creation of tablespace PSAPUNDO (3. file)


 


1 - Tablespace file name (file) .......... [/oracle/ORA_DB/sapdata888/undo_3/undo.data3]


2 ~ Raw disk / link target (rawlink) ..... []


3 - File size in MB (size) ............... [11000]


4 # File autoextend mode (autoextend) .... [no]


5 # Maximum file size in MB (maxsize) .... []


6 # File increment size in MB (incrsize) . []


7 - SQL command (command) ................ [create undo tablespace PSAPUNDO datafile '/oracle/ORA_DB/sapdata888/undo_1/undo.data1' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_2/undo.data2' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_3/undo.data3' size 11000M autoextend off]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


n


BR0280I BRSPACE time stamp: 2021-07-30 10.24.07


BR0664W Invalid choice: 'n'


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.24.46


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR1091I Next data file can be specified now


 


BR0280I BRSPACE time stamp: 2021-07-30 10.24.46


BR0675I This is a optional action - do you want to execute it now?


BR0676I Enter 'y[es]' to execute the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:


n


BR0280I BRSPACE time stamp: 2021-07-30 10.24.50


BR0257I Your reply: 'n'


BR0678I The action will be skipped...


 


BR0370I Directory /oracle/ORA_DB/sapreorg/sfgzuwru created


 


BR0280I BRSPACE time stamp: 2021-07-30 10.24.54


BR0319I Control file copy created: /oracle/ORA_DB/sapreorg/sfgzuwru/cntrlORA_DB.old 133906432


 


BR0370I Directory /oracle/ORA_DB/sapdata888/undo_1 created


BR0370I Directory /oracle/ORA_DB/sapdata888/undo_2 created


BR0370I Directory /oracle/ORA_DB/sapdata888/undo_3 created


 


BR0280I BRSPACE time stamp: 2021-07-30 10.24.54


BR1089I Creating tablespace PSAPUNDO ...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.28.07


BR1016I SQL statement 'create undo tablespace PSAPUNDO datafile '/oracle/ORA_DB/sapdata888/undo_1/undo.data1' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_2/undo.data2' size 11000M autoextend off, '/oracle/ORA_DB/sapdata888/undo_3/undo.data3' size 11000M autoextend off' executed successfully


 


BR1060I Tablespace PSAPUNDO created successfully with files:


/oracle/ORA_DB/sapdata888/undo_1/undo.data1 11000M,


/oracle/ORA_DB/sapdata888/undo_2/undo.data2 11000M,


/oracle/ORA_DB/sapdata888/undo_3/undo.data3 11000M


 


BR0280I BRSPACE time stamp: 2021-07-30 10.28.07


BR0340I Switching to the next online redolog file for database instance ORA_DB ...


BR0321I Switch to the next online redolog file for database instance ORA_DB successful


 


BR0280I BRSPACE time stamp: 2021-07-30 10.28.12


BR0319I Control file copy created: /oracle/ORA_DB/sapreorg/sfgzuwru/cntrlORA_DB.new 133906432


 


BR0280I BRSPACE time stamp: 2021-07-30 10.28.12


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


s


BR0280I BRSPACE time stamp: 2021-07-30 10.28.26


BR0257I Your reply: 's'


BR0679I Do you really want to cancel BRSPACE? Enter y[es]/n[o]:


y


BR0280I BRSPACE time stamp: 2021-07-30 10.28.32


BR0257I Your reply: 'y'


BR0260E BRSPACE cancelled by user


 


BR1008I End of BRSPACE processing: sfgzuwru.tsc 2021-07-30 10.28.32


BR0280I BRSPACE time stamp: 2021-07-30 10.28.32


BR1007I BRSPACE terminated with errors


 


###############################################################################


 


BR0292I Execution of BRSPACE finished with return code 4


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.28.32


BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


s


BR0280I BRTOOLS time stamp: 2021-07-30 10.28.35


BR0257I Your reply: 's'


BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:


y


BR0280I BRTOOLS time stamp: 2021-07-30 10.28.38


BR0257I Your reply: 'y'


BR0260E BRTOOLS cancelled by user


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.28.38


BR0654I BRTOOLS terminated with errors


Linux_server>:oraORA_DB 30>


How to DROP undo tablespace in oracle SAP database using brtools?

 


SQL> select tablespace_name, status, count(*) from dba_rollback_segs group by tablespace_name, status;


 


TABLESPACE_NAME                STATUS             COUNT(*)


------------------------------ ---------------- ----------


PSAPUNDO                       OFFLINE                 406


SYSTEM                         ONLINE                    1


PSAPUNDO2                      ONLINE                  321


SYSTEM                         OFFLINE                   1


 


SQL> exit


Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production


With the Partitioning, OLAP, Data Mining and Real Application Testing options


Linux_server>:oraORA_DB 25> ps -ef |grep tns


  oraORA_DB 14773 11460  1 10:02:36 pts/1     0:00 grep tns


Linux_server>:oraORA_DB 26> brtools


BR0651I BRTOOLS 7.20 (42)


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.00


BR0656I Choice menu 1 - please make a selection


-------------------------------------------------------------------------------


BR*Tools main menu


 


1 = Instance management


2 - Space management


3 - Segment management


4 - Backup and database copy


5 - Restore and recovery


6 - Check and verification


7 - Database statistics


8 - Additional functions


9 - Exit program


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


2


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.14


BR0663I Your choice: '2'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.14


BR0656I Choice menu 5 - please make a selection


-------------------------------------------------------------------------------


Database space management


 


1 = Extend tablespace


2 - Create tablespace


3 - Drop tablespace


4 - Alter tablespace


5 - Alter data file


6 - Move data file


7 - Additional space functions


8 - Reset program status


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


3


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.27


BR0663I Your choice: '3'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.27


BR0657I Input menu 83 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for drop tablespace


 


1 - BRSPACE profile (profile) ...... [initORA_DB.sap]


2 - Database user/password (user) .. [/]


3 ~ Tablespace name (tablespace) ... []


4 - Confirmation mode (confirm) .... [yes]


5 - Scrolling line count (scroll) .. [20]


6 - Message language (language) .... [E]


7 - BRSPACE command line (command) . [-p initORA_DB.sap -s 20 -l E -f tsdrop]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


PSAPUNDO


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.49


BR0664W Invalid choice: 'PSAPUNDO'


BR0662I Enter your choice:


3


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.56


BR0663I Your choice: '3'


BR0681I Enter string value for "tablespace" []:


PSAPUNDO


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.59


BR0683I New value for "tablespace": 'PSAPUNDO'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.03.59


BR0657I Input menu 83 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for drop tablespace


 


1 - BRSPACE profile (profile) ...... [initORA_DB.sap]


2 - Database user/password (user) .. [/]


3 ~ Tablespace name (tablespace) ... [PSAPUNDO]


4 - Confirmation mode (confirm) .... [yes]


5 - Scrolling line count (scroll) .. [20]


6 - Message language (language) .... [E]


7 - BRSPACE command line (command) . [-p initORA_DB.sap -s 20 -l E -f tsdrop -t PSAPUNDO]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


4


BR0280I BRTOOLS time stamp: 2021-07-30 10.04.30


BR0663I Your choice: '4'


BR0681I Enter string value for "confirm" (yes|no|force) [yes]:


no


BR0280I BRTOOLS time stamp: 2021-07-30 10.05.54


BR0683I New value for "confirm": 'no'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.05.54


BR0657I Input menu 83 - please enter/check input values


-------------------------------------------------------------------------------


BRSPACE options for drop tablespace


 


1 - BRSPACE profile (profile) ...... [initORA_DB.sap]


2 - Database user/password (user) .. [/]


3 ~ Tablespace name (tablespace) ... [PSAPUNDO]


4 - Confirmation mode (confirm) .... [no]


5 - Scrolling line count (scroll) .. [20]


6 - Message language (language) .... [E]


7 - BRSPACE command line (command) . [-p initORA_DB.sap -c -s 20 -l E -f tsdrop -t PSAPUNDO]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRTOOLS time stamp: 2021-07-30 10.05.59


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR0291I BRSPACE will be started with options '-p initORA_DB.sap -c -s 20 -l E -f tsdrop -t PSAPUNDO'


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.05.59


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


c


BR0280I BRTOOLS time stamp: 2021-07-30 10.06.02


BR0257I Your reply: 'c'


BR0259I Program execution will be continued...


 


###############################################################################


 


BR1001I BRSPACE 7.20 (42)


BR1002I Start of BRSPACE processing: sfgzuvlz.tsd 2021-07-30 10.06.03


BR0484I BRSPACE log file: /oracle/ORA_DB/sapreorg/sfgzuvlz.tsd


 


BR0280I BRSPACE time stamp: 2021-07-30 10.06.13


BR1009I Name of database instance: ORA_DB


BR1010I BRSPACE action ID: sfgzuvlz


BR1011I BRSPACE function ID: tsd


BR1012I BRSPACE function: tsdrop


BR0126I Unattended mode active - no operator confirmation required


 


BR0280I BRSPACE time stamp: 2021-07-30 10.06.51


BR0657I Input menu 310 - please enter/check input values


-------------------------------------------------------------------------------


Options for dropping of tablespace PSAPUNDO


 


1 * Number of files in tablespace (files) . [12]


2 * Total tablespace size in MB (size) .... [266480]


3 - Force tablespace drop (force) ......... [no]


4 - SQL command (command) ................. [drop tablespace PSAPUNDO]


 


Standard keys: c - cont, b - back, s - stop, r - refr, h - help


-------------------------------------------------------------------------------


BR0662I Enter your choice:


c


BR0280I BRSPACE time stamp: 2021-07-30 10.07.49


BR0663I Your choice: 'c'


BR0259I Program execution will be continued...


 


BR0370I Directory /oracle/ORA_DB/sapreorg/sfgzuvlz created


 


BR0280I BRSPACE time stamp: 2021-07-30 10.07.58


BR0319I Control file copy created: /oracle/ORA_DB/sapreorg/sfgzuvlz/cntrlORA_DB.old 133906432


 


BR0280I BRSPACE time stamp: 2021-07-30 10.08.11


BR0768I Tablespace PSAPUNDO set OFFLINE


 


BR0280I BRSPACE time stamp: 2021-07-30 10.08.11


BR1090I Dropping tablespace PSAPUNDO ...


 


BR0280I BRSPACE time stamp: 2021-07-30 10.08.28


BR1016I SQL statement 'drop tablespace PSAPUNDO' executed successfully


 


BR1069I Tablespace PSAPUNDO dropped successfully


 


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_1/undo.data1 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_1 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_2/undo.data2 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_2 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_3/undo.data3 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_3 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_4/undo.data4 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_4 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_5/undo.data5 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_5 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_6/undo.data6 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_6 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_7/undo.data7 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_7 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_8/undo.data8 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_8 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_9/undo.data9 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_9 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_10/undo.data10 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_10 deleted


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_11/undo.data11 deleted


BR0252W Function rmdir() failed for '/oracle/ORA_DB/sapdata888/undo_11' at location BrDirDelete-5


BR0253W errno 17: File exists


BR0794I Database file /oracle/ORA_DB/sapdata888/undo_12/undo.data12 deleted


BR0480I Directory /oracle/ORA_DB/sapdata888/undo_12 deleted


 


BR0280I BRSPACE time stamp: 2021-07-30 10.08.28


BR0340I Switching to the next online redolog file for database instance ORA_DB ...


BR0321I Switch to the next online redolog file for database instance ORA_DB successful


 


BR0280I BRSPACE time stamp: 2021-07-30 10.08.36


BR0319I Control file copy created: /oracle/ORA_DB/sapreorg/sfgzuvlz/cntrlORA_DB.new 133906432


 


BR0280I BRSPACE time stamp: 2021-07-30 10.08.36


BR1020I Number of tablespaces processed: 1


BR1003I BRSPACE function 'tsdrop' completed


 


BR1008I End of BRSPACE processing: sfgzuvlz.tsd 2021-07-30 10.08.36


BR0280I BRSPACE time stamp: 2021-07-30 10.08.37


BR1006I BRSPACE completed successfully with warnings


 


###############################################################################


 


BR0292I Execution of BRSPACE finished with return code 1


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.08.37


BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action


BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:


s


BR0280I BRTOOLS time stamp: 2021-07-30 10.08.53


BR0257I Your reply: 's'


BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:


y


BR0280I BRTOOLS time stamp: 2021-07-30 10.08.55


BR0257I Your reply: 'y'


BR0260E BRTOOLS cancelled by user


 


BR0280I BRTOOLS time stamp: 2021-07-30 10.08.55


BR0654I BRTOOLS terminated with errors


Wednesday, May 4, 2016

step by step to drop table space in oracle SAP database using BRTOOLS

SERVER_NAME:oraTEST 10> brtools
BR0651I BRTOOLS 7.00 (32)

BR0280I BRTOOLS time stamp: 2016-05-04 14.07.09
BR0656I Choice menu 1 - please make a selection
-------------------------------------------------------------------------------
BR*Tools main menu

 1 = Instance management
 2 - Space management
 3 - Segment management
 4 - Backup and database copy
 5 - Restore and recovery
 6 - Check and verification
 7 - Database statistics
 8 - Additional functions
 9 - Exit program

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
2
BR0280I BRTOOLS time stamp: 2016-05-04 14.07.10
BR0663I Your choice: '2'

BR0280I BRTOOLS time stamp: 2016-05-04 14.07.10
BR0656I Choice menu 5 - please make a selection
-------------------------------------------------------------------------------
Database space management

 1 = Extend tablespace
 2 - Create tablespace
 3 - Drop tablespace
 4 - Alter tablespace
 5 - Alter data file
 6 - Move data file
 7 - Additional space functions
 8 - Reset program status

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
3
BR0280I BRTOOLS time stamp: 2016-05-04 14.07.17
BR0663I Your choice: '3'

BR0280I BRTOOLS time stamp: 2016-05-04 14.07.17
BR0657I Input menu 83 - please check/enter input values
-------------------------------------------------------------------------------
BRSPACE options for drop tablespace

 1 - BRSPACE profile (profile) ...... [initTEST.sap]
 2 - Database user/password (user) .. [/]
 3 ~ Tablespace name (tablespace) ... []
 4 - Confirmation mode (confirm) .... [yes]
 5 - Scrolling line count (scroll) .. [20]
 6 - Message language (language) .... [E]
 7 - BRSPACE command line (command) . [-p initTEST.sap -s 20 -l E -f tsdrop]

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
3
BR0280I BRTOOLS time stamp: 2016-05-04 14.07.19
BR0663I Your choice: '3'

BR0280I BRTOOLS time stamp: 2016-05-04 14.07.19
BR0681I Enter string value for "tablespace" []:
PSAPTEST
BR0280I BRTOOLS time stamp: 2016-05-04 14.07.24
BR0683I New value for "tablespace": 'PSAPTEST'

BR0280I BRTOOLS time stamp: 2016-05-04 14.07.24
BR0657I Input menu 83 - please check/enter input values
-------------------------------------------------------------------------------
BRSPACE options for drop tablespace

 1 - BRSPACE profile (profile) ...... [initTEST.sap]
 2 - Database user/password (user) .. [/]
 3 ~ Tablespace name (tablespace) ... [PSAPTEST]
 4 - Confirmation mode (confirm) .... [yes]
 5 - Scrolling line count (scroll) .. [20]
 6 - Message language (language) .... [E]
 7 - BRSPACE command line (command) . [-p initTEST.sap -s 20 -l E -f tsdrop -t PSAPTEST]

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
4
BR0280I BRTOOLS time stamp: 2016-05-04 14.07.39
BR0663I Your choice: '4'

BR0280I BRTOOLS time stamp: 2016-05-04 14.07.39
BR0681I Enter string value for "confirm" (yes|no|force) [yes]:

BR0280I BRTOOLS time stamp: 2016-05-04 14.07.58
BR0683I New value for "confirm": 'no'

BR0280I BRTOOLS time stamp: 2016-05-04 14.07.58
BR0657I Input menu 83 - please check/enter input values
-------------------------------------------------------------------------------
BRSPACE options for drop tablespace

 1 - BRSPACE profile (profile) ...... [initTEST.sap]
 2 - Database user/password (user) .. [/]
 3 ~ Tablespace name (tablespace) ... [PSAPTEST]
 4 - Confirmation mode (confirm) .... [no]
 5 - Scrolling line count (scroll) .. [20]
 6 - Message language (language) .... [E]
 7 - BRSPACE command line (command) . [-p initTEST.sap -c -s 20 -l E -f tsdrop -t PSAPTEST]

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2016-05-04 14.08.05
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...

BR0291I BRSPACE will be started with options '-p initTEST.sap -c -s 20 -l E -f tsdrop -t PSAPTEST'

BR0280I BRTOOLS time stamp: 2016-05-04 14.08.05
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRTOOLS time stamp: 2016-05-04 14.08.17
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...

###############################################################################

BR1001I BRSPACE 7.00 (32)
BR1002I Start of BRSPACE processing: setcdtev.tsd 2016-05-04 14.08.17
BR0484I BRSPACE log file: /oracle/TEST/sapreorg/setcdtev.tsd

BR0280I BRSPACE time stamp: 2016-05-04 14.08.17
BR1009I Name of database instance: TEST
BR1010I BRSPACE action ID: setcdtev
BR1011I BRSPACE function ID: tsd
BR1012I BRSPACE function: tsdrop
BR0126I Unattended mode active - no operator confirmation required

BR0280I BRSPACE time stamp: 2016-05-04 14.08.17
BR0657I Input menu 310 - please check/enter input values
-------------------------------------------------------------------------------
Options for dropping of tablespace PSAPTEST

 1 * Number of files in tablespace (files) . [1]
 2 * Total tablespace size in MB (size) .... [100]
 3 - Force tablespace drop (force) ......... [no]
 4 - SQL command (command) ................. [drop tablespace PSAPTEST]

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
c
BR0280I BRSPACE time stamp: 2016-05-04 14.08.41
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR1070I Searching for segments in tablespace PSAPTEST...
BR0285I This function can take several seconds/minutes - be patient...

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR1071I Tablespace PSAPTEST is empty

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR0370I Directory /oracle/TEST/sapreorg/setcdtev created

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR0319I Control file copy created: /oracle/TEST/sapreorg/setcdtev/cntrlTEST.old 16302080

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR0768I Tablespace PSAPTEST set OFFLINE

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR1090I Dropping tablespace PSAPTEST...

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR1016I SQL statement 'drop tablespace PSAPTEST' executed successfully
BR1069I Tablespace PSAPTEST dropped successfully

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR0794I Database file /oracle/TEST/sapdata3/test_1/test.data1 deleted
BR0480I Directory /oracle/TEST/sapdata3/test_1 deleted

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR0340I Switching to next online redo log file for database instance TEST ...
BR0321I Switch to next online redo log file for database instance TEST successful

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR0319I Control file copy created: /oracle/TEST/sapreorg/setcdtev/cntrlTEST.new 16302080

BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR1020I Number of tablespaces processed: 1
BR1003I BRSPACE function 'tsdrop' completed

BR1008I End of BRSPACE processing: setcdtev.tsd 2016-05-04 14.08.42
BR0280I BRSPACE time stamp: 2016-05-04 14.08.42
BR1005I BRSPACE completed successfully

###############################################################################

BR0292I Execution of BRSPACE finished with return code 0

BR0280I BRTOOLS time stamp: 2016-05-04 14.08.42
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRTOOLS:
s
BR0280I BRTOOLS time stamp: 2016-05-04 14.09.04
BR0257I Your reply: 's'
BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:
y
BR0280I BRTOOLS time stamp: 2016-05-04 14.09.06
BR0257I Your reply: 'y'
BR0260E BRTOOLS cancelled by user

BR0280I BRTOOLS time stamp: 2016-05-04 14.09.06
BR0654I BRTOOLS terminated with errors

steps to create new table space in oracle SAP database using BRTOOLS

I have tried to create table-space with "TEST" ,but the system is NOT allowing and we have to create Table space  starting with PSAP and TBS name should be minimum 7 character length.

Here is the step to create NEW table space in Oracle SAP Database.

SERVER_NAME:oraTEST 35> brtools
BR0651I BRTOOLS 7.00 (32)

BR0280I BRTOOLS time stamp: 2015-05-04 13.46.10
BR0656I Choice menu 1 - please make a selection
-------------------------------------------------------------------------------
BR*Tools main menu

 1 = Instance management
 2 - Space management
 3 - Segment management
 4 - Backup and database copy
 5 - Restore and recovery
 6 - Check and verification
 7 - Database statistics
 8 - Additional functions
 9 - Exit program

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
2
BR0280I BRTOOLS time stamp: 2015-05-04 13.46.13
BR0663I Your choice: '2'

BR0280I BRTOOLS time stamp: 2015-05-04 13.46.13
BR0656I Choice menu 5 - please make a selection
-------------------------------------------------------------------------------
Database space management

 1 = Extend tablespace
 2 - Create tablespace
 3 - Drop tablespace
 4 - Alter tablespace
 5 - Alter data file
 6 - Move data file
 7 - Additional space functions
 8 - Reset program status

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
2
BR0280I BRTOOLS time stamp: 2015-05-04 13.46.15
BR0663I Your choice: '2'

BR0280I BRTOOLS time stamp: 2015-05-04 13.46.15
BR0657I Input menu 82 - please check/enter input values
-------------------------------------------------------------------------------
BRSPACE options for create tablespace

 1 - BRSPACE profile (profile) ...... [initTEST.sap]
 2 - Database user/password (user) .. [/]
 3 ~ Tablespace name (tablespace) ... []
 4 - Confirmation mode (confirm) .... [yes]
 5 - Scrolling line count (scroll) .. [20]
 6 - Message language (language) .... [E]
 7 - BRSPACE command line (command) . [-p initTEST.sap -s 20 -l E -f tscreate]

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
3
BR0280I BRTOOLS time stamp: 2015-05-04 13.46.19
BR0663I Your choice: '3'

BR0280I BRTOOLS time stamp: 2015-05-04 13.46.19
BR0681I Enter string value for "tablespace" []:
PSAPTEST
BR0280I BRTOOLS time stamp: 2015-05-04 13.46.27
BR0683I New value for "tablespace": 'PSAPTEST'

BR0280I BRTOOLS time stamp: 2015-05-04 13.46.27
BR0657I Input menu 82 - please check/enter input values
-------------------------------------------------------------------------------
BRSPACE options for create tablespace

 1 - BRSPACE profile (profile) ...... [initTEST.sap]
 2 - Database user/password (user) .. [/]
 3 ~ Tablespace name (tablespace) ... [PSAPTEST]
 4 - Confirmation mode (confirm) .... [yes]
 5 - Scrolling line count (scroll) .. [20]
 6 - Message language (language) .... [E]
 7 - BRSPACE command line (command) . [-p initTEST.sap -s 20 -l E -f tscreate -t PSAPTEST]

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
c
BR0280I BRTOOLS time stamp: 2015-05-04 13.46.33
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...

BR0291I BRSPACE will be started with options '-p initTEST.sap -s 20 -l E -f tscreate -t PSAPTEST'

BR0280I BRTOOLS time stamp: 2015-05-04 13.46.33
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
c
BR0280I BRTOOLS time stamp: 2015-05-04 13.46.35
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...

###############################################################################

BR1001I BRSPACE 7.00 (32)
BR1002I Start of BRSPACE processing: setcdrgt.tsc 2015-05-04 13.46.35
BR0484I BRSPACE log file: /oracle/TEST/sapreorg/setcdrgt.tsc

BR0280I BRSPACE time stamp: 2015-05-04 13.46.35
BR1009I Name of database instance: TEST
BR1010I BRSPACE action ID: setcdrgt
BR1011I BRSPACE function ID: tsc
BR1012I BRSPACE function: tscreate

BR0280I BRSPACE time stamp: 2015-05-04 13.46.35
BR0657I Input menu 305 - please check/enter input values
-------------------------------------------------------------------------------
Main options for creation of tablespace in database TEST

 1 - Tablespace name (tablespace) ......... [PSAPTEST]
 2 - Tablespace contents (contents) ....... [data]
 3 - Segment space management (space) ..... [auto]
 4 # Database owner of tablespace (owner) . []
 5 # Table data class / tabart (class) .... []
 6 - Data type in tablespace (data) ....... [both]
 7 # Joined index/table tablespace (join) . []
 8 ~ Uniform size in MB (uniform) ......... []

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
c
BR0280I BRSPACE time stamp: 2015-05-04 13.46.40
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...

BR0280I BRSPACE time stamp: 2015-05-04 13.46.40
BR0657I Input menu 306 - please check/enter input values
-------------------------------------------------------------------------------
Space options for creation of tablespace PSAPTEST (1. file)

 1 - Tablespace file name (file) .......... [/oracle/TEST/sapdata3/test_1/test.data1]
 2 ~ Raw disk / link target (rawlink) ..... []
 3 - File size in MB (size) ............... [100]
 4 - File autoextend mode (autoextend) .... [no]
 5 # Maximum file size in MB (maxsize) .... []
 6 # File increment size in MB (incrsize) . []
 7 - SQL command (command) ................ [create tablespace PSAPTEST extent management local autoallocate segment space management auto datafile '/oracle/TEST/sapdata3/test_1/test.data1' size 100M autoextend off]

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:
c
BR0280I BRSPACE time stamp: 2015-05-04 13.46.51
BR0663I Your choice: 'c'
BR0259I Program execution will be continued...

BR0280I BRSPACE time stamp: 2015-05-04 13.46.51
BR1091I Next data file can be specified now

BR0675I Do you want to perform this action?
BR0676I Enter 'y[es]' to perform the action, 'n[o]/c[ont]' to skip it, 's[top]' to abort:
n
BR0280I BRSPACE time stamp: 2015-05-04 13.46.54
BR0257I Your reply: 'n'
BR0678I The action will be skipped...

BR0280I BRSPACE time stamp: 2015-05-04 13.46.54
BR0370I Directory /oracle/TEST/sapreorg/setcdrgt created

BR0280I BRSPACE time stamp: 2015-05-04 13.46.54
BR0319I Control file copy created: /oracle/TEST/sapreorg/setcdrgt/cntrlTEST.old 16302080

BR0280I BRSPACE time stamp: 2015-05-04 13.46.54
BR0370I Directory /oracle/TEST/sapdata3/test_1 created

BR0280I BRSPACE time stamp: 2015-05-04 13.46.54
BR1089I Creating tablespace PSAPTEST...

BR0280I BRSPACE time stamp: 2015-05-04 13.46.55
BR1016I SQL statement 'create tablespace PSAPTEST extent management local autoallocate segment space management auto datafile '/oracle/TEST/sapdata3/test_1/test.data1' size 100M autoextend off' executed successfully
BR1060I Tablespace PSAPTEST created successfully with file: /oracle/TEST/sapdata3/test_1/test.data1 100M

BR0280I BRSPACE time stamp: 2015-05-04 13.46.55
BR0340I Switching to next online redo log file for database instance TEST ...
BR0321I Switch to next online redo log file for database instance TEST successful

BR0280I BRSPACE time stamp: 2015-05-04 13.46.55
BR0319I Control file copy created: /oracle/TEST/sapreorg/setcdrgt/cntrlTEST.new 16302080

BR0280I BRSPACE time stamp: 2015-05-04 13.46.55
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
s
BR0280I BRSPACE time stamp: 2015-05-04 13.47.02
BR0257I Your reply: 's'
BR0679I Do you really want to cancel BRSPACE? Enter y[es]/n[o]:
y
BR0280I BRSPACE time stamp: 2015-05-04 13.47.08
BR0258W Wrong reply: 'y'
BR0679I Do you really want to cancel BRSPACE? Enter y[es]/n[o]:
y
BR0280I BRSPACE time stamp: 2015-05-04 13.47.11
BR0257I Your reply: 'y'
BR0260E BRSPACE cancelled by user

BR1008I End of BRSPACE processing: setcdrgt.tsc 2015-05-04 13.47.11
BR0280I BRSPACE time stamp: 2015-05-04 13.47.11
BR1007I BRSPACE terminated with errors

###############################################################################

BR0292I Execution of BRSPACE finished with return code 4

BR0668I Warnings or errors occurred - you can continue to ignore them or go back to repeat the last action

BR0280I BRTOOLS time stamp: 2015-05-04 13.47.11
BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
s
BR0280I BRTOOLS time stamp: 2015-05-04 13.47.13
BR0257I Your reply: 's'
BR0679I Do you really want to cancel BRTOOLS? Enter y[es]/n[o]:
y
BR0280I BRTOOLS time stamp: 2015-05-04 13.47.15
BR0257I Your reply: 'y'
BR0260E BRTOOLS cancelled by user

BR0280I BRTOOLS time stamp: 2015-05-04 13.47.15
BR0654I BRTOOLS terminated with errors
SERVER_NAME:oraTEST 36>