|
1 |
| -### Service Programs |
| 1 | +# Service Programs |
2 | 2 |
|
3 |
| -Utility Service Programs. |
| 3 | +Utility Service Programs that are used in various places. |
4 | 4 |
|
5 | 5 | ## SRV_MSG
|
| 6 | + |
| 7 | +Contains procedures to send messages from an RPG program. |
6 | 8 |
|
7 |
| - Contains procedures to send messages from an RPG program. |
8 |
| - |
9 |
| - **SndMSgPgmQ**: Send message to a provided program queue. (Interactive programming.) |
| 9 | + **SndMSgPgmQ**: Send message to a provided program queue. (Interactive programming.) |
10 | 10 |
|
11 |
| - **ClrMsgPgmQ**: Clear all messages from the provided program queue. (Interactive programming.) |
| 11 | + **ClrMsgPgmQ**: Clear all messages from the provided program queue. (Interactive programming.) |
12 | 12 |
|
13 |
| - **SndEscMsg**: Send provided text as an escape message. |
| 13 | + **SndEscMsg**: Send provided text as an escape message. |
14 | 14 |
|
15 |
| - **SndInfMsg**: Send provided text as info message to the external message queue. |
| 15 | + **SndInfMsg**: Send provided text as info message to the external message queue. |
16 | 16 |
|
17 |
| - **JobLogMsg**: Send provided text to the job log using Qp0zLprintf, a C function. For testing, a convenient alternative to the DSPLY opcode for longer messages. |
| 17 | + **JobLogMsg**: Send provided text to the job log using Qp0zLprintf, a C function. For testing, a convenient alternative to the DSPLY opcode for longer messages. |
18 | 18 |
|
19 | 19 | ## SRV_RANDON
|
20 | 20 |
|
21 |
| - Convenience procedures relating to pseudo random number generation. |
| 21 | +Convenience procedures relating to pseudo random number generation. |
22 | 22 |
|
23 |
| - **Rand_Int** |
| 23 | +**Rand_Int** |
24 | 24 |
|
25 |
| - Return a random integer with a specified range. |
| 25 | + Return a random integer with a specified range. |
26 | 26 |
|
27 | 27 | ## SRV_STR
|
28 | 28 |
|
29 |
| - Contains procedures to manipulate strings in an RPG program. |
| 29 | +Contains procedures to manipulate strings in an RPG program. |
30 | 30 |
|
31 |
| - **CenterStr**: Center a string. |
| 31 | +**CenterStr**: Center a string. |
32 | 32 |
|
33 | 33 | ## SRV_SQL
|
34 | 34 |
|
@@ -65,4 +65,4 @@ Utility Service Programs.
|
65 | 65 | RPG program to display a 5250 message using the QUILNGTX API. Useful for testing, but possibly
|
66 | 66 | JobLogMsg in SRV_MSG is more useful. Really should be part of SRV_MSG, but it is totally *FREE for and I have left SRV_MSG partially fixed.
|
67 | 67 |
|
68 |
| - **SHOW_T**: RPG program to test & exercise SHOW. |
| 68 | + * SHOW_T RPG program to test & exercise SHOW. |
0 commit comments