Exposes a CICS application program as a Web service.
Important: As a prerequisite to using the CICS Web Services feature,
you must first install the IBM CCSID Conversion Tables and configure accordingly. See
CCSID Conversion Tables for more information.
Syntax:
ls2js pgmint={channel|commarea}
{json-schema=json-filename|
json-schema-request=request-filename
json-schema-response=response-filename}
[jsontransfrm=transform-filename]
pgmname=program-name
uri=address
wsbind=bind-file
reqmem=request-copy-file
[respmem=response-copy-file]
[operation-name=operation-name]
[wsdl-namespace=wsdl-namespace]
[contid=container-name]
[ccsid=ccsid]
[synconreturn={yes|no}]
[data-truncation={enabled|disabled}]
[datetime={unused|packed15}]
ls2js -help
Parameters:
- pgmint={channel|commarea}
-
- channel
- Pass data via a channel container.
- commarea
- Pass data via a commarea.
- pgmname=program-name
- The name of the target application program to expose as a Web service.
- reqmem=request-copy-file
- The fully qualified name of the copybook file containing the high-level language structure for the Web service request.
- respmem=response-copy-file
- The fully qualified name of the copybook file containing the high-level language structure for the Web service response.
- uri=address
- The relative or absolute URI to be used by a client to access the Web service.
- wsbind=bind-file
- The fully qualified name of the Web service bind file.
- contid=container-name
- The name of the container that holds the top-level data structure used to represent a JSON message. When not specified, this
defaults to
DFHWS-DATA.
- ccsid=ccsid
- The CCSID used at runtime to encode character data into the application data structure.
- synconreturn={yes|no}
-
- yes
- The remote service can issue a sync point.
- no
- The remote service cannot issue a sync point.
- data-truncation={enabled|disabled}
-
- enabled
- Variable-length data is tolerated in a fixed-length field structure.
- disabled
- Variable-length data is not tolerated in a fixed-length field structure.
- bundle=folder-name
- The path to and name of the bundle directory or archive file (.zip or
.jar).
- pdsmem=pds-prefix
- For LINKable and RESTful services only, the prefix to use for the copybook containing the generated data structure.
- -help
- Displays information about
ls2js parameters.