Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to change the colour of a line in cobol dataset

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

New User


Joined: 05 Nov 2007
Posts: 21
Location: hyd

PostPosted: Fri Nov 30, 2007 8:01 pm    Post subject: How to change the colour of a line in cobol dataset
Reply with quote

Hi,

Through rexx, I am inserting a set of lines in the middle of the program. And to differentiate it from other existing lines I just want to change the colour of the inserted lines through rexx.
Please help me

Regards,
Harish
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Nov 30, 2007 8:07 pm    Post subject: Reply to: How to change the colour of a line in cobol datase
Reply with quote

Sorry to disillusion You, but it cannot be done
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Nov 30, 2007 8:22 pm    Post subject:
Reply with quote

One option is to define your own edit panel (a complex mission).

Another option is to draw a flower box around the inserted lines to catch the eye.

O.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Fri Nov 30, 2007 8:40 pm    Post subject:
Reply with quote

I believe that the colors you are referring to are applied by your terminal emulator in response to the attribute bytes. I believe that you are probably referring to viewing the source code through the editor. So the editor would be setting the attribute bytes. You would have to work with the rules these products have for changing the colors. Let us know if you find a way to accomplish this.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Fri Nov 30, 2007 10:20 pm    Post subject:
Reply with quote

are these inserted lines to be saved with the program upon exit?

if not, you could insert them as note or msg lines.

if so, what has already been said applies.
Back to top
View user's profile Send private message
harry143

New User


Joined: 05 Nov 2007
Posts: 21
Location: hyd

PostPosted: Mon Dec 03, 2007 11:22 am    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
are these inserted lines to be saved with the program upon exit?

if not, you could insert them as note or msg lines.

if so, what has already been said applies.



Yes, I dont want to save them
They can be inserted either as Note or message lines. Anything will be OK
Can you help me how to insert those lines as message lines or note
Waiting for your reply
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Mon Dec 03, 2007 8:59 pm    Post subject:
Reply with quote

To insert a note in a file, use the ISREDIT macro command:
Code:
"ISREDIT LINE_AFTER .ZCSR = NOTELINE 'your message here'"

you can use LINE_BEFORE instead of LINE_AFTER,
you can use a line number instead of label .ZCSR (line where cursor is)
you can use INFOLINE or MSGLINE instead of NOTELINE
If you want the added line to be part of the data, use DATALINE
Back to top
View user's profile Send private message
harry143

New User


Joined: 05 Nov 2007
Posts: 21
Location: hyd

PostPosted: Tue Dec 04, 2007 10:45 am    Post subject:
Reply with quote

Thanks to All.
I have used MSGLINE
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us