View previous topic :: View next topic
|
Author |
Message |
krishna_mf
New User
Joined: 31 Jan 2007 Posts: 56 Location: banglore
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
krishna_mf
New User
Joined: 31 Jan 2007 Posts: 56 Location: banglore
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Is it a variable length segment? Why would you issue a replace for an area shorter? |
|
Back to top |
|
|
|