To go backwards in the ring, set up an "XB" (or other name) xedit as
follows.

/* Xedit previous file in the ring */
trace 'o'
'command extract /ring/'
lastfile = ring.0
'command xedit 'left(ring.lastfile,20)
Exit

Bob

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Kris Buelens
Sent: Friday, November 21, 2008 1:42 PM
To: [email protected]
Subject: Re: Switching between Xedit screens.

And, if you have lots of files in the XEDIT ring, use my RING XEDIT macro
  (part of http://www.vm.ibm.com/download/packages/descript.cgi?LISTSG )
- "RING xyz"  executes xyz in all files in the ring
- "RING" displays the files in the ring in a FILELIST like way
  and lets you execute XEDIT commands to them I used this often when I had
to apply changes to similar, but not identical, files.

Oh yes, and how do you get many files in the RING without having to type
their names? If you use my enhanced FILELIST, you can enter X2 (instead of
X) in FLELIST to bring all these files in the ring where FILELIST lives.

And to complement the explanation about SSAVE and FFILE: I saw quite some
people that use FF (the abbrev of FFILE) as it is easier to type than FILE.
By doing that, they no longer could profit of this extra protection XEDIT
gives to avoid wiping out changes unexpectedly.  Once I explained what they
loosed they all stopped using FF and SS as "default" command.

While at the subject: if you code XEDIT macros, and precede all XEDIT
commands by COMMAND (to avoid user defined command synonyms), know then that
FFILE is in fact a standard synonym.  "COMMAND FFILE"
doesn't exist.
 Synonym: FILE   native command: PFILE
 Synonym: FFILE  native command: FILE
PFILE stands for "Protected FILE", that is the command with the extra
protecting.
Similar for SAVE/PSAVE/SSAVE and QUIT/PQUIT/QQUIT So in macros code "COMMAND
FILE" if you want to file anyhow, and "COMMAND PFILE" if the extra wipe out
protection is wanted.  Why this complex setup? PFILE and friends were added
later, and with the synonym setup macros that use COMMAND FILE remain
compatible; end-users that type "FILE" get the extra protection
automatically.

2008/11/21 Tom Duerbusch <[EMAIL PROTECTED]>:
> And don't forget 'q ring' to see what files are in your top ring.
>
> BTW, once you have a ring, some commands will cause a new ring to be
created and push your current ring down.  If you issue FILELIST or RDRLIST,
and then start to xedit a new member(s).  Those members will be in a new
ring.
>
> Sometimes you can forget that you already have a member, under xedit, and
you have made changes to that member without saving them.  Then you stack
the ring and xedit the member again and make changes.  The changes in that
member will not include the changes made to that member in the lower level
ring (as they were not saved).  When you do a 'save' for the member in the
top ring, it will save without any messages.  However, as you terminate the
top ring and pop the lower ring, if you try to save that member, you will
get an error message (ssave or ffile, will save the member and wipe out the
changes you made at the higher ring).  Usually, when I get this I save the
member under a different name, and then compare the two members to see what
changes I really wanted.
>
> Tom Duerbusch
> THD Consulting
>
> If anyone ever sees my desk, you will understand that I might have xedit
sessions up for days/weeks.  I got interrupted by some higher priority work,
and I just "stack".
>
> On Win/XP, I have I have 47 windows opened.  5 of them are TN3270
sessions.  However each session is a TUBES (session manager) session.  Right
now, the session with the largest number of sessions, has 12 host sessions
active.
>
> My life is really a mess <G>
>
>>>> Edward M Martin <[EMAIL PROTECTED]> 11/21/2008 12:17 PM >>>
> Hello Everyone,
>
> Ok now to ask the next cursor question,
>
> I am Xediting two members (screen 2 with CMDLINE TOP),  I would like 
> to have a pf key set to jump between screens.
>
>
> VSE/ESA ICCF has CURSOR INPUT.   z/VM 'CURSOR HOME' does not do it.
>
>
> Ed Martin
> Aultman Health Foundation
> 330-588-4723
> ext 40441
> -----Original Message-----
> From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] 
> On Behalf Of Rich Greenberg
> Sent: Friday, November 21, 2008 12:52 PM
> To: [email protected]
> Subject: Re: Switching between Xedit screens.
>
> On: Fri, Nov 21, 2008 at 12:48:21PM -0500,Howard Rifkind Wrote:
>
> } I first Xedit one file then Xedit a second file, now there is one up 
> front and one in the background.
> }
> } I don't want to do a 'screen 2' because it's to small, not enough 
> text showing.
> }
> } How do I flip between the two screens?  There has to be an easy way 
> to do this.
>
> On the command line:  "x"
>
> Or you can set a PF key to "x".
>



--
Kris Buelens,
IBM Belgium, VM customer support

This electronic transmission and any documents accompanying this electronic 
transmission contain confidential information belonging to the sender.  This 
information may be legally privileged.  The information is intended only for 
the use of the individual or entity named above.  If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or the taking of any action in reliance on or regarding the contents of this 
electronically transmitted information is strictly prohibited.

Reply via email to