Re: XEDIT question
I don't think XCOL helps a lot to learn how to use/make XEDIT panels. Maybe my old SMARTX package is easier (a panel front-end for RTM/ESA), or, better, it has more features to use panels. Like the panel itself being a file that is XEDITed, so the panel can be longer han a screen, and PF8/PF7 can be used to scroll down/up. Addresses very closely Tom's basic goal (protect/unportect some field). It is based on an undocumented feature (the same that HELP uses): when a READ NOCHANGE TAG is active, XEDIT doesn't require SET RESERVED commands to cover all screen lines. No, with READ NOCHNAGE TAG, XEDIT will honor the control characters that are imbedded in the file that is displayed. With SMARTX, there is a file SMART COMMANDS with the imbedded "panel" data. SMART XEDIT is the macro that displays the panel, gets the user input, etc. Another tool I've got to make panels easy is my SELFS exec. It doesn't use XEDIT buth the CMS WINDOW & VSCREEN commands. SELFS is alos very well suited to make scrollable panels. The initial goal was to have an easy tool to select one or more lines from a list, hence the name SELFS, SELect FullScreen. SELFS has some demo tool to illustrate its capablities. And, at last there is my collegue's RxMessageBox (RXMB), what produces nicely looking popup boxes, also based on CMS WINDOW & VSCREEN commands I'll send those. 2011/4/7 David Boyes > Have a look at XCOL from the vm download library. You could probably use > that as a starting place. > > > > *From:* The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] *On > Behalf Of *Tom Huegel > *Sent:* Thursday, April 07, 2011 9:50 AM > *To:* IBMVM@LISTSERV.UARK.EDU > *Subject:* Re: XEDIT question > > > > Yes I have toyed with IOS3270 in the past. This application just isn't > worth the effort. There will never be more than 16 records to display/update > and only 2 or 3 occasional users. > > > -- Kris Buelens, IBM Belgium, VM customer support
Re: XEDIT question
Have a look at XCOL from the vm download library. You could probably use that as a starting place. From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tom Huegel Sent: Thursday, April 07, 2011 9:50 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT question Yes I have toyed with IOS3270 in the past. This application just isn't worth the effort. There will never be more than 16 records to display/update and only 2 or 3 occasional users.
Re: XEDIT question
Yes I have toyed with IOS3270 in the past. This application just isn't worth the effort. There will never be more than 16 records to display/update and only 2 or 3 occasional users. Thanks to everyone that responded. On Wed, Apr 6, 2011 at 11:11 PM, Les Koehler wrote: > Try IOS3270 from the VM Download Library. It's pretty neat. > > Les > > > Tom Huegel wrote: > >> It looks like XEDIT is too much effort for now, maybe I'll get back to it >> later. >> I wanted all other fiedls to be update-able. >> Maybe I'll use my old program that does DIAG58's ... Not today though. >> >> >> On Wed, Apr 6, 2011 at 9:49 AM, Les Koehler >> wrote: >> >> Sure, just like FILELIST et. al. do! But Tom's opening statement was: >>> >>> I don't do XEDIT macro's that often... >>> >>> I suspect he might be better off with something like IOS3270. That labels >>> me as an old codger, doesn't it! >>> I've been retired to long to know what the modern equivalent might be. >>> >>> Les >>> >>> >>> Frank M. Ramaekers wrote: >>> >>> Not true. You can do it, but it's a lot of work. You have to process >>>> the screen contents yourself (READ ALL TAG) and update file and screen >>>> contents yourself. >>>> >>>> Frank M. Ramaekers Jr. >>>> >>>> -Original Message- >>>> From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On >>>> Behalf Of Les Koehler >>>> Sent: Wednesday, April 06, 2011 11:23 AM >>>> To: IBMVM@LISTSERV.UARK.EDU >>>> Subject: Re: XEDIT question >>>> >>>> You can do it IF you're willing to change the file itself just to >>>> display >>>> it. Then, of course, you can't make text changes and save it in its >>>> original >>>> form. There are better tools available if that's what you want to do. >>>> >>>> Les >>>> >>>> Tom Huegel wrote: >>>> >>>> I don't do XEDIT macro's that often so this may be obvious to some, >>>>> >>>>> but I >>>> >>>> can't seem to find the 'how to' answer. >>>>> >>>>> Is there a way, (how to do it?) to set screen attributes on a file? >>>>> The SET RESERVED is fine it I want to affect the whole row, but I want >>>>> >>>>> to >>>> >>>> highlight-skip columns of data from the edited file. >>>>> >>>>> Can anyone point me in the right direction? >>>>> >>>>> Thanks >>>>> >>>>> >>>>> _ >>>> >>>> This message contains information which is privileged and confidential >>>> and >>>> is solely for the use of the >>>> >>>> intended recipient. If you are not the intended recipient, be aware that >>>> any review, disclosure, >>>> >>>> copying, distribution, or use of the contents of this message is >>>> strictly >>>> prohibited. If you have >>>> >>>> received this in error, please destroy it immediately and notify us at >>>> privacy...@ailife.com. >>>> >>>> >>>> >>
Re: XEDIT question
Try IOS3270 from the VM Download Library. It's pretty neat. Les Tom Huegel wrote: It looks like XEDIT is too much effort for now, maybe I'll get back to it later. I wanted all other fiedls to be update-able. Maybe I'll use my old program that does DIAG58's ... Not today though. On Wed, Apr 6, 2011 at 9:49 AM, Les Koehler wrote: Sure, just like FILELIST et. al. do! But Tom's opening statement was: I don't do XEDIT macro's that often... I suspect he might be better off with something like IOS3270. That labels me as an old codger, doesn't it! I've been retired to long to know what the modern equivalent might be. Les Frank M. Ramaekers wrote: Not true. You can do it, but it's a lot of work. You have to process the screen contents yourself (READ ALL TAG) and update file and screen contents yourself. Frank M. Ramaekers Jr. -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Les Koehler Sent: Wednesday, April 06, 2011 11:23 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT question You can do it IF you're willing to change the file itself just to display it. Then, of course, you can't make text changes and save it in its original form. There are better tools available if that's what you want to do. Les Tom Huegel wrote: I don't do XEDIT macro's that often so this may be obvious to some, but I can't seem to find the 'how to' answer. Is there a way, (how to do it?) to set screen attributes on a file? The SET RESERVED is fine it I want to affect the whole row, but I want to highlight-skip columns of data from the edited file. Can anyone point me in the right direction? Thanks _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: XEDIT question
It looks like XEDIT is too much effort for now, maybe I'll get back to it later. I wanted all other fiedls to be update-able. Maybe I'll use my old program that does DIAG58's ... Not today though. On Wed, Apr 6, 2011 at 9:49 AM, Les Koehler wrote: > Sure, just like FILELIST et. al. do! But Tom's opening statement was: > > I don't do XEDIT macro's that often... > > I suspect he might be better off with something like IOS3270. That labels > me as an old codger, doesn't it! > I've been retired to long to know what the modern equivalent might be. > > Les > > > Frank M. Ramaekers wrote: > >> Not true. You can do it, but it's a lot of work. You have to process >> the screen contents yourself (READ ALL TAG) and update file and screen >> contents yourself. >> >> Frank M. Ramaekers Jr. >> >> -Original Message- >> From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On >> Behalf Of Les Koehler >> Sent: Wednesday, April 06, 2011 11:23 AM >> To: IBMVM@LISTSERV.UARK.EDU >> Subject: Re: XEDIT question >> >> You can do it IF you're willing to change the file itself just to display >> it. Then, of course, you can't make text changes and save it in its original >> form. There are better tools available if that's what you want to do. >> >> Les >> >> Tom Huegel wrote: >> >>> I don't do XEDIT macro's that often so this may be obvious to some, >>> >> but I >> >>> can't seem to find the 'how to' answer. >>> >>> Is there a way, (how to do it?) to set screen attributes on a file? >>> The SET RESERVED is fine it I want to affect the whole row, but I want >>> >> to >> >>> highlight-skip columns of data from the edited file. >>> >>> Can anyone point me in the right direction? >>> >>> Thanks >>> >>> >> _ >> >> This message contains information which is privileged and confidential and >> is solely for the use of the >> >> intended recipient. If you are not the intended recipient, be aware that >> any review, disclosure, >> >> copying, distribution, or use of the contents of this message is strictly >> prohibited. If you have >> >> received this in error, please destroy it immediately and notify us at >> privacy...@ailife.com. >> >>
Re: XEDIT question
Sure, just like FILELIST et. al. do! But Tom's opening statement was: I don't do XEDIT macro's that often... I suspect he might be better off with something like IOS3270. That labels me as an old codger, doesn't it! I've been retired to long to know what the modern equivalent might be. Les Frank M. Ramaekers wrote: Not true. You can do it, but it's a lot of work. You have to process the screen contents yourself (READ ALL TAG) and update file and screen contents yourself. Frank M. Ramaekers Jr. -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Les Koehler Sent: Wednesday, April 06, 2011 11:23 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT question You can do it IF you're willing to change the file itself just to display it. Then, of course, you can't make text changes and save it in its original form. There are better tools available if that's what you want to do. Les Tom Huegel wrote: I don't do XEDIT macro's that often so this may be obvious to some, but I can't seem to find the 'how to' answer. Is there a way, (how to do it?) to set screen attributes on a file? The SET RESERVED is fine it I want to affect the whole row, but I want to highlight-skip columns of data from the edited file. Can anyone point me in the right direction? Thanks _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: XEDIT question
Not true. You can do it, but it's a lot of work. You have to process the screen contents yourself (READ ALL TAG) and update file and screen contents yourself. Frank M. Ramaekers Jr. -Original Message- From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Les Koehler Sent: Wednesday, April 06, 2011 11:23 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT question You can do it IF you're willing to change the file itself just to display it. Then, of course, you can't make text changes and save it in its original form. There are better tools available if that's what you want to do. Les Tom Huegel wrote: > I don't do XEDIT macro's that often so this may be obvious to some, but I > can't seem to find the 'how to' answer. > > Is there a way, (how to do it?) to set screen attributes on a file? > The SET RESERVED is fine it I want to affect the whole row, but I want to > highlight-skip columns of data from the edited file. > > Can anyone point me in the right direction? > > Thanks > _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: XEDIT question
You can do it IF you're willing to change the file itself just to display it. Then, of course, you can't make text changes and save it in its original form. There are better tools available if that's what you want to do. Les Tom Huegel wrote: I don't do XEDIT macro's that often so this may be obvious to some, but I can't seem to find the 'how to' answer. Is there a way, (how to do it?) to set screen attributes on a file? The SET RESERVED is fine it I want to affect the whole row, but I want to highlight-skip columns of data from the edited file. Can anyone point me in the right direction? Thanks
Re: XEDIT question
Tom, the best way is a practice, just try to explore "how it works". As example you can use existing highlights, like: *help perfkit tasks* and compare the output and source file: PERFKIT HELPTASK. The keyword is QUERY CTLCHAR. 2011/4/6 Tom Huegel > Can anyone point me in the right direction? > > -- WBR, =Maxim Bochagov IBM Russia, PTK development team
Re: XEDIT question
Here's an example of setting up attributes for display: esc="FF"x;scc esc "ESC" !._PGN= esc"P";scc "P PROTECT GREEN NONE" !._PGR= esc"R";scc "R PROTECT GREEN REVVIDEO" !._PWN= esc"W";scc "W PROTECT WHITE NONE" !._PBN= esc"B";scc "B PROTECT BLUENONE" !._NWN= esc"E";scc "E NOPROTECT WHITE NONE" !._NRN= esc"*";scc "* NOPROTECT RED NONE" !._NdN= esc"1";scc "1 NOPROTECT DEFAULT NONE" !._NGN= esc"2";scc "2 NOPROTECT GREEN NONE" !._PdNI=esc"D";scc "D PROTECT DEFAULT NONE INVISIBLE" (I use !. as global prefix...i.e. PROCEDURE EXPOSE !.) Then, here I setup a PF key display (for the bottom of the screen): !._MMTail.1=!._PGN"PF:"||, " 1"!._PGR"HELP"!._PGN||, " 2"!._PGR"Refresh "!._PGN||, " 3"!._PGR"QUIT"!._PGN||, " 4"!._PGR"Sort+Cat"!._PGN||, " 5"!._PGR"Sort+Des"!._PGN||, " 6"!._PGR""!._PGN !._MMTail.2=!._PGN" "||, " 7"!._PGR"Backward"!._PGN||, " 8"!._PGR"Forward "!._PGN||, " 9"!._PGR"Toggle "!._PGN||, "10"!._PGR"Sort+# "!._PGN||, "11"!._PGR"View"!._PGN||, "12"!._PGR"Sort-Blk"!._PGN Then you simply "SET RESERVED n" on the line you wish to display the information. Now, if the file is small enough, you can simply put the entire file into STEM variables, then it's easy to break it up (PARSE VAR vblname field1 n ...) Frank M. Ramaekers Jr. From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tom Huegel Sent: Wednesday, April 06, 2011 10:07 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT question Is there an example somewhere you can point me to? Basically all I want to do is highlight/protect the first field on the display. i.e. AA BC D AA BC D AA BC D AA BC D On Wed, Apr 6, 2011 at 7:44 AM, Frank M. Ramaekers wrote: Sure you can either code it in your PROFILE XEDIT or code a specific PROFILE and invoke it with the '(PROF profile'. You can paint the entire screen the way you want (it doesn't even have to resemble a file that is being edited). (see TRANSFER.) In fact, you don't even have to edit the file that you will be showing information from (e.g. PIPE into a STEM and just navigate the variables.) Frank M. Ramaekers Jr. From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tom Huegel Sent: Wednesday, April 06, 2011 9:34 AM To: IBMVM@LISTSERV.UARK.EDU Subject: XEDIT question I don't do XEDIT macro's that often so this may be obvious to some, but I can't seem to find the 'how to' answer. Is there a way, (how to do it?) to set screen attributes on a file? The SET RESERVED is fine it I want to affect the whole row, but I want to highlight-skip columns of data from the edited file. Can anyone point me in the right direction? Thanks _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com. _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: XEDIT question
Is there an example somewhere you can point me to? Basically all I want to do is highlight/protect the first field on the display. i.e. *AA* BC D *AA* BC D *AA* BC D *AA* BC D On Wed, Apr 6, 2011 at 7:44 AM, Frank M. Ramaekers wrote: > Sure you can either code it in your PROFILE XEDIT or code a specific > PROFILE and invoke it with the ‘(PROF profile’. You can paint the entire > screen the way you want (it doesn’t even have to resemble a file that is > being edited). (see TRANSFER.) In fact, you don’t even have to edit the > file that you will be showing information from (e.g. PIPE into a STEM and > just navigate the variables.) > > > > > > Frank M. Ramaekers Jr. > > > > > -- > > *From:* The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] *On > Behalf Of *Tom Huegel > *Sent:* Wednesday, April 06, 2011 9:34 AM > *To:* IBMVM@LISTSERV.UARK.EDU > *Subject:* XEDIT question > > > > I don't do XEDIT macro's that often so this may be obvious to some, but I > can't seem to find the 'how to' answer. > > Is there a way, (how to do it?) to set screen attributes on a file? > The SET RESERVED is fine it I want to affect the whole row, but I want to > highlight-skip columns of data from the edited file. > > Can anyone point me in the right direction? > > Thanks > _ This message > contains information which is privileged and confidential and is solely for > the use of the intended recipient. If you are not the intended recipient, be > aware that any review, disclosure, copying, distribution, or use of the > contents of this message is strictly prohibited. If you have received this > in error, please destroy it immediately and notify us at > privacy...@ailife.com. >
Re: XEDIT question
Sure you can either code it in your PROFILE XEDIT or code a specific PROFILE and invoke it with the '(PROF profile'. You can paint the entire screen the way you want (it doesn't even have to resemble a file that is being edited). (see TRANSFER.) In fact, you don't even have to edit the file that you will be showing information from (e.g. PIPE into a STEM and just navigate the variables.) Frank M. Ramaekers Jr. From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Tom Huegel Sent: Wednesday, April 06, 2011 9:34 AM To: IBMVM@LISTSERV.UARK.EDU Subject: XEDIT question I don't do XEDIT macro's that often so this may be obvious to some, but I can't seem to find the 'how to' answer. Is there a way, (how to do it?) to set screen attributes on a file? The SET RESERVED is fine it I want to affect the whole row, but I want to highlight-skip columns of data from the edited file. Can anyone point me in the right direction? Thanks _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
XEDIT question
I don't do XEDIT macro's that often so this may be obvious to some, but I can't seem to find the 'how to' answer. Is there a way, (how to do it?) to set screen attributes on a file? The SET RESERVED is fine it I want to affect the whole row, but I want to highlight-skip columns of data from the edited file. Can anyone point me in the right direction? Thanks
Re: Xedit question
I perfer Column Locate (CL) then Column Insert (CI) finishing with a REPEAT * (or as many lines as need modifing). -Original Message- From: "Martin, Terry R. (CMS/CTR) (CTR)" Sent: Feb 21, 2011 2:16 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Xedit question Hi I have a bunch of lines in a file and I want to insert in the beginning of each line a Q DA command: EX: 09 B32D70 10 B32D80 11 B32D81 12 B32D82 13 B32D83 I want to insert the following command Q DA in front of each entry. What is the best way to do this using xedit? Q DA B32D70 Terry Martin LockHeed Martin - CITIC z/OS and z/VM Performance and Tuning - Operating System Support Cell - 443 632-4191 Desk - 443 348-2102 Dave Lewis Sterling Commerce An IBM company Connect:Direct Level 3 Support
Re: Xedit question
You could save a line there. >>-SHift--+-Left--+--+--+-->< '-Right-' | .-1--. | '---cols++-' +-target-+ '-*--' Shift Right 4 * Regards, Shimon On Mon, Feb 21, 2011 at 10:41 PM, Frank M. Ramaekers wrote: > SH RI 4 > > REPEAT * > >
Re: Xedit question
Mark, C/$/"CP QUERY DASD $"/* > Alas, testing revealed that the trailing quote doesn't get inserted. How > come? > Your trailing doublequote got truncated but XEDIT remained silent, right? That's one tiny quirk you've got to remember (or it gets etched into your mind anyway) when using the arbchar. Since your first $ is not followed by anything, it represents the whole line including all the trailing blanks up to zone2 column. If you have "SET ZONE 1 *" and you're making the line longer with your change, the trailing doublequote in your example will get truncated but XEDIT will *not* tell you that. Also, the line will *not* spill even if SPILL is ON. There may be a reason why the designer decided to do it this way, but I cannot think of one. To drop the first word and surround the result with doublequotes by using only CHANGE command, you'd have to use at least two, eg: c/$ /"CP QUERY DASD /* c/ /"/* 1 4 -or- c/DASD $ /DASD $"/* Ivica Brodaric BNZ
Re: Xedit question
We have a handy little exec2 xedit script we use for this written by a. durie named gpunch. This tool will insert characters throughout a file from the command line in xedit. Gpunch starting_column characters_to_insert number_of_rows Gpunch 1 Q_DA * _ = blank. * = all lines in file From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Robert Reuscher Sent: Monday, February 21, 2011 5:52 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Xedit question My original reply got eaten by the listserv as it thought I was sending it commands (Didn't have any text of than the commands). SET ARBCHAR ON (or just ARBCHAR ON) ZONE 1 2 C/$/Q DA/* since he also wanted to strip out the leading numbers as shown in his desired results. Robert Reuscher NR5AR On Feb 21, 2011, at 3:18 PM, Rob van der Heij wrote: On Mon, Feb 21, 2011 at 9:16 PM, Martin, Terry R. (CMS/CTR) (CTR) wrote: I want to insert the following command Q DA in front of each entry. What is the best way to do this using xedit? This sound like "how can a drill a hole with... " type of challenge. I probably would not use XEDIT to do it but rather :0 pipe xedit | spec ,Q DA, 1 w2 nw | cp | cons (assuming you want to issue the commands, not just have a file with the commands in it...) Surprised none of the more experienced XEDIT people suggested ARBCHAR ? set arbchar on $ :0 ch /$ /Q DA / * Rob
Re: Xedit question
My original reply got eaten by the listserv as it thought I was sending it commands (Didn't have any text of than the commands). SET ARBCHAR ON (or just ARBCHAR ON) ZONE 1 2 C/$/Q DA/* since he also wanted to strip out the leading numbers as shown in his desired results. Robert Reuscher NR5AR On Feb 21, 2011, at 3:18 PM, Rob van der Heij wrote: > On Mon, Feb 21, 2011 at 9:16 PM, Martin, Terry R. (CMS/CTR) (CTR) > wrote: > >> I want to insert the following command Q DA in front of each entry. What is >> the best way to do this using xedit? > > This sound like "how can a drill a hole with... " type of challenge. I > probably would not use XEDIT to do it but rather > :0 pipe xedit | spec ,Q DA, 1 w2 nw | cp | cons > (assuming you want to issue the commands, not just have a file with > the commands in it...) > > Surprised none of the more experienced XEDIT people suggested ARBCHAR ? > set arbchar on $ > :0 ch /$ /Q DA / * > > Rob
Re: Xedit question
> Date: Mon, 21 Feb 2011 15:30:16 -0500 > From: tlk_sysp...@yahoo.com > Subject: Re: Xedit question > To: IBMVM@LISTSERV.UARK.EDU > > c//CP QUERY DASD /5 > > the key is the // which puts your stuff at the beginning of each line. I wish > there was a > similar notation for tack it onto the end of each line. I usually put CP > commands in > quotes '"', so the start of the line would be c//"CP QUERY DASD /5 and then > use append " > and repeat 5 to add the quote at the end of each line. > > /Tom Kern > I thought "That' easy!", and was going to suggest: SET ARBCHAR ON $ C/$/"CP QUERY DASD $"/* Alas, testing revealed that the trailing quote doesn't get inserted. How come? Mark Wheeler UnitedHealth Group
Re: Xedit question
On Mon, Feb 21, 2011 at 9:16 PM, Martin, Terry R. (CMS/CTR) (CTR) wrote: > I want to insert the following command Q DA in front of each entry. What is > the best way to do this using xedit? This sound like "how can a drill a hole with... " type of challenge. I probably would not use XEDIT to do it but rather :0 pipe xedit | spec ,Q DA, 1 w2 nw | cp | cons (assuming you want to issue the commands, not just have a file with the commands in it...) Surprised none of the more experienced XEDIT people suggested ARBCHAR ? set arbchar on $ :0 ch /$ /Q DA / * Rob
Re: Xedit question
SH RI 4 REPEAT * TOP COVERLAY Q DA Frank M. Ramaekers Jr. From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Martin, Terry R. (CMS/CTR) (CTR) Sent: Monday, February 21, 2011 2:16 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Xedit question Hi I have a bunch of lines in a file and I want to insert in the beginning of each line a Q DA command: EX: 09 B32D70 10 B32D80 11 B32D81 12 B32D82 13 B32D83 I want to insert the following command Q DA in front of each entry. What is the best way to do this using xedit? Q DA B32D70 Terry Martin LockHeed Martin - CITIC z/OS and z/VM Performance and Tuning - Operating System Support Cell - 443 632-4191 Desk - 443 348-2102 _ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at privacy...@ailife.com.
Re: Xedit question
For this question, a CHANGE is indeed quickly done. But, there's one of the best XEDIT add-ons: - the unmissable the XCOL package: http://www.vm.ibm.com/download/packages/descript.cgi?XCOL Just like XEDIT's prefix commands A, M, F, D, DD etc, that work on lines, XCOL gives you similar commands to work on columns: when you start XCOL, you get a ??? line on which you type these "col" commands So, here after you enter COL * (the * indicates COL works till end-of-file), you get this 09 B32D70 10 B32D80 11 B32D81 12 B32D82 13 B32D83 let's first insert Q DA: ??i Q DA (we use the Insert commad, to insert a string right after where you enter the I) 09 B32D70 10 B32D80 11 B32D81 12 B32D82 13 B32D83 The result 09 Q DA B32D70 10 Q DA B32D80 11 Q DA B32D81 12 Q DA B32D82 13 Q DA B32D83 To delete the numbers. One could enter D3 in columns 1 of the line, but even easier: enter D's on all columns to remove ddd 09 Q DA B32D70 10 Q DA B32D80 11 Q DA B32D81 12 Q DA B32D82 13 Q DA B32D83 XCOL provides many commands, there is even a command that allows you to re-align data that no longer are placed in a fixed column. No, I didn't write it (except of the Wordflow sub-command). 2011/2/21 Michael Donovan > There's always the XEDIT "columnar" commands. If the file is really long, > you could run the following macro > > /* IQDA XEDIT */ > 'TOP' > 'NEXT' > 'CLOCATE :1' > 'CDELETE 2' > 'REPEAT *' > 'TOP' > 'NEXT' > 'CINSERT Q DA' > 'REPEAT *' > 'TOP' > > Thanks! > Mike > --- > The reason lightning doesn't strike twice in the same place > is that the same place isn't there the second time. > - Willie Tyler > > [image: Inactive hide details for "Martin, Terry R. (CMS---02/21/2011 > 03:16:31 PM---Hi I have a bunch of lines in a file and I want to]"Martin, > Terry R. (CMS---02/21/2011 03:16:31 PM---Hi I have a bunch of lines in a > file and I want to insert in the beginning of each line a Q DA comm > > From: "Martin, Terry R. (CMS/CTR) (CTR)" > To: IBMVM@LISTSERV.UARK.EDU > Date: 02/21/2011 03:16 PM > Subject: Xedit question > Sent by: The IBM z/VM Operating System > -- > > > > Hi > > I have a bunch of lines in a file and I want to insert in the beginning of > each line a Q DA command: > > EX: > 09 B32D70 > 10 B32D80 > 11 B32D81 > 12 B32D82 > 13 B32D83 > > I want to insert the following command Q DA in front of each entry. What > is the best way to do this using xedit? > > Q DA B32D70 > > Terry Martin > LockHeed Martin - CITIC > z/OS and z/VM Performance and Tuning - Operating System Support > Cell - 443 632-4191 > Desk - 443 348-2102 > > -- Kris Buelens, IBM Belgium, VM customer support
Re: Xedit question
HI Thanks for all of the suggestions. I got it to work. Terry Martin LockHeed Martin - CITIC z/OS and z/VM Performance and Tuning - Operating System Support Cell - 443 632-4191 Desk - 443 348-2102 From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Michael Donovan Sent: Monday, February 21, 2011 3:29 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Xedit question There's always the XEDIT "columnar" commands. If the file is really long, you could run the following macro /* IQDA XEDIT */ 'TOP' 'NEXT' 'CLOCATE :1' 'CDELETE 2' 'REPEAT *' 'TOP' 'NEXT' 'CINSERT Q DA' 'REPEAT *' 'TOP' Thanks! Mike --- The reason lightning doesn't strike twice in the same place is that the same place isn't there the second time. - Willie Tyler [cid:1__=0abbf2addfe3e0f78f9e8a93df...@us.ibm.com]"Martin, Terry R. (CMS---02/21/2011 03:16:31 PM---Hi I have a bunch of lines in a file and I want to insert in the beginning of each line a Q DA comm From: "Martin, Terry R. (CMS/CTR) (CTR)" To: IBMVM@LISTSERV.UARK.EDU Date: 02/21/2011 03:16 PM Subject: Xedit question Sent by: The IBM z/VM Operating System Hi I have a bunch of lines in a file and I want to insert in the beginning of each line a Q DA command: EX: 09 B32D70 10 B32D80 11 B32D81 12 B32D82 13 B32D83 I want to insert the following command Q DA in front of each entry. What is the best way to do this using xedit? Q DA B32D70 Terry Martin LockHeed Martin - CITIC z/OS and z/VM Performance and Tuning - Operating System Support Cell - 443 632-4191 Desk - 443 348-2102
Re: Xedit question
There's always the XEDIT "columnar" commands. If the file is really long, you could run the following macro /* IQDA XEDIT */ 'TOP' 'NEXT' 'CLOCATE :1' 'CDELETE 2' 'REPEAT *' 'TOP' 'NEXT' 'CINSERT Q DA' 'REPEAT *' 'TOP' Thanks! Mike --- The reason lightning doesn't strike twice in the same place is that the same place isn't there the second time. - Willie Tyler From: "Martin, Terry R. (CMS/CTR) (CTR)" To: IBMVM@LISTSERV.UARK.EDU Date: 02/21/2011 03:16 PM Subject:Xedit question Sent by:The IBM z/VM Operating System Hi I have a bunch of lines in a file and I want to insert in the beginning of each line a Q DA command: EX: 09 B32D70 10 B32D80 11 B32D81 12 B32D82 13 B32D83 I want to insert the following command Q DA in front of each entry. What is the best way to do this using xedit? Q DA B32D70 Terry Martin LockHeed Martin - CITIC z/OS and z/VM Performance and Tuning - Operating System Support Cell - 443 632-4191 Desk - 443 348-2102
Re: Xedit question
c//CP QUERY DASD /5 the key is the // which puts your stuff at the beginning of each line. I wish there was a similar notation for tack it onto the end of each line. I usually put CP commands in quotes '"', so the start of the line would be c//"CP QUERY DASD /5 and then use append " and repeat 5 to add the quote at the end of each line. /Tom Kern On 2/21/2011 15:16, Martin, Terry R. (CMS/CTR) (CTR) wrote: Hi I have a bunch of lines in a file and I want to insert in the beginning of each line a Q DA command: EX: 09 B32D70 10 B32D80 11 B32D81 12 B32D82 13 B32D83 I want to insert the following command Q DA in front of each entry. What is the best way to do this using xedit? Q DA B32D70 Terry Martin LockHeed Martin - CITIC z/OS and z/VM Performance and Tuning - Operating System Support Cell - 443 632-4191 Desk - 443 348-2102
Re: Xedit question
c//Q DA /* "Mike MacIsaac"(845) 433-7061
Re: Xedit question
Sorry missed the numbers at the beginning. Shift left 2 and you remove the numbers leaving the space needed for the same change command. On Mon, Feb 21, 2011 at 3:19 PM, Mark Pace wrote: > I would shift every line right on space. > Then change the first space to your sting > c/ /Q DA /* > > > On Mon, Feb 21, 2011 at 3:16 PM, Martin, Terry R. (CMS/CTR) (CTR) < > terry.mar...@cms.hhs.gov> wrote: > >> Hi >> >> >> >> I have a bunch of lines in a file and I want to insert in the beginning of >> each line a Q DA command: >> >> >> >> EX: >> >> 09 B32D70 >> >> 10 B32D80 >> >> 11 B32D81 >> >> 12 B32D82 >> >> 13 B32D83 >> >> >> >> I want to insert the following command Q DA in front of each entry. What >> is the best way to do this using xedit? >> >> >> >> Q DA B32D70 >> >> >> >> Terry Martin >> >> LockHeed Martin - CITIC >> >> z/OS and z/VM Performance and Tuning - Operating System Support >> >> Cell - 443 632-4191 >> >> Desk - 443 348-2102 >> >> >> > > > > -- > Mark D Pace > Senior Systems Engineer > Mainline Information Systems > > > > > -- Mark D Pace Senior Systems Engineer Mainline Information Systems
Re: Xedit question
I would shift every line right on space. Then change the first space to your sting c/ /Q DA /* On Mon, Feb 21, 2011 at 3:16 PM, Martin, Terry R. (CMS/CTR) (CTR) < terry.mar...@cms.hhs.gov> wrote: > Hi > > > > I have a bunch of lines in a file and I want to insert in the beginning of > each line a Q DA command: > > > > EX: > > 09 B32D70 > > 10 B32D80 > > 11 B32D81 > > 12 B32D82 > > 13 B32D83 > > > > I want to insert the following command Q DA in front of each entry. What > is the best way to do this using xedit? > > > > Q DA B32D70 > > > > Terry Martin > > LockHeed Martin - CITIC > > z/OS and z/VM Performance and Tuning - Operating System Support > > Cell - 443 632-4191 > > Desk - 443 348-2102 > > > -- Mark D Pace Senior Systems Engineer Mainline Information Systems
Xedit question
Hi I have a bunch of lines in a file and I want to insert in the beginning of each line a Q DA command: EX: 09 B32D70 10 B32D80 11 B32D81 12 B32D82 13 B32D83 I want to insert the following command Q DA in front of each entry. What is the best way to do this using xedit? Q DA B32D70 Terry Martin LockHeed Martin - CITIC z/OS and z/VM Performance and Tuning - Operating System Support Cell - 443 632-4191 Desk - 443 348-2102
Re: XEDIT question
For most files V 1 73 is better than V 1 72, else you can type data in col 73 that get lost when pressing enter For ASSEMBLE files, V 1 72 is best: you are not interested in seeing the sequence nbrs starting in col 73 (and that's XEDIT's default then) 2011/1/25 Perez, Steve S > Yes, thats it! > > Thanks Richard and Tom. > > Steve. > > > -- > *From:* The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] *On > Behalf Of *Richard Troth > *Sent:* Tuesday, January 25, 2011 3:02 PM > *To:* IBMVM@LISTSERV.UARK.EDU > *Subject:* Re: XEDIT question > > On an 80-col screen, SET VER 1 72, is what I use. > That what you're after? > > -- R; <>< > > > > > On Jan 25, 2011 3:52 PM, "Steve Perez" wrote: > > Hello, > > > > There is a command or set of XEDIT commands that I used to do under XEDIT > > > that would allow me to view a 80+ column file without a line wrapping > into > > the next line. I have forgotten what the command or commands are to stop > > the wrapping. > > > > I'm sure someone out there knows what that command or series of commands > > are to make the wrapping stop so that I can read the file without having > > to adjust for wrapping. > > > > Thanks, > > Steve. > ** > > This message may contain confidential or proprietary information intended > only for the use of the > addressee(s) named above or may contain information that is legally > privileged. If you are > not the intended addressee, or the person responsible for delivering it to > the intended addressee, > you are hereby notified that reading, disseminating, distributing or > copying this message is strictly > prohibited. If you have received this message by mistake, please > immediately notify us by > replying to the message and delete the original message and any copies > immediately thereafter. > > Thank you. > ** > > CLLD > -- Kris Buelens, IBM Belgium, VM customer support
Re: XEDIT question
Yes, thats it! Thanks Richard and Tom. Steve. From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf Of Richard Troth Sent: Tuesday, January 25, 2011 3:02 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT question On an 80-col screen, SET VER 1 72, is what I use. That what you're after? -- R; <>< On Jan 25, 2011 3:52 PM, "Steve Perez" mailto:sspe...@corelogic.com>> wrote: > Hello, > > There is a command or set of XEDIT commands that I used to do under XEDIT > that would allow me to view a 80+ column file without a line wrapping into > the next line. I have forgotten what the command or commands are to stop > the wrapping. > > I'm sure someone out there knows what that command or series of commands > are to make the wrapping stop so that I can read the file without having > to adjust for wrapping. > > Thanks, > Steve. ** This message may contain confidential or proprietary information intended only for the use of the addressee(s) named above or may contain information that is legally privileged. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message and any copies immediately thereafter. Thank you. ** CLLD
Re: XEDIT question
On an 80-col screen, SET VER 1 72, is what I use. That what you're after? -- R; <>< On Jan 25, 2011 3:52 PM, "Steve Perez" wrote: > Hello, > > There is a command or set of XEDIT commands that I used to do under XEDIT > that would allow me to view a 80+ column file without a line wrapping into > the next line. I have forgotten what the command or commands are to stop > the wrapping. > > I'm sure someone out there knows what that command or series of commands > are to make the wrapping stop so that I can read the file without having > to adjust for wrapping. > > Thanks, > Steve.
Re: XEDIT question
VERIFY ? ie verify 1 72 On Tue, Jan 25, 2011 at 12:51 PM, Steve Perez wrote: > Hello, > > There is a command or set of XEDIT commands that I used to do under XEDIT > that would allow me to view a 80+ column file without a line wrapping into > the next line. I have forgotten what the command or commands are to stop > the wrapping. > > I'm sure someone out there knows what that command or series of commands > are to make the wrapping stop so that I can read the file without having > to adjust for wrapping. > > Thanks, > Steve. >
XEDIT question
Hello, There is a command or set of XEDIT commands that I used to do under XEDIT that would allow me to view a 80+ column file without a line wrapping int o the next line. I have forgotten what the command or commands are to stop the wrapping. I'm sure someone out there knows what that command or series of commands are to make the wrapping stop so that I can read the file without having to adjust for wrapping. Thanks, Steve.
Re: XEDIT Question
The SET NULLS ON tells XEDIT to not translate null characters to blanks. It does not affect the showing of unwanted trailing blanks when you have 'verify h n *' in effect. In fact, xedit pads all records to the specified LRECL with blanks when it displays the file; it does not stop at the longest record's length. Regards, Richard Schuh > -Original Message- > From: The IBM z/VM Operating System > [mailto:ib...@listserv.uark.edu] On Behalf Of Tom Duerbusch > Sent: Friday, October 02, 2009 7:52 AM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Re: XEDIT Question > > I thought there was an old subcommandone that was used in > the dial up ages... > > Set Nulls on > Set Remote on > Set something on > > It was a method of having Xedit use trailing nulls, instead > of trailing blanks. Which helped a lot with a 9600 baud modem. > > Tom Duerbusch > THD Consulting > > >>> "Schuh, Richard" 10/1/2009 4:23 PM >>> > Suppose you are editing a file that has RECFM V and you want > to see the hex translation. You enter the command VER H 1 *, > and you are immediately presented with the hex data. Is there > any way to prevent XEDIT from padding short records with > x'40's? Any way short of rewriting a chunk of the XEDIT code, that is. > > > Regards, > Richard Schuh >
Re: XEDIT Question
On Fri, Oct 2, 2009 at 10:51 AM, Tom Duerbusch wrote: > I thought there was an old subcommandone that was used in the dial up > ages... > > Set Nulls on > Set Remote on > Set something on > > It was a method of having Xedit use trailing nulls, instead of trailing > blanks. Which helped a lot with a 9600 baud modem. That's at the screen level, doesn't have anything to do with this issue, though your confusion is perfectly reasonable.
Re: XEDIT Question
I thought there was an old subcommandone that was used in the dial up ages... Set Nulls on Set Remote on Set something on It was a method of having Xedit use trailing nulls, instead of trailing blanks. Which helped a lot with a 9600 baud modem. Tom Duerbusch THD Consulting >>> "Schuh, Richard" 10/1/2009 4:23 PM >>> Suppose you are editing a file that has RECFM V and you want to see the hex translation. You enter the command VER H 1 *, and you are immediately presented with the hex data. Is there any way to prevent XEDIT from padding short records with x'40's? Any way short of rewriting a chunk of the XEDIT code, that is. Regards, Richard Schuh
Re: XEDIT Question
It's not XEDIT but you can use BROWSE and SET HEX CHAR
Re: XEDIT Question
This won't help you in XEDIT, but in CMS you can use TYPE with HEX option. You can limit the output by columns and records. Ivica
Re: XEDIT Question
On Thu, Oct 1, 2009 at 5:56 PM, Feller, Paul wrote: > You could try HEXTYPE, it might give you what you are looking for. Not the > best looking screen, but it may help. No, it won't help. The suggestion to unpack it to hex nibbles and then put it back is a good one. Now we just need another VERIFY setting, to display hex nibbles as characters!
Re: XEDIT Question
You could try HEXTYPE, it might give you what you are looking for. Not the best looking screen, but it may help. .-1--. >>--HEXType--++-- |-target-| '-*--' Purpose Use the HEXTYPE macro to display a specified number of lines in both hexadecimal and EBCDIC. Paul Feller AIT Mainframe Technical Support -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Schuh, Richard Sent: Thursday, October 01, 2009 4:46 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: XEDIT Question That is true, and they do not contain trailing blanks. However, ver h 1 * will pad the display with trailing x'40's on any short record. Regards, Richard Schuh > -Original Message- > From: The IBM z/VM Operating System > [mailto:ib...@listserv.uark.edu] On Behalf Of P S > Sent: Thursday, October 01, 2009 2:28 PM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Re: XEDIT Question > > On Thu, Oct 1, 2009 at 5:23 PM, Schuh, Richard > wrote: > > Suppose you are editing a file that has RECFM V and you want to see > > the hex translation. You enter the command VER H 1 *, and you are > > immediately presented with the hex data. Is there any way > to prevent > > XEDIT from padding short records with x'40's? Any way short of > > rewriting a chunk of the XEDIT code, that is. > > No. > > CMS RECFM V non-executable files "aren't supposed to" have > trailing blanks. > > (At least, that's the philosophy!) >
Re: XEDIT Question
That is true, and they do not contain trailing blanks. However, ver h 1 * will pad the display with trailing x'40's on any short record. Regards, Richard Schuh > -Original Message- > From: The IBM z/VM Operating System > [mailto:ib...@listserv.uark.edu] On Behalf Of P S > Sent: Thursday, October 01, 2009 2:28 PM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Re: XEDIT Question > > On Thu, Oct 1, 2009 at 5:23 PM, Schuh, Richard > wrote: > > Suppose you are editing a file that has RECFM V and you want to see > > the hex translation. You enter the command VER H 1 *, and you are > > immediately presented with the hex data. Is there any way > to prevent > > XEDIT from padding short records with x'40's? Any way short of > > rewriting a chunk of the XEDIT code, that is. > > No. > > CMS RECFM V non-executable files "aren't supposed to" have > trailing blanks. > > (At least, that's the philosophy!) >
Re: XEDIT Question
Not that I know of. Use this PIPE instead, and then edit the output file : pipe < input file a | deblock F 40 | specs 1-* c2x 1 | > output file a Feel free to adjust the width of the data from "40" to whatever number suits your taste. Brian Nielsen On Thu, 1 Oct 2009 14:23:44 -0700, Schuh, Richard wrote : >Suppose you are editing a file that has RECFM V and you want to see the hex translation. You enter the command VER H 1 *, and you are immediately presented with the hex data. Is there any way to prevent XEDIT from padding short records with x'40's? Any way short of rewriting a chunk of the XEDIT code, that is.
Re: XEDIT Question
On Thu, Oct 1, 2009 at 5:23 PM, Schuh, Richard wrote: > Suppose you are editing a file that has RECFM V and you want to see the hex > translation. You enter the command VER H 1 *, and you are immediately > presented with the hex data. Is there any way to prevent XEDIT from padding > short records with x'40's? Any way short of rewriting a chunk of the XEDIT > code, that is. No. CMS RECFM V non-executable files "aren't supposed to" have trailing blanks. (At least, that's the philosophy!)
XEDIT Question
Suppose you are editing a file that has RECFM V and you want to see the hex translation. You enter the command VER H 1 *, and you are immediately presented with the hex data. Is there any way to prevent XEDIT from padding short records with x'40's? Any way short of rewriting a chunk of the XEDIT code, that is. Regards, Richard Schuh