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
 

 

What't the command for Ovelaying a default value in a column

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
avinashgup

New User


Joined: 03 Aug 2007
Posts: 19
Location: Naperville

PostPosted: Fri Jul 18, 2008 7:54 am    Post subject: What't the command for Ovelaying a default value in a column
Reply with quote

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
View user's profile Send private message

0d311

Guest





PostPosted: Fri Jul 18, 2008 9:51 am    Post subject: Re: What't the command for Ovelaying a default value in a co
Reply with quote

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: 1439
Location: Bangalore,India

PostPosted: Fri Jul 18, 2008 10:39 am    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jul 18, 2008 12:48 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Jul 18, 2008 7:23 pm    Post subject:
Reply with quote

Use picture string mask to overlay any existing values
Code:
C p'=====' '99999' 106 ALL
Back to top
View user's profile Send private message
avinashgup

New User


Joined: 03 Aug 2007
Posts: 19
Location: Naperville

PostPosted: Fri Jul 18, 2008 10:27 pm    Post subject: Great! it worked
Reply with quote

Thanks Bill. Your solution worked for me.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm


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