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

Update IMS DB using SELCOPY


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthamizh

New User


Joined: 27 Apr 2009
Posts: 23
Location: mumbai

PostPosted: Tue Oct 30, 2012 3:46 pm
Reply with quote

Hi i have a requirement to update IMS DB segement field with value 15(currently it is with 0, the field type is binary) using Selcopy.

i am trying the below,

MOVE '15' to pos 502,503 type=B.

But its throwing error.

Please help me how to update the field or tell me how a segment field with type binary is updated to value 15.
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 Oct 30, 2012 3:52 pm
Reply with quote

We don't know what error is "thrown" (which means "caused by what you have coded").

Do you have documentation for SELCOPY? Look up the message and act upon it, check the syntax, look for examples, ask colleagues, ask your technical support. Having exhausted all that, come back here, with all the information, you may get lucky with suggestions.

If you don't have SELCOPY documentation, obtain it.

If you can't obtain it, point out to the person who gave you the work that it is unlikely to be successful, and that even if someone gives you a solution you won't have a clue about it, so can't use it.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Oct 30, 2012 6:53 pm
Reply with quote

Is it a heavy error or a light error? Depending on that would be the distance that the error is thrown.

Note that in the mainframe world nothing is thrown except by curly-whirly languages: java etc.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Oct 30, 2012 9:45 pm
Reply with quote

Hello,

Maybe try removing the quotes arount the 15?

Suggest you read (as suggested) the manual. If one is not available, go find one.

We have occasional SELCOPY topics, but i'm not sure how many here are experts - making the documentation more important to you and the organization.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Read a flat file and update DB2 table JCL & VSAM 2
No new posts how to update an ISR appl var from an... TSO/ISPF 8
No new posts DB2 SQL query to read and update data... DB2 12
No new posts SKIP LOCKED DATA in UPDATE statement DB2 9
No new posts Inserting records into the empty segm... IMS DB/DC 1
Search our Forums:

Back to Top