IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Length of the Table column to be increased


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rahul_kumar
Warnings : 2

New User


Joined: 24 Jun 2006
Posts: 50

PostPosted: Tue Apr 10, 2012 7:14 am
Reply with quote

Hi,

I have a requirement to increase the length of the text column of the table;defined as VARCHAR;from 100 to 5000 char.The problem is that the column is in the middle of the table.It's an online system with Java as front-end and uses WSDL files to transfer data to Cobol programs.

I searched the table name in the cobol library and analysed all the programs using this table which will be re-compiled.Also,whereever this field is being moved to another WS field in the program;the length of that particular field also needs to be changed.

My doubt is that since the column is in the middle of the table;do I need to take care of anything else.(or rest is upto the DBA's to modify the table structure and do the testing including the back-out testing).

Changes would also be there in the Java front end screens,and the WSDL files( to increase the lenght of the text field).I don't have much idea about WSDL but have been told that the copybooks will be generated automatically once the WSDL is modified and promoted through endevor.

How will the XSD(Schema definition) be impacted.I have'nt modified it anytime thereby no idea how to do the same.

Thanks in Advance!
Rahul
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Tue Apr 10, 2012 9:17 am
Reply with quote

Rahul,

DBA should take care of increasing the length of the column. If backout is required, DBA should revert back the length of the column to 100. (just check with your DBA, what are the steps he will be doing)

Since XSD schema is there, you can take a look at it for this column, how it is defined there, just check how the column is specified there, anything related to length is there.

Thanks,
Sushanth
Back to top
View user's profile Send private message
Rahul_kumar
Warnings : 2

New User


Joined: 24 Jun 2006
Posts: 50

PostPosted: Tue Apr 10, 2012 1:42 pm
Reply with quote

Hi Sushant,

Thanks for the reply.So,will the DBA has to drop the table and will require an outage to be taken since the table is used 24 X 7.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Apr 10, 2012 1:58 pm
Reply with quote

With all due respect to Sushanth, your DBA(s) are the best people at whom to direct specific questions about your set-up.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Load new table with Old unload - DB2 DB2 6
Search our Forums:

Back to Top