What are the options (with or without PSF/AIX) for

ITEM: RTA000093152



Q:                                                                              
ABSTRACT:     What are the options (with or without PSF/6000) for               
              getting AIX files to an JES spool for PSF/MVS printing?           
SEARCH ARG:   psf/6000 upload                                                   
TOPIC THREAD: PRINT                                                             
              AFP                                                               
              PSF6000                                                           
..                                                                              
*********************************************************************           
updated 3/8/99 with new info                                                    
At the time this was originally answered we did not have the OS/390             
Print Server product. Print Server provides an lpd that can take                
print requests from any AIX system (lpr) and place them on the JES              
SPOOL. The print files can be AFPDS, line data, PCL, PostScript, or             
ASCII text. See the PSC web site or G544-5545 for details.                     
*********************************************************************           
I read thru some ASKQ items regarding printing AIX files on a PSF/MVS           
attached printer and want to make sure I have the correct scenario.             
                                                                                
1) If we want to go right from the AIX system, how can we route output          
from PSF for AIX to the MVS host?                                               
                                                                                
2) We could send (via TCP/IP) the files to a PSF/2 system and somehow           
automate the queue to use upload-and-print to MVS?  The data would              
most likely be ASCII, not AFPDS.                                                
                                                                                
Any other options?                                                              
                                                                                
A:                                                                              
| Updated October 1996 to reflect new functions available.                     
                                                                                
| AFP Upload is now available as a feature of PSF/MVS to support                
| automated upload and print from PSF for AIX across either SNA or              
| TCP/IP communications protocol.  Please see announcement letter               
| 296-207 for PSF for MVS V2.2 (5695-040) for additional information.           
                                                                                
|| Updated September 1998:  AFP Upload to PSF/MVS is now also supported         
|| by InfoPrint Manager V3.1 (5648-B34).                                        
                                                                                
| In addition to AFP Upload to PSF/MVS, you do have a number of options.        
                                                                                
1) Of course you have the manual file transfer options, either SNA-             
or TCP/IP-based.  If the file is AFPDS, you have the additional                 
reblocking step using the EXEC/CLIST we provide.  I think this option           
has been covered in other ASKQ items, but if you need additional               
information, please reopen.                                                     
                                                                                
2) If the data is ASCII data and if you have TCP/IP on the host, you            
can use standard lpr/lpd without PSF for AIX:                                   
                                                                                
------------------------------------------------------------------------        
Here is a way to print ASCII files from AIX to PSF/MVS-attached printers        
using individual queues for each pagedef/formdef combination. In this           
example, we tested setting up two different queues with two different           
page definitions and chars combinations.  The LPD daemon for MVS was            
already configured. (This was TCP/IP for MVS V2.2; see book SC31-6085.          
For TCP/IP for MVS V3, see SC31-7134.)                                          
                                                                                
On AIX, we set up two remote queues called rmtmvs and rmtmvsb. For both,        
the destination host name was the hostname of the MVS system (here             
testmvs). For the rmtmvs queue, the name of the queue on the remote             
printer was mvs3825. For the rmtmvsb queue, the name of the queue on the        
remote printer was mvs3825b. We used the other defaults. (The names of          
these remote queues have to match the names used on the SERVICE NJE             
statement shown below in step 2.)                                               
                                                                                
On MVS,                                                                         
                                                                                
 1) SYS1.PROCLIB(LPSERVE) There is an OUTPUT statement in this started          
task. Actually, you can have multiple OUTPUT statements. On these you           
can specify your normal MVS PSF parms, like PAGEDEF=, CHARS=, FORMDEF=.         
So for testing we added:                                                        
                                                                                
      PRT3825 OUTPUT CHARS=GT20,PAGEDEF=W120C2 (20 pitch, 2 up portrait)        
      PRT3825B OUTPUT CHARS=OB10,PAGEDEF=V04863 (10 pitch, 1 up landscp)       
                                                                                
In order for these changes to take effect, the LPSERVE started task must        
be stopped and restarted.                                                       
                                                                                
 2) In TCPIP.V2R2M1.LPD.CONFIG, we added two SERVICE statements as              
follows:                                                                        
                                                                                
    SERVICE MVS3825 PRINTER                                                     
       NJE DEST=TSTMVS01 IDENTIFIER=LOCAL OUTPUT=PRT3825 CLASS=O                
                                                                                
    SERVICE MVS3825B PRINTER                                                    
       NJE DEST=TSTMVS01 IDENTIFIER=LOCAL OUTPUT=PRT3825B CLASS=O               
                                                                                
Each SERVICE statement points to the same output class, which is the            
3825 printer. You can see that each SERVICE statement invokes a                
different OUTPUT statement (those that were defined in step 1). The             
value for DEST is the NJE node, in this case the same MVS system on             
which we were running (i.e., not a second MVS system).                          
                                                                                
Then over at the RISC, we issued the print commands:                            
                                                                                
     lpr -Prmtmvs /etc/hosts and lpr -Prmtmvsb /etc/hosts                       
                                                                                
The same file printed twice at the 3825, once with P1W120C2 and GT20,           
and once with P1V04863 and OB10.                                                
                                                                                
------------------------------------------------------------------------        
                                                                                
3) It is possible to send files from AIX using TCP/IP lpr to a PSF/2            
queue configured for upload-and-print.  I checked with our PSF/2               
specialist, and she said that you can send ASCII or PostScript or               
whatever, and PSF/2 will transform it to AFPDS before uploading.                
                                                                                
I hope that helps.  Please reopen if you need additional information.           
                                                                                
S e a r c h - k e y w o r d s:                                                  
CROSS PSF FOR AIX PSF/6000 UPLOAD AUTOMATED REBLOCK MVS PSF/2 PRINT             
psf/aix infoprint ipmgr afrreblk duvsreb jes afp print                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000093152 ITEM: RTA000093152
Dated: 03/1999 Category: XPSF6000
This HTML file was generated 99/06/24~12:43:31
Comments or suggestions? Contact us