Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

getting MAXCC = 696 while FTP to server

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Shubhi Saxena

New User


Joined: 31 Jul 2008
Posts: 8
Location: NOIDA

PostPosted: Wed Aug 06, 2008 5:24 pm    Post subject: getting MAXCC = 696 while FTP to server
Reply with quote

I'm FTPing a file to the server using JCL. I'm getting the MAXCC=696.
Also, the spool shows the following information:

EZA1736I cd bmp-cvp
EZA1701I >>> CWD bmp-cvp
250 CWD command successful.
EZA1460I Command:
EZA1736I LOCSITE TRAILINGBLANKS
EZA1460I Command:
EZA1735I Std Return Code = 99000, Error Code = 00012
EZA1701I >>> QUIT

Please suggest what could be the reason......
Back to top
View user's profile Send private message

Shubhi Saxena

New User


Joined: 31 Jul 2008
Posts: 8
Location: NOIDA

PostPosted: Wed Aug 06, 2008 6:34 pm    Post subject:
Reply with quote

Actually we work on two mainframe regions. I have already run this job in one region and it has run without any issues. But, when I switch to another rregion, the same job is giving me this error.
Also, I am new to FTP and this forum as well, so not sure what to do next......
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 06, 2008 7:41 pm    Post subject: Reply to: getting MAXCC = 696 while FTP to server
Reply with quote

Does the other region also have the message:

EZA1736I LOCSITE TRAILINGBLANKS

when you run this job?
Back to top
View user's profile Send private message
Shubhi Saxena

New User


Joined: 31 Jul 2008
Posts: 8
Location: NOIDA

PostPosted: Thu Aug 07, 2008 3:21 pm    Post subject:
Reply with quote

yes it does.....
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Aug 07, 2008 4:44 pm    Post subject: Reply to: getting MAXCC = 696 while FTP to server
Reply with quote

Message Description for EZA1735I Std Return Code = 99000, Error Code = 00012:

Quote:

Explanation: FTP has ended with an error only because the user has specified EXIT as a start parameter. Normally FTP would continue.
rc is the standard return code. rc is in the format yyxxx, where

yy
the subcommand code, which is a number from 0 to 99.

xxx
This is the last reply code received from the FTP server. If a subcommand failed before a reply was received from the server, this value is 000.

ec is the client error code set by the FTP client.

System Action: The FTP client ends.

User or Operator Response: To determine the cause of the error, refer to z/OS Communications Server: IP User's Guide and Commands for information about FTP return codes, including subcommand codes, client error codes, and reply codes.

System Programmer Response: None.

Source Data Set: EZAFTPCX


Following the guide referenced above, the subcommand code of 99 means that the command was unknown. The reply code of 000 means that the FTP server did not receive a response.

Basically, the way that I'm interpreting this, is that, first of all, the problem is being reported from the FTP server, not from z/OS. Second, it appears that the server couldn't recognize or identify a sub-command it was sent. That's why I asked if you always send the LOCSITE sub-command.

My thoughts? 1. Review this process from the server end where the error is being reported. 2. Remove the (EXIT and try it again. 3. Suppress the sending of the LOCSITE command. 4. Have a network trace done by your Network Technicians.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Thu Aug 07, 2008 10:19 pm    Post subject:
Reply with quote

Also try QUOTE LOCSITE TRAILINGBLANKS
Quote tells the FTP client not to validate the commands
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Fri Aug 08, 2008 4:50 am    Post subject:
Reply with quote

Post your FTP commands ... the command after the LOCSITE TRAILINGBLANKS isn't right. MAXCC is meaningless for an FTP job; if you take 99000 MOD 4096 you'll get 696, which is your return code. And the error code 12 implies there's no input to the FTP job after the LOCSITE command.
Back to top
View user's profile Send private message
Shubhi Saxena

New User


Joined: 31 Jul 2008
Posts: 8
Location: NOIDA

PostPosted: Fri Aug 08, 2008 1:18 pm    Post subject:
Reply with quote

On giving the command QUOTE LOCSITE TRAILINGBLANKS I get the following error.

EZA1736I QUOTE LOCSITE TRAILINGBLANKS
EZA1701I >>> LOCSITE TRAILINGBLANKS
500 'LOCSITE TRAILINGBLANKS': command not understood.
EZA1735I Std Return Code = 30500, Error Code = 00002

I used the following command

server name
login id
password
cd dir name
QUOTE LOCSITE TRAILINGBLANKS
EXIT

But the same command is working fine on the other mainframe region.....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Fri Aug 08, 2008 2:53 pm    Post subject:
Reply with quote

Okay, you got the 99000 because your FTP job has no transfer step. You have no GET, you have no PUT ... no wonder the server didn't see a command! The 696 return code is exactly what you should get with the provided FTP commands.
Back to top
View user's profile Send private message
Shubhi Saxena

New User


Joined: 31 Jul 2008
Posts: 8
Location: NOIDA

PostPosted: Fri Aug 08, 2008 3:01 pm    Post subject:
Reply with quote

no I have a put statement given in the job itself..........the above mentioned commands , I am using as a control card.....I have given the put statement in the jcl....

//TVRHA275 JOB (079850),'TEST OPERATION DATA',
// CLASS=5,MSGCLASS=R,NOTIFY=&SYSUID,
// SCHENV=FTP
//*
//TESTPROC JCLLIB ORDER=(T.$VRH.PROCLIB)
//@JOBLIB INCLUDE MEMBER=@JLHG1
//*
//HA270TD EXEC HA270TD,
// DUMP='R',
// INLIB='T.$VRH.TABLES',
// FTPLIB='T.$VRH.FTPCNTL',
// JCLLIST='*',
// FTPMBR='HA270S10'
//HA270S10.INPUT DD
// DD *
PUT 'T.$VRH.CMP2.ODSI270A.D1060801.FINALVB' ODSI270_0806_CMP2.TXT
QUIT
//*
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Fri Aug 08, 2008 3:21 pm    Post subject:
Reply with quote

If
Quote:
server name
login id
password
cd dir name
QUOTE LOCSITE TRAILINGBLANKS
EXIT
is in the HA270S10.INPUT DD statement (presumably as a file), the EXIT tells the FTP job to quit before you ever get to the PUT statement.

It doesn't matter if you've got a PUT statement in the job, what matters is what the FTP step sees. The FTP error code you provided tells me that your PUT statement either (a) does not exist, or (b) is never executed, and as far as FTP is concerned they're the same to it.
Back to top
View user's profile Send private message
Shubhi Saxena

New User


Joined: 31 Jul 2008
Posts: 8
Location: NOIDA

PostPosted: Fri Aug 08, 2008 5:11 pm    Post subject:
Reply with quote

I included PUT statement after the LOCSITE TRAILINGBLANKS statement and it worked fine.....thanks a lot....... but I am still not sure why the same thing worked in one region and not in the other region....
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Aug 08, 2008 11:19 pm    Post subject:
Reply with quote

Hello,

It sounds like the EXIT was ignored in the environment that ran successfully. . . If there was an exit?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Fri Aug 08, 2008 11:49 pm    Post subject:
Reply with quote

Your JCL is executing PROC HA270TD. This procedure is not guaranteed to be the same from LPAR to LPAR so the difference(s) could easily explain it running in one place but not the other.
Back to top
View user's profile Send private message
Shubhi Saxena

New User


Joined: 31 Jul 2008
Posts: 8
Location: NOIDA

PostPosted: Mon Aug 11, 2008 2:03 pm    Post subject:
Reply with quote

ok.....thanks a lot everybody.....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP Server and FTP.DATA vasanthz All Other Mainframe Topics 2 Wed Oct 12, 2016 11:49 pm
No new posts FTP from windows server into Mainfram... sathyajes All Other Mainframe Topics 24 Wed Jul 20, 2016 1:33 pm
No new posts How to perform Digest Access Authenti... vasanthz All Other Mainframe Topics 0 Tue Mar 15, 2016 4:47 pm
No new posts Any Mobile Apps use Mainframe Server? jobseeker All Other Mainframe Topics 2 Wed Feb 24, 2016 3:58 pm
No new posts DB2 Server Configuration for AIX Virendra Shambharkar DB2 2 Tue Nov 17, 2015 3:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us