Re: RSCS: Printing to Ricoh Copier with LPR
/* Sample DIAGD4 EXEC */ /* Use DIAG D4 to change spool ownerid to original owner. */ /* Do a QUERY RDR to find OWNERID */ ownerid = Left(ownerid,8) /* Who sent us spool file */ target = Left(Userid(),8) /* Machine name this EXEC is running in */ Address Command 'DIAGD4' target ownerid If Rc /= 0 Then Say 'DIAGD4 had a return code =' Rc Are you able to change the origin user ID within the spool file updated with Diag D4? Has the use of DIAGD4 resolved the situation? Is the correct origin user ID passed on the P control file record? Does the daemon find this and authenticate properly? Best Regards, Les Geer IBM z/VM and Linux Development
Re: RSCS: Printing to Ricoh Copier with LPR
Les - I didn't mean to imply that I was using the DIAGD4 EXEC for the Ricoh problem. I only offered it as a way to solve changing the ORIGINID on spool files. I haven't tried to see if the new ORIGINID would be passed to the Ricoh in the p record. I only use DIAGD4 in a DVM that receives print from VSE, processes it and then sends it on to RSCS for printing. My purpose was so have 'VSE' print on the separator page, not the name of the DVM. /Fran On Thu, 15 Apr 2010 07:40:35 -0400 Les Geer (607-429-3580) said: Has the use of DIAGD4 resolved the situation? Is the correct origin user ID passed on the P control file record? Does the daemon find this and authenticate properly?
Re: RSCS: Printing to Ricoh Copier with LPR
No, we do not have an nje defined. Martin V. Benedict, Sr. Sr. Systems Programmer IT Department The Golub Corporation - Price Chopper Markets 461 Nott Street Schenectady, New York, 12308 Phone:518-379-1261 Cellular: 518-788-3742 Fax: 518-379-3514 www.pricechopper.com martybened...@pricechopper.com -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Les Geer (607-429-3580) Sent: Wednesday, April 14, 2010 8:01 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: RSCS: Printing to Ricoh Copier with LPR The problem that we have is that some of the prints come from a CMS users rdr. The originid is what actually gets passed. If the report came from the vse system to the CMS user, then the origin id is the name of the VSE guest, and that can't be changed that I can see. We would need to somehow alter the origin id in order to be able to have a valid user id. We need to have each print job tied to a specific person and not a vm guest name. As others have suggested, you can use Diagnose x'F8' to change a CMS users spool file origin information. From VSE, do you have an NJE link defined to RSCS? If so, I believe you can specify origin information when you submit the job to VSE. Best Regards, Les Geer IBM z/VM and Linux Development
Re: RSCS: Printing to Ricoh Copier with LPR
I just downloaded the package fro, Fran Hensler's web site and working on installing. I didn't see any docs related to usage though. Martin V. Benedict, Sr. Sr. Systems Programmer IT Department The Golub Corporation - Price Chopper Markets 461 Nott Street Schenectady, New York, 12308 Phone:518-379-1261 Cellular: 518-788-3742 Fax: 518-379-3514 www.pricechopper.com martybened...@pricechopper.com -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Les Geer (607-429-3580) Sent: Thursday, April 15, 2010 7:41 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: RSCS: Printing to Ricoh Copier with LPR /* Sample DIAGD4 EXEC */ /* Use DIAG D4 to change spool ownerid to original owner. */ /* Do a QUERY RDR to find OWNERID */ ownerid = Left(ownerid,8) /* Who sent us spool file */ target = Left(Userid(),8) /* Machine name this EXEC is running in */ Address Command 'DIAGD4' target ownerid If Rc /= 0 Then Say 'DIAGD4 had a return code =' Rc Are you able to change the origin user ID within the spool file updated with Diag D4? Has the use of DIAGD4 resolved the situation? Is the correct origin user ID passed on the P control file record? Does the daemon find this and authenticate properly? Best Regards, Les Geer IBM z/VM and Linux Development
Re: z/VM not seeing storage from SAN
scsidisc only reports those i've attached. That particular output was from a different device (i.e. 5001).. my terminology is a little off. Our SAN admin swears it's configured correctly on the switch. On Thu, Apr 15, 2010 at 9:38 AM, Eric R Farman far...@us.ibm.com wrote: Hi Daniel, The WWPN listed in your Q FCP outputs and that from the SCSIDISC tool are similar enough that I suspect they are different subchannels on the same FCP card, and not of your target DASD subsystem. Are there other WWPNs listed in the SCSIDISC output beyond what you have sent? If so, what does SCSIDISC see with them? If not, has the switch been told about the NPIV WWPNs that the VM LPAR will be using (that is, those listed in Q FCP)? What specific messages do you get when varying on the EDEV? One other thing... the FCP subchannel (5000 in your example below) shouldn't be attached to a particular user if it is going to be used as part of an EDEV. It should be free so that VM can attach it to the SYSTEM itself at the time the EDEV is varied online. (The FCP can be used for multiple paths/LUNs at once, so in reality the FCP should be either free or attached to SYSTEM.) The ATTACH 5000 TO * command would be used for a guest to use, such as for SCSIDISC or Linux itself configuring SCSI. Regards, Eric Eric Farman z/VM I/O Development IBM Endicott, NY From: Daniel Tate daniel.t...@gmail.com To: IBMVM@LISTSERV.UARK.EDU Date: 04/14/2010 02:40 PM Subject: z/VM not seeing storage from SAN Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU -- Disclaimer: I am a UNIX admin, working with z/VM for the first time. I only know basic commands and concepts, but really need to get this working. Our san is connected, and other LPARs can see the storage. the CHPID is online. I can attach the storage (ATTACH 5000 to *) and SET EDEV blahblahbah.. but when i try to vary on the storage,i get a NO PATH TO DEVICE error. Anyone have any ideas? SCSIDISC Reports: WARNING::WWPN C05076FAE3000408 Could Not be Opened WARNING::WWPN C05076FAE3000408 ignored Here’s the output from q fcp: q fcp 07:05:04 FCP 5000 ATTACHED TO MAINT5000 CHPID 46 07:05:04 WWPN C05076FAE3000400 q v fcp 08:27:31 FCP 5000 ON FCP 5000 CHPID 46 SUBCHANNEL = 011D 08:27:31 5000 DEVTYPE FCP CHPID 46 FCP 08:27:31 5000 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE 08:27:31 WWPN C05076FAE3000400 Ready; T=0.01/0.01 08:27:31
Re: z/VM not seeing storage from SAN
What is the back-end storage?If DS have the appropriate Hostconnect been created? On Thu, Apr 15, 2010 at 10:19 AM, Daniel Tate daniel.t...@gmail.com wrote: scsidisc only reports those i've attached. That particular output was from a different device (i.e. 5001).. my terminology is a little off. Our SAN admin swears it's configured correctly on the switch. On Thu, Apr 15, 2010 at 9:38 AM, Eric R Farman far...@us.ibm.com wrote: Hi Daniel, The WWPN listed in your Q FCP outputs and that from the SCSIDISC tool are similar enough that I suspect they are different subchannels on the same FCP card, and not of your target DASD subsystem. Are there other WWPNs listed in the SCSIDISC output beyond what you have sent? If so, what does SCSIDISC see with them? If not, has the switch been told about the NPIV WWPNs that the VM LPAR will be using (that is, those listed in Q FCP)? What specific messages do you get when varying on the EDEV? One other thing... the FCP subchannel (5000 in your example below) shouldn't be attached to a particular user if it is going to be used as part of an EDEV. It should be free so that VM can attach it to the SYSTEM itself at the time the EDEV is varied online. (The FCP can be used for multiple paths/LUNs at once, so in reality the FCP should be either free or attached to SYSTEM.) The ATTACH 5000 TO * command would be used for a guest to use, such as for SCSIDISC or Linux itself configuring SCSI. Regards, Eric Eric Farman z/VM I/O Development IBM Endicott, NY From: Daniel Tate daniel.t...@gmail.com To: IBMVM@LISTSERV.UARK.EDU Date: 04/14/2010 02:40 PM Subject: z/VM not seeing storage from SAN Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU -- Disclaimer: I am a UNIX admin, working with z/VM for the first time. I only know basic commands and concepts, but really need to get this working. Our san is connected, and other LPARs can see the storage. the CHPID is online. I can attach the storage (ATTACH 5000 to *) and SET EDEV blahblahbah.. but when i try to vary on the storage,i get a NO PATH TO DEVICE error. Anyone have any ideas? SCSIDISC Reports: WARNING::WWPN C05076FAE3000408 Could Not be Opened WARNING::WWPN C05076FAE3000408 ignored Here’s the output from q fcp: q fcp 07:05:04 FCP 5000 ATTACHED TO MAINT5000 CHPID 46 07:05:04 WWPN C05076FAE3000400 q v fcp 08:27:31 FCP 5000 ON FCP 5000 CHPID 46 SUBCHANNEL = 011D 08:27:31 5000 DEVTYPE FCP CHPID 46 FCP 08:27:31 5000 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE 08:27:31 WWPN C05076FAE3000400 Ready; T=0.01/0.01 08:27:31 -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317
Re: RSCS: Printing to Ricoh Copier with LPR
Les, Do you have a sample of an LPRZONE exit or configuration file? Martin V. Benedict, Sr. Sr. Systems Programmer IT Department The Golub Corporation - Price Chopper Markets 461 Nott Street Schenectady, New York, 12308 Phone:518-379-1261 Cellular: 518-788-3742 Fax: 518-379-3514 www.pricechopper.com martybened...@pricechopper.com -Original Message- From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf Of Les Geer (607-429-3580) Sent: Tuesday, April 13, 2010 12:17 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: RSCS: Printing to Ricoh Copier with LPR LPRXONE passes the user ID of the print job origin in the p control file record. Is this being used by the Ricoh? Best Regards, Les Geer IBM z/VM and Linux Development We have pretty much the same setup. However, we have a need to pass a person's userid to the Ricoh. Our printers are setup with the badge swipecard reader and we need to be able to pass a userid. We are currently using the LPRXONE. If there is another that supports an actual userid, i would be willing to switch to test. We also are using RSCS to TCPIP/LPR to the printers. On Wed, 7 Apr 2010 10:47:28 -0400, Fran Hensler f...@zvm.sru.edu wrote: On Tue, 06 Apr 2010 15:30:27 EDT Fran Hensler f...@zvm.sru.edu said: We have various models of Ricoh copiers around campus to which we have been sending print from RSCS Networking Version 3, Release 2.0-0201. Recently authorization codes were installed on some of them. Without the use of this code the print just goes into the bit bucket. So from RSCS everything looks normal but nothing prints. On the Ricoh Customer Help page http://tinyurl.com/yf2mtku there is a question: How do I add a user code when printing from a Unix command line? and the answer is: You may add a user code to a Unix print job by adding -o usercode= to the command line. For example: lp -d restricted_printer -o usercode=3D12345 /etc/hosts My question: Is there any way to get RSCS to send the usercode? What PARM statement would I use? On Tue, 6 Apr 2010 20:42:49 -0400 Les Geer (607-429-3580) said: Which RSCS LPR exit are you using? LPRXONE does not currently include the -o record in the control file sent to the printer. You would need to modify the exit to add it. Unsure if the printer would accept a usercode via a PCL or postscript command. If so, then you could add it via the prefix eparm. Best Regards, Les Geer IBM z/VM and Linux Development Les - I tried *usercode=3D34043404 in ASCII EPARM=3D'S=3DN PREFIX=3D75736572636F653D3334303433343034' and Exit LPRXONE took it but it didn't work. I found a solution at: http://tinyurl.com/yk5vveh The Ricoh configuration can specify unrestricted users by IP address. I entered the IP address of the mainframe and I'm now able to print with RSCS LPR. Thanks to Les Geer and David Boyes for offering possible solutions. rs mailto:f...@zvm.sru.edu http://zvm.sru.edu/~fjh +1.724.738.2153 Yes, Virginia, there is a Slippery Rock --
Re: z/VM not seeing storage from SAN
It's an Hitachi SAN through a Cisco fibre switch. NPIV is on on all. NPV, however, is not On Thu, Apr 15, 2010 at 8:53 PM, Mark Pace mpac...@gmail.com wrote: What is the back-end storage?If DS have the appropriate Hostconnect been created? On Thu, Apr 15, 2010 at 10:19 AM, Daniel Tate daniel.t...@gmail.comwrote: scsidisc only reports those i've attached. That particular output was from a different device (i.e. 5001).. my terminology is a little off. Our SAN admin swears it's configured correctly on the switch. On Thu, Apr 15, 2010 at 9:38 AM, Eric R Farman far...@us.ibm.com wrote: Hi Daniel, The WWPN listed in your Q FCP outputs and that from the SCSIDISC tool are similar enough that I suspect they are different subchannels on the same FCP card, and not of your target DASD subsystem. Are there other WWPNs listed in the SCSIDISC output beyond what you have sent? If so, what does SCSIDISC see with them? If not, has the switch been told about the NPIV WWPNs that the VM LPAR will be using (that is, those listed in Q FCP)? What specific messages do you get when varying on the EDEV? One other thing... the FCP subchannel (5000 in your example below) shouldn't be attached to a particular user if it is going to be used as part of an EDEV. It should be free so that VM can attach it to the SYSTEM itself at the time the EDEV is varied online. (The FCP can be used for multiple paths/LUNs at once, so in reality the FCP should be either free or attached to SYSTEM.) The ATTACH 5000 TO * command would be used for a guest to use, such as for SCSIDISC or Linux itself configuring SCSI. Regards, Eric Eric Farman z/VM I/O Development IBM Endicott, NY From: Daniel Tate daniel.t...@gmail.com To: IBMVM@LISTSERV.UARK.EDU Date: 04/14/2010 02:40 PM Subject: z/VM not seeing storage from SAN Sent by: The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU -- Disclaimer: I am a UNIX admin, working with z/VM for the first time. I only know basic commands and concepts, but really need to get this working. Our san is connected, and other LPARs can see the storage. the CHPID is online. I can attach the storage (ATTACH 5000 to *) and SET EDEV blahblahbah.. but when i try to vary on the storage,i get a NO PATH TO DEVICE error. Anyone have any ideas? SCSIDISC Reports: WARNING::WWPN C05076FAE3000408 Could Not be Opened WARNING::WWPN C05076FAE3000408 ignored Here’s the output from q fcp: q fcp 07:05:04 FCP 5000 ATTACHED TO MAINT5000 CHPID 46 07:05:04 WWPN C05076FAE3000400 q v fcp 08:27:31 FCP 5000 ON FCP 5000 CHPID 46 SUBCHANNEL = 011D 08:27:31 5000 DEVTYPE FCP CHPID 46 FCP 08:27:31 5000 QDIO-ELIGIBLE QIOASSIST-ELIGIBLE 08:27:31 WWPN C05076FAE3000400 Ready; T=0.01/0.01 08:27:31 -- Mark Pace Mainline Information Systems 1700 Summit Lake Drive Tallahassee, FL. 32317
Re: RSCS: Printing to Ricoh Copier with LPR
Do you have a sample of an LPRZONE exit or configuration file? The LPRXONE ASSEMBLE source is on the install ID's 2B3 minidisk. The sample LPRXONE configuration file is LPREXITS CONFSAMP on the install ID's 406 minidisk. Best Regards, Les Geer IBM z/VM and Linux Development