|
|
| Author |
Message |
avinashgup
New User
Joined: 03 Aug 2007 Posts: 6 Location: Naperville
|
|
|
|
I have a dataset and i need to overlay the field starting from column 106-110 with values 999.99. This field currently has different values.Field is declared as S999V99.
I have heard that we can use the line command overlay but I am not sure how to use it. |
|
| Back to top |
|
 |
References
|
Posted: Fri Jul 18, 2008 7:54 am Post subject: Re: What't the command for Ovelaying a default value in a column |
 |
|
|
 |
0d311
Active User
Joined: 17 Jun 2007 Posts: 52 Location: manila
|
|
|
|
| avinashgup wrote: |
| This field currently has different values. |
If you have an existing value on the field, it cannot be overlayed.
You can do an overlay, like this
| Code: |
****** ***************************** Top of Data ******************************
C TEST
O
****** **************************** Bottom of Data ****************************
|
|
|
| Back to top |
|
 |
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1482 Location: Bangalore,India
|
|
|
|
od,
| Quote: |
| If you have an existing value on the field, it cannot be overlayed. |
Your suggestion may not work properly as the source statement should not contain a value in anyother col other than 106-110. consider this
| Code: |
***************************** To
//SOURCE-LINE TEST
//TARGET LINE |
If you try to overlay 'source-line', 'target line' becomes 'target-line'. |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 2962 Location: Brussels once more ...
|
|
|
|
| If the OP was to give an example of input and expected output we may be able to offer some guidance rather than guesses. |
|
| Back to top |
|
 |
Bill Dennis
Active User
Joined: 17 Aug 2007 Posts: 247 Location: Iowa, USA
|
|
|
|
Use picture string mask to overlay any existing values
| Code: |
| C p'=====' '99999' 106 ALL |
|
|
| Back to top |
|
 |
avinashgup
New User
Joined: 03 Aug 2007 Posts: 6 Location: Naperville
|
|
|
|
| Thanks Bill. Your solution worked for me. |
|
| Back to top |
|
 |
|
|