Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Replacing specific positions in a table variable

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Sriram K

New User


Joined: 17 Feb 2009
Posts: 32
Location: Bangalore

PostPosted: Fri Jun 12, 2009 1:48 pm    Post subject: Replacing specific positions in a table variable
Reply with quote

I want to replace the particular position of a table variable(abc_var) with some value for which i used the below query.

UPDATE
table1

SET abc_table =
REPLACE (abc_var,1,3,BOX)

WHERE
abc_id = '400'
;

But its not working. I'm not sure about the syntax as well. Can anyone suggest on this.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Jun 12, 2009 3:33 pm    Post subject: Reply to: Replacing specific positions in a table variable
Reply with quote

You posted in the JCL forum...
what <language> is your <query> written in ?
it does not certainly look like SQL icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jun 13, 2009 5:13 am    Post subject:
Reply with quote

Hello,

Quote:
But its not working.
I believe we already understood that it didn't work. Posting "it didn't work" is just a waste of everyone's time.

If you would like someone here to help, you have to post what you used (actual jcl and control statements) and what diagnostic information was generated.

Seeing these, someone may have a suggestion. When posting jcl, code, control statements, etc, it is best to use the "Code" tag to preserve alignment and improve readability.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Route a product's job to specific lpar vasanthz All Other Mainframe Topics 9 Thu Mar 02, 2017 2:22 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us