Page 1 of 1

EQQJ509E - TABLE GLOBAL NOT FOUND

PostPosted: Thu Mar 28, 2019 12:46 pm
by Papya013
Hi Team,

I am trying to send a file to a FTP server through JCL as mentioned below. I am getting an error "EQQJ509E - TABLE GLOBAL NOT FOUND".

//FTP1     EXEC PGM=FTP,PARM='(EXIT TRANSLATE ISO'  
//*%OPC SCAN                                        
//SYSPRINT DD  SYSOUT=*                            
//OUTPUT   DD  SYSOUT=*                            
//INPUT    DD  *                                    
11.22.33.44                                        
abcd                                          
xxx?xxxxx                                          
CD file                                      
PUT 'A.B(0)' R130B_&OYMD1..txt                
QUIT                                                
/*  



I tried to search in forums for this issue and could understand that some libraries have to be included. I am not sure if its because of the special character ( ? ) used in the password.


Could you please help me out here.


Regards,
Balesh GG

Re: EQQJ509E - TABLE GLOBAL NOT FOUND

PostPosted: Thu Mar 28, 2019 4:24 pm
by NicC
What does your TWS support say?

Re: EQQJ509E - TABLE GLOBAL NOT FOUND

PostPosted: Tue Apr 02, 2019 5:02 pm
by Blackthorn
Yes, as well as the more usual & variables, there are also ? and % variables in TWS with special meanings. Thus it is trying to resolve the ?xxxxxx variable. Normally the solution would be to move the //*%OPC SCAN statement after this, so that it will not attempt to resolve that variable. But I guess having that statement in your FTP parameters may cause other issues.

The obvious question is do you need that ? in the password field or can you change that? The only other thing I can think of is to point to a specific variable table where the variable ?xxxxx is resolved with a value of ?xxxxx. A bit messy, but it would perhaps achieve the desired result.