IBM z/OS Management Facility (z/OSMF)

 View Only

 SMP/e receive of order downloaded to workstation, then FTP to zfs

Mark Pickett's profile image
Mark Pickett posted Thu February 05, 2026 11:14 PM

I ordered a large RSU.  I am unable to receive it directly to z/OS, so I downloaded it to my workstation, then used the bin command to ftp to a zfs directory, /zfslg2/SMPNTS/ which contains

GIMFAF.XML                         
GIMPAF.XML                         
GIMPAF.XSL                         
GIMPAF2.XML                        
SMPHOLD                            
SMPPTFIN                           
S0002.SHOPZ.S8540692.SMPHOLD.pax.Z 

The SMPPTFIN directory holds 41 files with a type of, "10f41", "2of41" et al The SMPHOLD directory has HOLDDATA in EBCDIC. 

I then tried to RECEIVE it using SMPNTS with the following JCL

//S1       EXEC PGM=GIMSMP,                                              
//         PARM='PROCESS=WAIT',                                          
//         DYNAMNBR=120                                                  
//SMPNTS   DD  PATHDISP=KEEP,                                            
//         PATH='/zfslg2/SMPNTS/',                              
//         FILEDATA=BINARY                                               
//*                                                                      
//* NOTE:      THIS JCL CREATED BY THE COMMAND GENERATION DIALOGS.       
//*                                                                      
//*            SMP ZONE-RELATED FILES ARE DYNAMICALLY ALLOCATED,         
//*            THIS INCLUDES THE SMPPTS, SMPLOG, AND SMPTLIB DATA SETS,  
//*            IF APPLICABLE.                                            
//*                                                                      
//* SMP FILES                                                            
//*                                                                      
//SMPCSI   DD DISP=SHR,DSN=SMPE.GLOBAL.CSI                               

//SMPCNTL  DD *        
    SET BDY(GLOBAL).   
    RECEIVE FROMNTS (  
      ORDER B8540692 ) 
.                      
/*                     

The SMP/e Refernce, user, commands, and Messages and Codes are pretty unhelpful when it comes to the syntax for RECEIVE FROMNTS, and throws a syntax error from the first character of ORDER. I have tried every permutation of the parameters, from no ORDER to ORDER with no space between it and the left paren. I even tried adding SMPPTFIN to the end of the SMPNTS DD PATH statement.  All I need is a working sample of the SMPCNTL  

Thanks!

Kurt Quackenbush's profile image
Kurt Quackenbush

Based on the name of the directory that contains the files, try this:

//SMPNTS   DD  PATHDISP=KEEP,                                            
//         PATH='/zfslg2/'
//SMPCNTL  DD *        
    SET BDY(GLOBAL).   
    RECEIVE FROMNTS (SMPNTS) .
/*

Mark Pickett's profile image
Mark Pickett

Kurt, thank you for responding so quickly.  Your suggestion did remove the syntax error, but now it throws, ":IM45800S ** PACKAGE SMPNTS WAS NOT FOUND IN THE SMPNTS"  I still have to specify the order number somehow, I think, but I know that SMP does not like the keyword, "ORDER" .  I tried using the Order number, with and without the first character, and also tried the U number

    RECEIVE FROMNTS (                                                  
     SB8540692 )                                                       
.                                                                      
 GIM45800S ** PACKAGE SB8540692 WAS NOT FOUND IN THE SMPNTS.      

    RECEIVE FROMNTS (                                      
      B8540692 )                                           
.                                                          
GIM45800S ** PACKAGE B8540692 WAS NOT FOUND IN THE SMPNTS.      

    RECEIVE FROMNTS (                                           
     U02637886 )                                                
.                                                               
 GIM45800S ** PACKAGE U02637886 WAS NOT FOUND IN THE SMPNTS.     

And all three gave a return code of 12. 

Is there a document that would guide me through this process?

Thanks in advance.

Mark

Kurt Quackenbush's profile image
Kurt Quackenbush

Mark, notice in my prior response the PATH value on the SMPNTS DD statement.

Typically the SMPNTS directory will contain the files for multiple packages, where each package resides in its own subdirectory.  Therefore, on the FROMNTS operand SMP/E expects you to specify the "package-id" value, which really is just the subdirectory for the package in the SMPNTS.  So, if your package files reside in this directory:

/zfslg2/SMPNTS/

Then your SMPNTS DD statement should specify only "/zfslg2/" and the FROMNTS operand should specify "SMPNTS".

Mark Pickett's profile image
Mark Pickett

Kurt, Your answer helped me crack the code.  I created a new subdirectory within SMPNTS and called it, RSU121625, and moved the SMPPTFIN directory and the SMPHOLD directory into it.  I moved the pax file into the SMPHOLD directory so that it's only contents was the pax file 

sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
                                                     z/OS UNIX Directory List                                      Row 1 to 8 of 8 
Command ===>                                                                                                      Scroll ===> CSR  
                                                                                                                                   
Pathname . : /zfslg2/SMPNTS/RSU12_16_25                                                                                            
EUID . . . : 0                                                                                                                     
Command  Filename                            Message          Type Permission Audit  Ext  Fmat Owner    Group    Links  Size       
-----------------------------------------------------------------------------------------------------------------------------------
         .                                                    Dir  rwxr-xr-x  fff---      ----          OPERATOR      4       8192 
         ..                                                   Dir  rwxrwx---  fff---      ----          OPERATOR      5       8192 
         GIMFAF.XML                                           File rwxr-xr-x  fff--- --s- nl            OPERATOR      1       1360 
         GIMPAF.XML                                           File rw-rw----  fff--- --s- nl            OPERATOR      1      19120 
         GIMPAF.XSL                                           File rw-rw----  fff--- --s- nl            OPERATOR      1       5040 
         GIMPAF2.XML                                          File rw-rw----  fff--- --s- nl            OPERATOR      1      36320 
         SMPHOLD                             Listed           Dir  rwxr-xr-x  fff---      ----          OPERATOR      2       8192 
         SMPPTFIN                            Listed           Dir  rwxr-xr-x  fff---      ----          OPERATOR      2       8192 

I then submitted the following JCL:

//S1       EXEC PGM=GIMSMP,                      
//         PARM='PROCESS=WAIT',                  
//         DYNAMNBR=120                          
//SMPNTS   DD  PATHDISP=KEEP,                    
//         PATH='/zfslg2/SMPNTS/'                
//*                                              
//SMPCSI   DD DISP=SHR,DSN=SMPE.GLOBAL.CSI       
//SMPCNTL  DD *                                  
    SET BDY(GLOBAL).                             
    RECEIVE FROMNTS ( RSU121625 )                
    .                                            
/*                                                

As I am posting this, the SMP job is running.  Thank you  for  your help.  I found a discussion of the SMPNTS in the SMP/e Commands document, and it was also helpful.

Mark