Re: User-written ISPF-Editor line commands

2009-09-15 Thread Richards, Robert B.
Did anyone ever post their source for the line commands they spoke about? If 
not, can you, pretty please! :-)

Mark, you are exempt. I got yours from your website. Good stuff!

Bob

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Donald Johnson
Sent: Friday, September 11, 2009 8:01 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: User-written ISPF-Editor line commands

Paul, I like the sounds of these - would you be free to post/send the source
for these commands?
Don

On Thu, Sep 10, 2009 at 5:53 PM, Beesley, Paul
paul.bees...@atosorigin.comwrote:

 A few more to add ..

 NA, NC, NJ, NR, NP - convert line to a comment (
 Assembler/Cobol/JCL/Rexx/PL1 ) - as per Roscoe equivalents
 JJ - Join JCL lines, removing the // from the front
 JS - Split a JCL line at the cursor, inserting a // and spaces to line
 it up
 / - scroll this line to the top ( cos I kept thinking I was in CMS edit
 ... )


 Regards
 Paul

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
 Behalf Of George.William
 Sent: 10 September 2009 22:35
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: User-written ISPF-Editor line commands

 Ya, guess it is.
 Actuall TJ is different from TF.
 TF - Text Flow will 'flow' the indicated line and all subsequent lines
 below it till the end of the paragraph.

 TJ - Text Join, joins the indicated line and ONLY THE ONE LINE BELOW IT
 and will not 'flow' to a 2nd line if the   data is longer than the
 BNDS (bounds). Useful to join two lines of code when using TF would
 create havoc with your code.


 -Original Message-

  ___

 Atos Origin and Atos Consulting are trading names used by the Atos Origin
 group.  The following trading entities are registered in England and Wales:
  Atos Origin IT Services UK Limited (registered number 01245534) and Atos
 Consulting Limited (registered number 04312380).  The registered office for
 each is at 4 Triton Square, Regents Place, London, NW1 3HG.The VAT No. for
 each is: GB232327983

 This e-mail and the documents attached are confidential and intended solely
 for the addressee, and may contain confidential or privileged information.
  If you receive this e-mail in error, you are not authorised to copy,
 disclose, use or retain it.  Please notify the sender immediately and delete
 this email from your systems.   As emails may be intercepted, amended or
 lost, they are not secure.  Atos Origin therefore can accept no liability
 for any errors or their content.  Although Atos Origin endeavours to
 maintain a virus-free network, we do not warrant that this transmission is
 virus-free and can accept no liability for any damages resulting from any
 virus transmitted.   The risks are deemed to be accepted by everyone who
 communicates with Atos Origin by email.
 ___

 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: User-written ISPF-Editor line commands

2009-09-15 Thread Beesley, Paul
I did send mine to Don.
As you said pretty please I'll find somewhere appropriate to post them
:) 


Regards
Paul 

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Richards, Robert B.
Sent: 15 September 2009 12:56
To: IBM-MAIN@bama.ua.edu
Subject: Re: User-written ISPF-Editor line commands

Did anyone ever post their source for the line commands they spoke
about? If not, can you, pretty please! :-)

Mark, you are exempt. I got yours from your website. Good stuff!

Bob

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Donald Johnson
Sent: Friday, September 11, 2009 8:01 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: User-written ISPF-Editor line commands

Paul, I like the sounds of these - would you be free to post/send the
source for these commands?
Don

On Thu, Sep 10, 2009 at 5:53 PM, Beesley, Paul
paul.bees...@atosorigin.comwrote:

 A few more to add ..

 NA, NC, NJ, NR, NP - convert line to a comment (
 Assembler/Cobol/JCL/Rexx/PL1 ) - as per Roscoe equivalents JJ - Join 
 JCL lines, removing the // from the front JS - Split a JCL line at the

 cursor, inserting a // and spaces to line it up / - scroll this line 
 to the top ( cos I kept thinking I was in CMS edit ... )


 Regards
 Paul


___

Atos Origin and Atos Consulting are trading names used by the Atos Origin 
group.  The following trading entities are registered in England and Wales:  
Atos Origin IT Services UK Limited (registered number 01245534) and Atos 
Consulting Limited (registered number 04312380).  The registered office for 
each is at 4 Triton Square, Regents Place, London, NW1 3HG.The VAT No. for each 
is: GB232327983

This e-mail and the documents attached are confidential and intended solely for 
the addressee, and may contain confidential or privileged information.  If you 
receive this e-mail in error, you are not authorised to copy, disclose, use or 
retain it.  Please notify the sender immediately and delete this email from 
your systems.   As emails may be intercepted, amended or lost, they are not 
secure.  Atos Origin therefore can accept no liability for any errors or their 
content.  Although Atos Origin endeavours to maintain a virus-free network, we 
do not warrant that this transmission is virus-free and can accept no liability 
for any damages resulting from any virus transmitted.   The risks are deemed to 
be accepted by everyone who communicates with Atos Origin by email. 
___

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


Re: User-written ISPF-Editor line commands

2009-09-15 Thread Donald Johnson
Paul, Bob, et al.: here is a version of LINEMAC and a dsn extractor I have
used before. Feel free to treat this like open source - modify/fix/enhance
and re-share it!

Thanks!

On Tue, Sep 15, 2009 at 10:58 AM, Beesley, Paul paul.bees...@atosorigin.com
 wrote:

 I did send mine to Don.
 As you said pretty please I'll find somewhere appropriate to post them
 :)


 Regards
 Paul

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
 Behalf Of Richards, Robert B.
 Sent: 15 September 2009 12:56
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: User-written ISPF-Editor line commands

 Did anyone ever post their source for the line commands they spoke
 about? If not, can you, pretty please! :-)

 Mark, you are exempt. I got yours from your website. Good stuff!

 Bob

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
 Behalf Of Donald Johnson
 Sent: Friday, September 11, 2009 8:01 AM
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: User-written ISPF-Editor line commands

 Paul, I like the sounds of these - would you be free to post/send the
 source for these commands?
 Don

 On Thu, Sep 10, 2009 at 5:53 PM, Beesley, Paul
 paul.bees...@atosorigin.comwrote:

  A few more to add ..
 
  NA, NC, NJ, NR, NP - convert line to a comment (
  Assembler/Cobol/JCL/Rexx/PL1 ) - as per Roscoe equivalents JJ - Join
  JCL lines, removing the // from the front JS - Split a JCL line at the

  cursor, inserting a // and spaces to line it up / - scroll this line
  to the top ( cos I kept thinking I was in CMS edit ... )
 
 
  Regards
  Paul
 

 ___

 Atos Origin and Atos Consulting are trading names used by the Atos Origin
 group.  The following trading entities are registered in England and Wales:
  Atos Origin IT Services UK Limited (registered number 01245534) and Atos
 Consulting Limited (registered number 04312380).  The registered office for
 each is at 4 Triton Square, Regents Place, London, NW1 3HG.The VAT No. for
 each is: GB232327983

 This e-mail and the documents attached are confidential and intended solely
 for the addressee, and may contain confidential or privileged information.
  If you receive this e-mail in error, you are not authorised to copy,
 disclose, use or retain it.  Please notify the sender immediately and delete
 this email from your systems.   As emails may be intercepted, amended or
 lost, they are not secure.  Atos Origin therefore can accept no liability
 for any errors or their content.  Although Atos Origin endeavours to
 maintain a virus-free network, we do not warrant that this transmission is
 virus-free and can accept no liability for any damages resulting from any
 virus transmitted.   The risks are deemed to be accepted by everyone who
 communicates with Atos Origin by email.
 ___

 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
/* Rexx implement line commands*/

Trace  o;

Address ISPEXEC;
isp  =  ISPEXEC ;
isr  =  ISREDIT ;

isr MACRO (lc) NOPROCESS;  /*  Get line command */
isp CONTROL ERRORS RETURN  /*  Return ispf errors   */

valid_cmds = / CEN REV SL SR AUTH DB DT CB CE CV NA NC NJ NR SJ EOJ;
/*
 --- 
  Valid line commands processed here:
  /  - Sets the cursor line at top of the screen 
  CEN- Centers the cursor line   
  REV- Reverses the cursor line  
  SL - Left Justifies the cursor line
  SR - Right justifies the cursor line   
  DB - Deletes from the cursor line to the bottom
  DT - Deletes from the cursor line to the top   
  CB - Invokes BROWSE on the filename at the cursor  
  CE - Invokes EDIT   on the filename at the cursor  
  CV - Invokes VIEW   on the filename at the cursor  
  NA - Turns the cursor line into a comment for ASM  
  NC - Turns the cursor line into a comment for COBOL
  NJ - Turns the cursor line into a comment for JCL  
  NR - Turns the cursor line into a comment for REXX 
  SJ - Executes SplitJoin processing at the cursor

Re: User-written ISPF-Editor line commands

2009-09-15 Thread Richards, Robert B.
Thanks, Paul.

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Beesley, Paul
Sent: Tuesday, September 15, 2009 10:59 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: User-written ISPF-Editor line commands

I did send mine to Don.
As you said pretty please I'll find somewhere appropriate to post them
:)


Regards
Paul

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Richards, Robert B.
Sent: 15 September 2009 12:56
To: IBM-MAIN@bama.ua.edu
Subject: Re: User-written ISPF-Editor line commands

Did anyone ever post their source for the line commands they spoke
about? If not, can you, pretty please! :-)

Mark, you are exempt. I got yours from your website. Good stuff!

Bob

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Donald Johnson
Sent: Friday, September 11, 2009 8:01 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: User-written ISPF-Editor line commands

Paul, I like the sounds of these - would you be free to post/send the
source for these commands?
Don

On Thu, Sep 10, 2009 at 5:53 PM, Beesley, Paul
paul.bees...@atosorigin.comwrote:

 A few more to add ..

 NA, NC, NJ, NR, NP - convert line to a comment (
 Assembler/Cobol/JCL/Rexx/PL1 ) - as per Roscoe equivalents JJ - Join
 JCL lines, removing the // from the front JS - Split a JCL line at the

 cursor, inserting a // and spaces to line it up / - scroll this line
 to the top ( cos I kept thinking I was in CMS edit ... )


 Regards
 Paul


___

Atos Origin and Atos Consulting are trading names used by the Atos Origin 
group.  The following trading entities are registered in England and Wales:  
Atos Origin IT Services UK Limited (registered number 01245534) and Atos 
Consulting Limited (registered number 04312380).  The registered office for 
each is at 4 Triton Square, Regents Place, London, NW1 3HG.The VAT No. for each 
is: GB232327983

This e-mail and the documents attached are confidential and intended solely for 
the addressee, and may contain confidential or privileged information.  If you 
receive this e-mail in error, you are not authorised to copy, disclose, use or 
retain it.  Please notify the sender immediately and delete this email from 
your systems.   As emails may be intercepted, amended or lost, they are not 
secure.  Atos Origin therefore can accept no liability for any errors or their 
content.  Although Atos Origin endeavours to maintain a virus-free network, we 
do not warrant that this transmission is virus-free and can accept no liability 
for any damages resulting from any virus transmitted.   The risks are deemed to 
be accepted by everyone who communicates with Atos Origin by email.
___

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: User-written ISPF-Editor line commands

2009-09-11 Thread Michael Knigge
* FA - Find All occurrences of a word. 



I did a similar thing using a Macro with Vista tn3270

If I press ALT-ENTER, the word under the Cursor is searched with a FIND 
xxx ALL command.


If I press CTRL-ENTER, the Word under the cursor is searched on column 8 
(-- so I put the cursor on a PERFORM X00-FOO-BA, press CTRL-ENTER and 
the editor jumps to the X00-FOO-BA paragraph...


I really don't wanna miss one of them


But ok, not native for ISPF because it is a 3270-Emulation macro.



Bye,
Michael

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


Re: User-written ISPF-Editor line commands

2009-09-11 Thread Donald Johnson
Paul, I like the sounds of these - would you be free to post/send the source
for these commands?
Don

On Thu, Sep 10, 2009 at 5:53 PM, Beesley, Paul
paul.bees...@atosorigin.comwrote:

 A few more to add ..

 NA, NC, NJ, NR, NP - convert line to a comment (
 Assembler/Cobol/JCL/Rexx/PL1 ) - as per Roscoe equivalents
 JJ - Join JCL lines, removing the // from the front
 JS - Split a JCL line at the cursor, inserting a // and spaces to line
 it up
 / - scroll this line to the top ( cos I kept thinking I was in CMS edit
 ... )


 Regards
 Paul

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
 Behalf Of George.William
 Sent: 10 September 2009 22:35
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: User-written ISPF-Editor line commands

 Ya, guess it is.
 Actuall TJ is different from TF.
 TF - Text Flow will 'flow' the indicated line and all subsequent lines
 below it till the end of the paragraph.

 TJ - Text Join, joins the indicated line and ONLY THE ONE LINE BELOW IT
 and will not 'flow' to a 2nd line if the   data is longer than the
 BNDS (bounds). Useful to join two lines of code when using TF would
 create havoc with your code.


 -Original Message-

  ___

 Atos Origin and Atos Consulting are trading names used by the Atos Origin
 group.  The following trading entities are registered in England and Wales:
  Atos Origin IT Services UK Limited (registered number 01245534) and Atos
 Consulting Limited (registered number 04312380).  The registered office for
 each is at 4 Triton Square, Regents Place, London, NW1 3HG.The VAT No. for
 each is: GB232327983

 This e-mail and the documents attached are confidential and intended solely
 for the addressee, and may contain confidential or privileged information.
  If you receive this e-mail in error, you are not authorised to copy,
 disclose, use or retain it.  Please notify the sender immediately and delete
 this email from your systems.   As emails may be intercepted, amended or
 lost, they are not secure.  Atos Origin therefore can accept no liability
 for any errors or their content.  Although Atos Origin endeavours to
 maintain a virus-free network, we do not warrant that this transmission is
 virus-free and can accept no liability for any damages resulting from any
 virus transmitted.   The risks are deemed to be accepted by everyone who
 communicates with Atos Origin by email.
 ___

 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


User-written ISPF-Editor line commands

2009-09-10 Thread Michael Knigge

All,

I've been googl'ing for a while now but in vain so far: Is it somehow 
possible to write user-defined line commands?


I want to enter FOO in front of a line in EDIT and then a self-written 
routine should be fired up that handles the line...



Any way?

Thank you,
Michael

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


Re: User-written ISPF-Editor line commands

2009-09-10 Thread John P Kalinich
Michael Knigge of the IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu
wrote on 09/10/2009 09:53:51 AM:

 All,

 I've been googl'ing for a while now but in vain so far: Is it somehow
 possible to write user-defined line commands?

 I want to enter FOO in front of a line in EDIT and then a self-written
 routine should be fired up that handles the line...

 Any way?

IBM has this offering.  http://tinyurl.com/muuh7d

Regards,
John K

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


Re: User-written ISPF-Editor line commands

2009-09-10 Thread Mark Zelden
On Thu, 10 Sep 2009 10:08:48 -0500, John P Kalinich jkali...@csc.com wrote:

Michael Knigge of the IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu
wrote on 09/10/2009 09:53:51 AM:

 All,

 I've been googl'ing for a while now but in vain so far: Is it somehow
 possible to write user-defined line commands?

 I want to enter FOO in front of a line in EDIT and then a self-written
 routine should be fired up that handles the line...

 Any way?

IBM has this offering.  http://tinyurl.com/muuh7d

Regards,
John K


If you want to see some working samples,  I have some execs on my web 
site and CBT file 434  that utilize it.  DB , DT , ZB , ZE , and ZV.URL
below.

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:mark.zel...@zurichna.com
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

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


Re: User-written ISPF-Editor line commands

2009-09-10 Thread Michael Knigge

Thank you guys! That's exactly what I'm looking for!


Bye,
Michael

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


Re: User-written ISPF-Editor line commands

2009-09-10 Thread George.William
For some command idea, here are some I've added;
If anyone else has some additional ones I'd love to hear about them.

* CL - Change to case of the word under the cursor to Lower case.  
* CU - Change to case of the word under the cursor to Upper case.  
* CP - Copy line(s) to multiple target labels. The data to copy is 
*  the CP line or the block of lines within CPP block cmds.
*  The targets to receive the copies are set via labels.   
*  Use labels .AA thru .AZ to copy AFTER the labeled lines.
*  Use labels .BA thru .BZ to copy BEFORE the labeled lines.   
*  Adopted from the CM (Copy to Multiple lines) macro. 
* CPC- Same as CP only it uses the ISPF default clipboard item 
*  as the data to copy to the target labels. CPC may be entered
*  on ANY line as it has no significance in the copy process.  
*  Just set the target labels, enter CPC someplace and ENTER.  
* FA - Find All occurrences of a word. 
*  If the cursor is on a word, it processes it,
*  If cursor is in the line cmd, the 1st word on the line is
used. 
*  Same as the XF command except XF excludes non found lines.  
* HX - Create Hex for the character line, (non editable)   
*  Translates the line to HEX and adds the two line HEX data   
*  as note line in the member.  RESet removes the HEX data.
* HD - Create Hex Data for the character line, (editable). 
*  Translates the line to HEX and adds the two line HEX data   
*  as editable data in the member. 
*  SEE USAGE NOTES 
* HC - Hex to Character string. Works in conjunction with HD.  
*  Changes a two line Hex representation of a character string 
*  back to the one line character string.  
*  SEE USAGE NOTES 
* HELP-Displays the commands available with LINEMAC.   
* RX - Add a blank REXX formatted comment to the End of the line.  
* CM - Add a blank formatted comment 'flower box' appropriate for  
*  the type of member being updated.   
* CMT  Call the more robust CMT edit macro to create a comment box 
* CMO- Comment out a line. 
* TJ - Text join.  
* T? - Insert a REXX Trace command. i.e. TI inserts Trace I
*TN inserts Trace N
* UNC- Uncomment a line.(For REXX, delimiters must be on same line)
* XFA- Exclude all and Find all occurrences of a word. 
* XF   If the cursor is on a word, it processes it,
*  If cursor is in the line cmd, 1st word on the line is used. 
*  Same as the FA command except this excludes non found lines.
* VER- display LINEMAC version number. 
* MOD- display LINEMAC modification log.   
*
* If the command is not one of the above, it is entered as a primary

* command.  If it is not a valid command then an appropriate   
* error message is displayed.  
*  

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Michael Knigge
Sent: Thursday, September 10, 2009 10:29 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: User-written ISPF-Editor line commands

Thank you guys! That's exactly what I'm looking for!


Bye,
Michael

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

__
CONFIDENTIALITY NOTICE: This email from the State of California is for the sole 
use of the intended recipient and may contain confidential and privileged 
information. Any unauthorized review or use, including disclosure or 
distribution, is prohibited. If you are not the intended recipient, please 
contact the sender and destroy all copies of this email.

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


Re: User-written ISPF-Editor line commands

2009-09-10 Thread Steve Comstock

George.William wrote:

For some command idea, here are some I've added;
If anyone else has some additional ones I'd love to hear about them.

* CL - Change to case of the word under the cursor to Lower case.  
* CU - Change to case of the word under the cursor to Upper case.  
* CP - Copy line(s) to multiple target labels. The data to copy is 
*  the CP line or the block of lines within CPP block cmds.
*  The targets to receive the copies are set via labels.   
*  Use labels .AA thru .AZ to copy AFTER the labeled lines.
*  Use labels .BA thru .BZ to copy BEFORE the labeled lines.   
*  Adopted from the CM (Copy to Multiple lines) macro. 
* CPC- Same as CP only it uses the ISPF default clipboard item 
*  as the data to copy to the target labels. CPC may be entered
*  on ANY line as it has no significance in the copy process.  
*  Just set the target labels, enter CPC someplace and ENTER.  
* FA - Find All occurrences of a word. 
*  If the cursor is on a word, it processes it,
*  If cursor is in the line cmd, the 1st word on the line is
used. 
*  Same as the XF command except XF excludes non found lines.  
* HX - Create Hex for the character line, (non editable)   
*  Translates the line to HEX and adds the two line HEX data   
*  as note line in the member.  RESet removes the HEX data.
* HD - Create Hex Data for the character line, (editable). 
*  Translates the line to HEX and adds the two line HEX data   
*  as editable data in the member. 
*  SEE USAGE NOTES 
* HC - Hex to Character string. Works in conjunction with HD.  
*  Changes a two line Hex representation of a character string 
*  back to the one line character string.  
*  SEE USAGE NOTES 
* HELP-Displays the commands available with LINEMAC.   
* RX - Add a blank REXX formatted comment to the End of the line.  
* CM - Add a blank formatted comment 'flower box' appropriate for  
*  the type of member being updated.   
* CMT  Call the more robust CMT edit macro to create a comment box 
* CMO- Comment out a line. 
* TJ - Text join.  
* T? - Insert a REXX Trace command. i.e. TI inserts Trace I
*TN inserts Trace N
* UNC- Uncomment a line.(For REXX, delimiters must be on same line)
* XFA- Exclude all and Find all occurrences of a word. 
* XF   If the cursor is on a word, it processes it,
*  If cursor is in the line cmd, 1st word on the line is used. 
*  Same as the FA command except this excludes non found lines.
* VER- display LINEMAC version number. 
* MOD- display LINEMAC modification log.   
*

* If the command is not one of the above, it is entered as a primary

* command.  If it is not a valid command then an appropriate   
* error message is displayed.  
*  


Very clever. It looks like ISPF is catching up with you,
though. The idea behind your CP command is implemented
with AK, BK, OK (copy or move after and Keep the value
for another copy or move), and HX is now an official
command (z/OS 1.11). TJ is the same as TF, I would imagine.

Still, good show.


--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
* Our classes include
   + How things work
   + Programming examples with realistic applications
   + Starter / skeleton code
   + Complete working programs
   + Useful utilities and subroutines
   + Tips and techniques

== Ask about being added to our opt-in list:  ==
==   * Early announcement of new courses  ==
==   * Early announcement of new techincal papers ==
==   * Early announcement of new promotions   ==

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


Re: User-written ISPF-Editor line commands

2009-09-10 Thread George.William
Ya, guess it is. 
Actuall TJ is different from TF.
TF - Text Flow will 'flow' the indicated line and all subsequent lines
below it till the end of the paragraph.

TJ - Text Join, joins the indicated line and ONLY THE ONE LINE BELOW IT
and will not 'flow' to a 2nd line if the   data is longer than the
BNDS (bounds). Useful to join two lines of code when using TF would
create havoc with your code. 


-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Steve Comstock
Sent: Thursday, September 10, 2009 2:08 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: User-written ISPF-Editor line commands


Very clever. It looks like ISPF is catching up with you,
though. The idea behind your CP command is implemented
with AK, BK, OK (copy or move after and Keep the value
for another copy or move), and HX is now an official
command (z/OS 1.11). TJ is the same as TF, I would imagine.

Still, good show.


-- 

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

   z/OS Application development made easier
 * Our classes include
+ How things work
+ Programming examples with realistic applications
+ Starter / skeleton code
+ Complete working programs
+ Useful utilities and subroutines
+ Tips and techniques

== Ask about being added to our opt-in list:  ==
==   * Early announcement of new courses  ==
==   * Early announcement of new techincal papers ==
==   * Early announcement of new promotions   ==

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

__
CONFIDENTIALITY NOTICE: This email from the State of California is for the sole 
use of the intended recipient and may contain confidential and privileged 
information. Any unauthorized review or use, including disclosure or 
distribution, is prohibited. If you are not the intended recipient, please 
contact the sender and destroy all copies of this email.

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