REQUEST DOCUMENT 404 Not Found

Testing program:

DEFINE DATA LOCAL
1 #RC (I4)
1 #RESULTXML (A) DYNAMIC
END-DEFINE
REQUEST DOCUMENT
FROM ‘http://docs.google.com/
RETURN PAGE #RESULTXML ENCODED CODEPAGE ’ ’
RESPONSE #RC
WRITE NOTITLE NOHDR’RETURN CODE:’ #RC /* 200 is Ok.
REQUEST DOCUMENT
FROM ‘http://docs.google.com/document
RETURN PAGE #RESULTXML ENCODED CODEPAGE ’ ’
RESPONSE #RC
WRITE NOTITLE NOHDR’RETURN CODE:’ #RC /* 200 is Ok.
PRINT #RESULTXML
END

First request gets RC 200 but the second gets 404

??404 Not

Found??

Not Found

?

The requested URL /document
was not found on this server.

?
?IBM_HTTP_Server Server at docs.
google.com Port 8028??

Any idea why?

Tanks a lot,

Try https://docs.google.com/document/u/0/

Funny, it changes to:
NAT8304 HTTP request failed. Reason OPEN : connect() failed, errno=1128I Connection refused

Try reversing the two Request Documents.

See if you get the same message after the first RD.

Program stop running after the first RD
NAT8304 HTTP request failed. Reason OPEN : connect() failed, errno=1128
NAT9978 Error occurred during execution/compilation

Strange.

When I enter http://docs.google.com/document

it gets changed to: https://docs.google.com/document/u/0/

and that goes through. I am using Google Chrome. What do you use ?

Can you successfully get through to https://docs.google.com/document/u/0/ with your web software?

web software? I’m running under z/OS, which one will be the web software?

Found out I running out of a very tight isolated machine – firewall don’t take outbound calls.

Thanks anyhow.

Hi Enrique;

Sometimes the simplest explanation is also the correct one.