Record ORDER type BasicRecord
10 ORDERID char(5);
10 ORDERITEMS char(35)[10];
15 ITEMID char(5);
15 DESCRIPTION char(30);
end
Record ORDER type BasicRecord
10 ORDERID char(5);
10 ITEMID char(5)[10];
10 DESCRIPTION char(30)[10];
end
Record ORDER type BasicRecord
ORDERID char(5);
ORDERITEMS ANITEM[10];
end
Record ANITEM type BasicRecord
ITEMID char(5);
DESCRIPTION char(30);
end
If you need to transfer data between complex structured and non-structured records in your service logic, use the MOVE statement.
For more information about Service parts, see Services: a top-level overview.

Service EchoString
function returnString
(inputString string in)
returns (string)
return (inputString);
end
end
| Platform | Issue |
|---|---|
| COBOL generation | The maximum length of a generated service name is 7 characters. |
| IMS/VS, IMS™ BMP | Service part is not supported. |
| Rich UI | With one exception, Service generation is not
supported in a Rich UI project. The exception is a dedicated service,
as described in “EGL support for SOA." you can write service logic in an EGL general or EGL web project, use that logic as the basis of a SOAP web service or REST service (which must be generated into an EGL web project), deploy that service to a web server, and access the deployed service from a Rich UI application. |
| VSE | Service part is not supported. |