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
 

 

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: 10211
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: 6966
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: 1224
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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm


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