Author Topic: delete application group field  (Read 2620 times)

Michel de Kraker

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • SYSBLOX , AIX consultancy
delete application group field
« on: July 15, 2013, 03:27:32 AM »
Hi all

i accidently created a new field in an application group. Is it possible to remove this field from the application group?

Thx.

Michel.

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: delete application group field
« Reply #1 on: July 15, 2013, 06:42:19 AM »
I don't think CMOD has that functionality, although it appears that DB2 now supports 'alter table <table> drop column <column>' commands.

If it's a small group, consider exporting and re-importing into a new AG.  If it's a large AG, consider tweaking the database tables manually...  But that's not something that's either documented or supported -- so consider it at your own risk.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Michel de Kraker

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • SYSBLOX , AIX consultancy
Re: delete application group field
« Reply #2 on: July 15, 2013, 06:51:07 AM »
Ok thx JD

What i did:

copy AG (D111) to new name (D111.NEW) and delete field
update AG (D111) to new name (D111.15072013)
update D111.NEW back to D111 (so this has the original name. this was mandatory because supplying systems depend on that name)

updated the foldermappings offcourse to search data in D111.15072013 and D111.
Regards,

Michel.