Re: help with DMSCGR DMSCSR esoterica
Uppercase or not: I guess that these CSL routines also work with EXEC2, and there One is another variable than ONE. Substitution or not: One often sees execs containing code like this: info.street='xxx' info.name='' and the coder of the exec didn't define 'street', nor 'name' as variables. So INFO.STREET and INFO.NAME are the variables here. When accessing them from CSL (or PIPE), one needs direct access, no substitution. In PIPE speak this is VAR INFO.STREET DIRECT This technique makes it possible to code for example ToEat='STREET NAME' do while toEat'' parse var toEat t toEat say left(t,10) '=' info.t end But, this is not always what exec programmers want. So the reason for substitution or not. Notes: - I consider the above (coding info.name='xxx' and supposing 'name' is a constant) as bad practice. One can get the same simple code by using info.0name='xxx' as 0name can never be a variable. - With CMS Pipelines, VAR xxx.yyy DIRECT has better performance then SYMBOLIC. One must know what one wants to achieve. Given that t='NAME' - 'PIPE VAR INFO.T SYMBOLIC ...' - 'PIPE VAR INFO.'t 'DIRECT ...' both produce exactly the same result, but the second example is considerably faster. 2011/2/19 Steve Marak sama...@gizmoworks.com I have one of those is there ever any situation when ... would not be a good default questions, and I need the help of VM-savvy minds capable of perverse and twisted logic. I can't imagine a better place to find them than this list. (Yes, that was intended as a compliment.) As you all know, DMSCGR and DMSCSR are CSL routines which retrieve and set, respectively, the values of REXX variables. The default behavior is that the variable name passed is searched for directly in REXX's list of variables, exactly as passed. Optionally, the caller can ask that the name be both translated to upper case and that REXX perform variable name substitution on it before looking for it. (Since REXX doesn't care about case in variable names and some quick experiments confirm that passing mixed- or lower-case names without this option isn't productive [except of non-zero return codes], one could reasonably ask why the name is not always translated to upper-case. I think it's a very valid question, but more or less irrelevant to my problem.) In situations where everyone involved knows which behavior is desired, the choice between substitution or not isn't an issue. But if there's a situation where an end user will create REXX execs which pass a variable name to a program which will then retrieve or set it via these routines, it's more problematic ... or maybe not, if one or the other behavior is obviously preferable. Can anyone think of a situation in which you would *not* want substitution performed on the variable name passed? Typically, the whole reason you use compound REXX variables is to get that. But the writers of these routines didn't make that the default, so I want to know if there's some obvious situation we're missing where you wouldn't want it. (We've come up with one exotic case involving REXXVARS, but it's not one that seems likely to occur. In fact, it seems like the writer of the exec would almost have to be out to get you to code it that way.) Thanks, Steve -- Steve Marak -- sama...@gizmoworks.com -- Kris Buelens, IBM Belgium, VM customer support
Re: Defining FCP devices to z/VM
That all looks good. How about the OS config? I'm including the dev screen shots for us and os config - This is for FCP E800 attached to two z/VM lpars - On 2/18/2011 12:33 PM, Crabtree, Anne D wrote: Thought this might help: Specify or revise the following values. Processor ID . . . . : Z10 Z10 2098 V02 MACHINE Configuration mode . : LPAR Channel Subsystem ID : 0 Channel path ID . . . . 43+PCHID . . . 1B0 Channel path type . . . FCP + Operation mode . . . . . SHR + Managed . . . . . . . . No (Yes or No) I/O Cluster + Description . . . . . . EMC CELERRA Z/VM IFL Specify the following values only if connected to a switch: Dynamic entry switch ID __ + (00 - FF) Entry switch ID . . . . __ + Entry port . . . . . . . __ + ¢¢¢ Define Access List ¢¢ Row 1 of Command === _ Scroll === PAGE Select one or more partitions for inclusion in the access list. Channel subsystem ID : 0 Channel path ID . . : 43 Channel path type . : FCP Operation mode . . . : SHRNumber of CHPIDs . . : 1 / CSS ID Partition Name Number Usage Description _ 0 IPO1 1 OS _ 0 IPO2 4 OSIPO2 / 0 LINUX3 OSlinux _ 0 TEST 2 OS _ 0 WVCF 5 CF Anne D. Crabtree System Programmer WV Office of Technology Data Center 1900 Kanawha Blvd East Charleston, WV 25305 (304)558-5914 ext 58292 (304)558-1441 fax *From:*The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] *On Behalf Of *Brian France *Sent:* Friday, February 18, 2011 11:57 AM *To:* IBMVM@LISTSERV.UARK.EDU *Subject:* Re: Defining FCP devices to z/VM I do not connect them to my z/OS LPARs under my z/OS contolled HCD. I do however, create VM OS LPARs under my z/OS controlled HCD and connect my FCP chpds/dev to VM only. On the chpid itself I only code VM access. I don't even put MVS as a candidate. On 2/18/2011 11:49 AM, Crabtree, Anne D wrote: So, you don't connect them to your operating system config under z/os in HCD, you just define them there and then connect on the VM side under VM? (boy that question even confuses me..lol Hope you know what I'm asking!) Anne D. Crabtree System Programmer WV Office of Technology Data Center 1900 Kanawha Blvd East Charleston, WV 25305 (304)558-5914 ext 58292 (304)558-1441 fax *From:*The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] *On Behalf Of *Brian France *Sent:* Friday, February 18, 2011 11:46 AM *To:* IBMVM@LISTSERV.UARK.EDU mailto:IBMVM@LISTSERV.UARK.EDU *Subject:* Re: Defining FCP devices to z/VM I define mine under my z/OS system config. So I have MVS lpars and VM lpars and I only connect the FCP chpids and devs to VM. On 2/18/2011 11:25 AM, Crabtree, Anne D wrote: I am running Linux under z/vm. Maybe I don't care if the devices connect to my os config? That's where the problem pops up. It actually let me define them, it just won't let me connect them to the os config. Opinions? Anne D. Crabtree System Programmer WV Office of Technology Data Center 1900 Kanawha Blvd East Charleston, WV 25305 (304)558-5914 ext 58292 (304)558-1441 fax *From:*The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] *On Behalf Of *Brian France *Sent:* Friday, February 18, 2011 11:22 AM *To:* IBMVM@LISTSERV.UARK.EDU mailto:IBMVM@LISTSERV.UARK.EDU *Subject:* Re: Defining FCP devices to z/VM I make mine VM. Are you running VM or just linux in an lpar? On 2/18/2011 11:15 AM, Crabtree, Anne D wrote: It won't let me define FCP devices on the z/os side because my config is type MVS. Anne D. Crabtree System Programmer WV Office of Technology Data Center 1900 Kanawha Blvd East Charleston, WV 25305 (304)558-5914 ext 58292 (304)558-1441 fax *From:*The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] *On Behalf Of *Mark Pace *Sent:* Friday, February 18, 2011 10:52 AM *To:* IBMVM@LISTSERV.UARK.EDU mailto:IBMVM@LISTSERV.UARK.EDU *Subject:* Re: Defining FCP devices to z/VM Define CHPID, Control Unit, and I/O Devices all as type FCP. On Fri, Feb 18, 2011 at 10:38 AM, Crabtree, Anne D anne.d.crabt...@wv.gov mailto:anne.d.crabt...@wv.gov wrote: I maintain one operating system configuration in z/OS HCD which includes my z/OS lpars, as well as, my linux ifl. If I want to access storage on a FCP device from the linux IFL, what, specifically, do I have to add to HCD on the z/OS side? (just channel paths?) What, specifically, so I have to add to SYSTEM CONFIG on the z/VM side? (EDEVICE statements?) Does anyone know if any of the SHARE sessions (in Anaheim) would help me address this? Anne D. Crabtree System Programmer WV Office of Technology Data Center 1900 Kanawha Blvd East
Re: Any 3270 emulator for Android Tablet?
x3270 builds fine. 8-) On 2/18/11 8:20 AM, Tony Thigpen t...@vse2pdf.com wrote: Has anyone found a 3270 emulator for Android yet? -- Tony Thigpen
Re: Who is accessing DASD
Please do not forget, the Performance Toolkit has the ability to display current activity on DASD device too: the command is DEVICE 6F8. The response will like this: FCX110 CPU 2097 SER 0312E Interval 15:43:03 - 15:43:13Perf. Monitor Detailed Analysis for Device 2A60 ( CP OWNED ) Device type :3390-3Function pend.:...ms Device busy : ...% VOLSER :FC2A60Disconnected :...ms I/O contention: ...% Nr. of LINKs: 117Connected :...ms Reserved : ...% Last SEEK :31Service time :...ms SENSE SSCH: ... SSCH rate/s :.0Response time :...ms Recovery SSCH : ... Avoided/s :.0CU queue time :...ms Throttle del/s: ... Status: MDCACHE USED System Page/Spool I/O Details Page reads/s :.0 Total pages/s : .0 PG serv. time: 1.0ms Page writes/s :.0 I/Os avoided/s : .0 PG resp. time: 13.4ms Spool reads/s :.0 System I/Os /s : .0 PG queue len.: .00 Spool writes/s:.0 User interfer./s: .0 Avail. bsize : Path(s) to device 2A60:8B 8C Channel path status :ON ON DeviceOverall CU-Cache Performance Split DIR ADDR VOLSER IO/S %READ %RDHIT %WRHIT ICL/S BYP/S IO/S %READ %RDHIT 2E 2A60 FC2A60 .0 ..........0.0 'NORMAL' I/O only MDISK Extent Userid Addr IO/s VSEEK StatusLINK VIO/s %MDC MDIO/s +-+ | 0 - 3338 MAINT0123 .0 owner | | OPERATOR 0123 .0 0 WR 1 .0 ... .0 | +-+ | 1 -20 System DIRECT MLOAD Used| | LOAD ... 35%| +-+ C399 - 798 MAINT0CF4 .0 owner C C DYNMEMUP 0CF4 .0 0 RR 3 .0 ... .0 C C 1161 - 1290 MAINT0190 .0 owner C C CFT2ND 0190 .0 0 RR 34 .0 ... .0 C C 1291 - 1310 MAINT02CC .0 owner C C OPERATOR 02CC .0 0 RR 1 .0 ... .0 C C 1311 - 1485 MAINT0191 .0 owner C C SYSTEM 0002 .0 0 RR 1 .0 ... .0 C C 1517 - 1591 MAINT0400 .0 owner C C CFT2ND 0400 .0 0 RR 1 .0 ... .0 C C 2125 - 2274 MAINT019D .0 owner C C CFT2ND 019D .0 0 RR 32 .0 ... .0 C C 2275 - 2629 MAINT019E .0 owner C C CFT2ND 019E .0 0 RR 34 .0 ... .0 C C 2630 - 2796 MAINT0193 .0 owner C C CFT2ND 0193 .0 0 RR 7 .0 ... .0 C C 2918 - 2922 OPERSYMP 0191 .0 0 WR 1 .0 ... .0 C C 2923 - 2927 OPERATOR 0191 .0 0 WR 1 .0 ... .0 C C 2928 - 2928 OP1 0191 .0 owner C C OPERATOR 0192 .0 0 RR 1 .0 ... .0 C SY, =Maxim Bochagov
Re: Any 3270 emulator for Android Tablet?
More info? I did not know the linux under Android had x-window support. (FYI, I already use x3270 on my linux laptop.) Tony Thigpen -Original Message - From: David Boyes Sent: 02/19/2011 02:47 PM x3270 builds fine. 8-) On 2/18/11 8:20 AM, Tony Thigpen t...@vse2pdf.com wrote: Has anyone found a 3270 emulator for Android yet? -- Tony Thigpen