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

REPL call to modify first 2 fileds in segment


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krishna_mf

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Tue Mar 10, 2009 1:11 pm
Reply with quote

Hi,

in one my program i have to perfrom a REPL call to modify first 2 fileds in segment.
while doing a REPL call if the I/O area which contains modified data for first 2 fileds is less than the segment lenght then will rest of the fields will get junk values or will they preserve their old value.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Mar 10, 2009 1:36 pm
Reply with quote

ims/db is record ( SEGMENT == RECORD ) oriented,
the I/O unit is the segment for the data length defined in the dbd

the field naming in the dbd/psb definition is for key control/relation only
Back to top
View user's profile Send private message
krishna_mf

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Tue Mar 10, 2009 2:03 pm
Reply with quote

can you please elobarate on this.
will my program abend if i give i/o area less than the segment size while doing a repl call?
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Mar 10, 2009 6:10 pm
Reply with quote

Is it a variable length segment? Why would you issue a replace for an area shorter?
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
No new posts CICS DPL call CICS 6
Search our Forums:

Back to Top