FTP using High level qualifier



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

FTP using High level qualifier

Postby Papya013 » Mon Mar 13, 2017 7:41 pm

Hi Team,

I have the file mentioned below in the FTP location.

KCQ_20170309122124_OP.txt
KCQ_20170309122124_OP.txt
KCQ_20170309122124_OP.txt
KCQ_20170309122124_OP.txt

I would need to copy all the files into a GDG generation. I tried using the below mentioned JCL.

//S010     EXEC PGM=FTP,PARM='(EXIT TRANSLATE ISO'    
//SYSPRINT DD  SYSOUT=*                                
//OUTPUT   DD  SYSOUT=*                                
//INPUT    DD  *                                      
11.11.11.12                                            
user                                                
password                                              
CD ABC/TEST                            
ascii                                                  
LOCSITE REC=FB LR=80                                  
GET '*.txt' 'ABC.XYZ.PQR(+1)' (REPLACE                
quit                                                  
/*          


The job failed with error code as mentioned below.

550 The filename, directory name, or volume label syntax is incorrect.
EZA1735I Std Return Code = 16550, Error Code = 00002                  


Could you please suggest me how I can achieve this?

Regards,
Balesh GG
Papya013
 
Posts: 35
Joined: Wed Nov 06, 2013 6:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP using High level qualifier

Postby Robert Sample » Mon Mar 13, 2017 8:59 pm

From the IP User's Guide and Commands manual (SC27-3662-00 for version 2.1):
GDG examples


Before you specify a (+nnn) value to create a new GDS, issue the following command: SITE DCBDSN=model


This subcommand specifies an MVS™ data set to be used as a model. The model must have a DSORG of PS. The other DCB characteristics of the data set are not checked.
Notes: 1.Failure to have a valid DCBDSN before trying to create a new GDS might cause FTP or ALLOCATION to fail or to return unpredictable results.
2.If you issue a SITE DCbdsn LRecl BLKsize command before the creation of a new data set, the LRecl and BLKsize parameters on the SITE command override the LRecl and BLKsize parameters on the DCbdsn command.

Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: FTP using High level qualifier

Postby Papya013 » Mon Mar 13, 2017 9:16 pm

Hi Robert,

I tried using the suggested DCBDSN parm in the sysin but still the same issue.

can you please correct me if anything has to be added to fix the issue?

Regards,
Balesh
Papya013
 
Posts: 35
Joined: Wed Nov 06, 2013 6:53 pm
Has thanked: 0 time
Been thanked: 0 time

Re: FTP using High level qualifier

Postby Robert Sample » Mon Mar 13, 2017 9:54 pm

I recommend closely reading https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.halu001/dd_name_support.htm#dd_name_support and adapting the examples to your system. Also, rather than just telling us what we recommend didn't work, why not try several things yourself? If you did the research yourself, you would probably have found the //DD:ddname construct in the manual already and have been using it.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post