Previous Page | Next Page

The HTTP Procedure

PROC HTTP Statement


Invokes a Web service that issues requests.
PROC HTTP options;

Task Option
Specify the HTTP content-type to be set in the request headers. CT
Specify a fileref to a text file that contains one line per request header in the format key:value. (In the z/OS operating environment, headerin files must be created with a variable record length.) HEADERIN
Specify a fileref to a text file to which the response headers are in the format key:value. HEADEROUT
Specify a fileref to input data. IN
Specify the HTTP method. METHOD
Specify a fileref where output is written. OUT
Specify an HTTP proxy sever host name. PROXYHOST
Specify an HTTP proxy server password. The password is required only if your proxy server requires credentials. Encodings that are produced by PROC PWENCODE are supported. PROXYPASSWORD
Specify an HTTP proxy server port. PROXYPORT
Specify an HTTP proxy server user name. The user name is required only if your proxy server requires credentials. PROXYUSERNAME
Specify the endpoint for the HTTP request. URL
Specify the Web authentication domain. If specified, a user name and password is retrieved from metadata for the specified authentication domain. WEBAUTHDOMAIN
Specify a password for basic authentication. Encodings that are produced by PROC PWENCODE are supported. WEBPASSWORD
Specify a user name for basic authentication. WEBUSERNAME


Options

CT

specifies the HTTP content-type to be set in the request headers.

HEADERIN

Specify a fileref to a text file that contains one line per request header in the format key:value. (In the z/OS operating environment, headerin files must be created with a variable record length.)

HEADEROUT

specifies a fileref to a text file to which the response headers are in the format key:value.

IN

specifies a fileref to input data.

METHOD

specifies the HTTP method.

OUT

specifies a fileref where output is written.

PROXYHOST

specifies an HTTP proxy server host name.

PROXYPASSWORD

specifies an HTTP proxy server password. The password is required only if your proxy server requires credentials. Encodings that are produced by PROC PWENCODE are supported.

PROXYPORT

specifies an HTTP proxy server port.

PROXYUSERNAME

specifies an HTTP proxy server user name. The user name is required only if your proxy server requires credentials.

URL

specifies the endpoint for the HTTP request.

WEBAUTHDOMAIN

Specify the Web authentication domain. If specified, a user name and password is retrieved from metadata for the specified authentication domain.

WEBPASSWORD

Specify a password for basic authentication. Encodings that are produced by PROC PWENCODE are supported.

WEBUSERNAME

specifies a user name for basic authentication.

Previous Page | Next Page | Top of Page