Re: about HILITE in ISPF Editor

2007-03-21 Thread Don Leahy
Check with your systems programmer.  HILITE may have been purposely 
disabled.  If it is disabled, ask for the reason why...and it had better be 
good!


If *you* are the systems programmer, then run ISPCCONF to figure out what 
your default setting is.


- Original Message - 


Hi Neil,

Thanks for your info!

I tried HILITE COBOL , but it still says HILITE unavailable

KC Eric



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


about HILITE in ISPF Editor

2007-03-20 Thread KC Eric Wong

Hi all,

I am new to ISPF Editor.

When I am editing a COBOL file,
I found that syntax highlighting is OFF,

When I type HILITE ON in the command line, it says HILITE unavailable,

Seems that it is disabled somehow.

Does anyone meet this problem?
How can I enable it again?

Thanks!

KC Eric

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: about HILITE in ISPF Editor

2007-03-20 Thread Robert Bardos
KC Eric,

I remember encountering a similar message when trying 'hilite dtl'
on an HFS HTML file that had records that were longer than 255
characters. However, as you mention COBOL I doubt that that's the
reason.

Anyway, did you press F1 (or enter 'help') upon the first message
being displayed?
Maybe there will be another message telling you in more detail
what's wrong.

Robert

 -Ursprüngliche Nachricht-
 von KC Eric Wong
 Gesendet: Dienstag, 20. März 2007 08:27

 Hi all,

 I am new to ISPF Editor.

 When I am editing a COBOL file,I found that syntax highlighting
is OFF,

 When I type HILITE ON in the command line, it says HILITE
unavailable,

 Seems that it is disabled somehow.

 Does anyone meet this problem?
 How can I enable it again?

 Thanks!

 KC Eric

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: about HILITE in ISPF Editor

2007-03-20 Thread KC Eric Wong

Hi Robert,

Thanks for your reply!

I pressed F1 and it says The HILITE command is not available in mixed
mode edit sessions.

Then, I go to Menu - Edit -  Options, to disable Mixed Mode.

Also, I changed all lower case characters to upper case, but still it
doesn't work.

What does Mixed mode edit session means?

Thanks!

KC Eric

It says

On 3/20/07, Robert Bardos [EMAIL PROTECTED] wrote:

KC Eric,

I remember encountering a similar message when trying 'hilite dtl'
on an HFS HTML file that had records that were longer than 255
characters. However, as you mention COBOL I doubt that that's the
reason.

Anyway, did you press F1 (or enter 'help') upon the first message
being displayed?
Maybe there will be another message telling you in more detail
what's wrong.

Robert

 -Ursprüngliche Nachricht-
 von KC Eric Wong
 Gesendet: Dienstag, 20. März 2007 08:27

 Hi all,

 I am new to ISPF Editor.

 When I am editing a COBOL file,I found that syntax highlighting
is OFF,

 When I type HILITE ON in the command line, it says HILITE
unavailable,

 Seems that it is disabled somehow.

 Does anyone meet this problem?
 How can I enable it again?

 Thanks!

 KC Eric

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: about HILITE in ISPF Editor

2007-03-20 Thread Robert Bardos
Had to look up 'Mixed Mode' first and it seems to be related to
DBCS.

Here's what the tutorial page says on 'Mixed Mode':


  You can edit unformatted mixed data which contains both
  EBCDIC (one-byte) characters and Double Byte Character Set (DBCS
  or two-byte) characters. To do this, you must specify mixed
mode.
  The field is provided on the Edit entry panel for specifying
  the operation mode:

  Enter / to select option
  / Mixed Mode

  where / indicates mixed mode edit, and
  indicates conventional edit.

  If the terminal does not support DBCS, the operation mode is
ignored.

As I do not have the slightest experience with DBCS I can't be of
more help unfortunately.

The tutorial pages on HILITE do not mention explicitly whether
DBCS is supported or not. Your experience suggests it is not.


Kind regards

Robert Bardos
Ansys AG, Zurich, Switzerland

 -Ursprüngliche Nachricht-

 I pressed F1 and it says The HILITE command is not
 available in mixed mode edit sessions.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: about HILITE in ISPF Editor

2007-03-20 Thread KC Eric Wong

Hi Robert,

Thanks much for your help!

I also do not have any experience on DBCS.

And after trials and errors, finally it works !

In the System Main Menu - PDF,

instead of choosing Utilities - Dslist,

I chose Edit, then a screen came up, and then I typed the dataset name
and chose not to enable Mixed Mode.

Before, I disable Mixd Mode within the ISPF editor, it didn't work,
though, strange.

Thanks again for your information!

KC Eric

On 3/20/07, Robert Bardos [EMAIL PROTECTED] wrote:

Had to look up 'Mixed Mode' first and it seems to be related to
DBCS.

Here's what the tutorial page says on 'Mixed Mode':


 You can edit unformatted mixed data which contains both
 EBCDIC (one-byte) characters and Double Byte Character Set (DBCS
 or two-byte) characters. To do this, you must specify mixed
mode.
 The field is provided on the Edit entry panel for specifying
 the operation mode:

 Enter / to select option
 / Mixed Mode

 where / indicates mixed mode edit, and
 indicates conventional edit.

 If the terminal does not support DBCS, the operation mode is
ignored.

As I do not have the slightest experience with DBCS I can't be of
more help unfortunately.

The tutorial pages on HILITE do not mention explicitly whether
DBCS is supported or not. Your experience suggests it is not.


Kind regards

Robert Bardos
Ansys AG, Zurich, Switzerland

 -Ursprüngliche Nachricht-

 I pressed F1 and it says The HILITE command is not
 available in mixed mode edit sessions.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: about HILITE in ISPF Editor

2007-03-20 Thread Neil Duffee
At August 23, 2005 13:32, concerning Re: about HILITE in ISPF 
Editor, Robert Bardos [EMAIL PROTECTED] wrote (to IBM-Main):  

 I remember encountering a similar message when trying 'hilite dtl'
 on an HFS HTML file that had records that were longer than 255
 characters. However, as you mention COBOL I doubt that that's the
 reason. [snip]
 
 -Ursprüngliche Nachricht-
 von KC Eric Wong
 Gesendet: Dienstag, 20. März 2007 08:27

 When I am editing a COBOL file, [snip]
 When I type HILITE ON in the command line, it says HILITE
 unavailable,Seems that it is disabled somehow.

[I didn't see the original message on the newsgroup but it might be 
queued up in the ListServ maintenance.]

Eric:  I expect the editor doesn't recognize the file type ie. LLQ 
of dsn, as specific to Cobol.  You can *always* tell it which kind of 
high-lighting you desire;  even in the wrong file.  Give HILITE COBOL 
a try.  (You'll probably have to PROFILE SAVE so the editor will 
retain the setting past the current session.)   

Note:  It can be helpful to change the high-lighting within a single 
session.  For example, you're editing a JCL library that has instream 
Cobol or Rexx.  (or both)  HILITE COBOL happily flagged my JCL as if 
it were Cobol source but the instream Cobol has the right high-
lighting.  Check out HELP HILITE within the editor for all the 
available possibilities.

ps.  I love the 'new' profiles.  It's saved me from lotsa simple JCL 
typos ie. the infamous missing comma, because the colour of the line 
was wrong.  ('course, it won't tell you *what* is wrong but... ;^)

--  signature = 6 lines follows --
Neil Duffee, Joe SysProg, U d'Ottawa, Ottawa, Ont, Canada
telephone:1 613 562 5800 x4585 fax:1 613 562 5161
mailto:NDuffee of uOttawa.ca http:/ /aix1.uottawa.ca/ ~nduffee
How *do* you plan for something like that? Guardian Bob, Reboot
For every action, there is an equal and opposite criticism.
Systems Programming: Guilty, until proven innocent John Norgauer 
2004

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: about HILITE in ISPF Editor

2007-03-20 Thread KC Eric Wong

Hi Neil,

Thanks for your info!

I tried HILITE COBOL , but it still says HILITE unavailable

KC Eric



On 3/21/07, Neil Duffee [EMAIL PROTECTED] wrote:

At August 23, 2005 13:32, concerning Re: about HILITE in ISPF
Editor, Robert Bardos [EMAIL PROTECTED] wrote (to IBM-Main):

 I remember encountering a similar message when trying 'hilite dtl'
 on an HFS HTML file that had records that were longer than 255
 characters. However, as you mention COBOL I doubt that that's the
 reason. [snip]

 -Ursprüngliche Nachricht-
 von KC Eric Wong
 Gesendet: Dienstag, 20. März 2007 08:27

 When I am editing a COBOL file, [snip]
 When I type HILITE ON in the command line, it says HILITE
 unavailable,Seems that it is disabled somehow.

[I didn't see the original message on the newsgroup but it might be
queued up in the ListServ maintenance.]

Eric:  I expect the editor doesn't recognize the file type ie. LLQ
of dsn, as specific to Cobol.  You can *always* tell it which kind of
high-lighting you desire;  even in the wrong file.  Give HILITE COBOL
a try.  (You'll probably have to PROFILE SAVE so the editor will
retain the setting past the current session.)

Note:  It can be helpful to change the high-lighting within a single
session.  For example, you're editing a JCL library that has instream
Cobol or Rexx.  (or both)  HILITE COBOL happily flagged my JCL as if
it were Cobol source but the instream Cobol has the right high-
lighting.  Check out HELP HILITE within the editor for all the
available possibilities.

ps.  I love the 'new' profiles.  It's saved me from lotsa simple JCL
typos ie. the infamous missing comma, because the colour of the line
was wrong.  ('course, it won't tell you *what* is wrong but... ;^)

--  signature = 6 lines follows --
Neil Duffee, Joe SysProg, U d'Ottawa, Ottawa, Ont, Canada
telephone:1 613 562 5800 x4585 fax:1 613 562 5161
mailto:NDuffee of uOttawa.ca http:/ /aix1.uottawa.ca/ ~nduffee
How *do* you plan for something like that? Guardian Bob, Reboot
For every action, there is an equal and opposite criticism.
Systems Programming: Guilty, until proven innocent John Norgauer
2004

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html