- Page 1 and 2: OS 2200 System Service Routines Lib
- Page 3: OS 2200 System Service Routines Lib
- Page 7 and 8: Contents Section 9. FDASC$-Fieldata
- Page 9 and 10: Contents 17.2.1.3. Information Retu
- Page 11 and 12: Contents 20.2.1. SAR$ COM Packet an
- Page 13 and 14: Contents Appendix C. SYSLIB Restric
- Page 15 and 16: Figures 4-1. AEDIT$: Packet Format
- Page 17 and 18: Tables 2-1. MAXR$: Control Register
- Page 19 and 20: Section 1 Introduction 1.1. About T
- Page 21 and 22: X1, X2,..., X11 Index registers R1,
- Page 23 and 24: • Editing Routines AEDIT$ SFDT$DG
- Page 25 and 26: Section 2 System Standard Procedure
- Page 27 and 28: System Standard Procedures and Defi
- Page 29 and 30: System Standard Procedures and Defi
- Page 31 and 32: System Standard Procedures and Defi
- Page 33 and 34: System Standard Procedures and Defi
- Page 35 and 36: Section 3 SYSLIB Access Methods SYS
- Page 37 and 38: 3.2. Common Bank Call Using I$BJ SY
- Page 39 and 40: SYSLIB Access Methods 3.3. Common B
- Page 41 and 42: Section 4 AEDIT$-ASCII Image Compos
- Page 43 and 44: 4.1.1. Packet Format AEDIT$-ASCII I
- Page 45 and 46: dpc spc AEDIT$-ASCII Image Composit
- Page 47 and 48: The general calling format for the
- Page 49 and 50: AEDIT$-ASCII Image Composition Edit
- Page 51 and 52: AEDIT$-ASCII Image Composition Edit
- Page 53 and 54: AEDIT$-ASCII Image Composition Edit
- Page 55 and 56:
AEDIT$-ASCII Image Composition Edit
- Page 57 and 58:
4.2.2.2. Example AEDIT$-ASCII Image
- Page 59 and 60:
PROC Call A$EDAY4 p1 A$EDAT4 A$EDAY
- Page 61 and 62:
4.2.4.1. Recommended Date and Time
- Page 63 and 64:
4.2.4.3. Example AEDIT$-ASCII Image
- Page 65 and 66:
4.2.6. Examples AEDIT$-ASCII Image
- Page 67 and 68:
Section 5 BSP$-Program File Basic S
- Page 69 and 70:
BSP$-Program File Basic Service Pac
- Page 71 and 72:
BSP$-Program File Basic Service Pac
- Page 73 and 74:
large-elt-text BSP$-Program File Ba
- Page 75 and 76:
Example of Using RFTI$$ BSP$-Progra
- Page 77 and 78:
normal return BSP$-Program File Bas
- Page 79 and 80:
BSP$-Program File Basic Service Pac
- Page 81 and 82:
Calling Sequence BSP$-Program File
- Page 83 and 84:
BSP$-Program File Basic Service Pac
- Page 85 and 86:
A1 = sequence number A2 = number of
- Page 87 and 88:
5.1.6. Change Item in Requested Tab
- Page 89 and 90:
5.1.7. Add Item to Requested Table
- Page 91 and 92:
BSP$-Program File Basic Service Pac
- Page 93 and 94:
BSP$-Program File Basic Service Pac
- Page 95 and 96:
• Entry Point Table Item Add BSP$
- Page 97 and 98:
Calling Sequence Auto Switch L,U A0
- Page 99 and 100:
5.1.11. Write FTI Write the FTI bac
- Page 101 and 102:
BSP$-Program File Basic Service Pac
- Page 103 and 104:
BSP$-Program File Basic Service Pac
- Page 105 and 106:
Section 6 CABSAD$, CRELAD$-Addressi
- Page 107 and 108:
el-addr lc CABSAD$, CRELAD$-Address
- Page 109 and 110:
CAINIT$ CABSAD$, CRELAD$-Addressing
- Page 111 and 112:
Parameters t CSX$ See 6.1. CABSAD$,
- Page 113 and 114:
Parameters t CABSAD$, CRELAD$-Addre
- Page 115 and 116:
CABSAD$, CRELAD$-Addressing Routine
- Page 117 and 118:
pkt-addr See 6.1 CABSAD$, CRELAD$-A
- Page 119 and 120:
Section 7 CONWRD$-Condition Word Ro
- Page 121 and 122:
7.2. PLUS Interface CONWRD$-Conditi
- Page 123 and 124:
Section 8 EDIT$-Fieldata Image Comp
- Page 125 and 126:
zero dpc spc Must be zero. EDIT$-Fi
- Page 127 and 128:
EDIT$-Fieldata Image Composition Ed
- Page 129 and 130:
PROC Call Generated Instructions ED
- Page 131 and 132:
EDIT$-Fieldata Image Composition Ed
- Page 133 and 134:
Section 9 FDASC$-Fieldata/ASCII Dat
- Page 135 and 136:
9.1.2. ASCII to Fieldata Conversion
- Page 137 and 138:
Section 10 GETPSF$-Get a Scratch Fi
- Page 139 and 140:
func-code GETPSF$-Get a Scratch Fil
- Page 141 and 142:
Example $INCLUDE ‘MAXR$/’ $(2)
- Page 143 and 144:
Section 11 ID$-Identification Line
- Page 145 and 146:
Parameters label A label to identif
- Page 147 and 148:
11.1.2. Calling Sequence ID$-Identi
- Page 149 and 150:
11.1.3. Examples ID$-Identification
- Page 151 and 152:
Parameters ID_OUTPUT_ADDRESS ID$-Id
- Page 153 and 154:
11.2.3. Example The following examp
- Page 155 and 156:
numpcw optbits idlen hdrlen idbuf h
- Page 157 and 158:
Section 12 INFOR$-Internal Format T
- Page 159 and 160:
INFOR$-Internal Format Table Interf
- Page 161 and 162:
INFOR$-Internal Format Table Interf
- Page 163 and 164:
packet INFOR$-Internal Format Table
- Page 165 and 166:
packet INFOR$-Internal Format Table
- Page 167 and 168:
INFOR$-Internal Format Table Interf
- Page 169 and 170:
Section 13 MFDSP$-Master File Direc
- Page 171 and 172:
func-code MFDSP$-Master File Direct
- Page 173 and 174:
13.3. Error Conditions MFDSP$-Maste
- Page 175 and 176:
022 023 024 025 026 027 A5 041 LDAT
- Page 177 and 178:
13.4. Examples MFDSP$-Master File D
- Page 179 and 180:
MFDSP$-Master File Directory Servic
- Page 181 and 182:
Section 14 PREPRM, PREPRO, PREPF$,
- Page 183 and 184:
PREPRM, PREPRO, PREPF$, and POSTPR$
- Page 185 and 186:
14.1.3. PARTBL Description PREPRM,
- Page 187 and 188:
Words 27-39 May also be used for so
- Page 189 and 190:
PREPRM, PREPRO, PREPF$, and POSTPR$
- Page 191 and 192:
Register A0 S2 of A0 S3 of A0 n H2
- Page 193 and 194:
PREPRM, PREPRO, PREPF$, and POSTPR$
- Page 195 and 196:
Section 15 ROR, ROR$-Relocatable Ou
- Page 197 and 198:
Item Description ROR, ROR$-Relocata
- Page 199 and 200:
ROR, ROR$-Relocatable Output Routin
- Page 201 and 202:
Calling Sequence L,U A0,preamble-ad
- Page 203 and 204:
Section 16 SAR$-Symbolic Access Rou
- Page 205 and 206:
PROC_CHARACTER_TYPE PLUS Attribute:
- Page 207 and 208:
ACTUAL_ELEMENT_CYCLE PLUS Attribute
- Page 209 and 210:
16.1.2. MASM Interface SAR$-Symboli
- Page 211 and 212:
FIP$FNBUF SAR$-Symbolic Access Rout
- Page 213 and 214:
16.1.2.2. READ and WRITE Field Requ
- Page 215 and 216:
Type SAR$-Symbolic Access Routines
- Page 217 and 218:
Section 17 SAR$ READ 17.1. READ Fun
- Page 219 and 220:
TEXT_BUFFER_ADDRESS: PLUS Attribute
- Page 221 and 222:
UNTRANSLATE_MODE PLUS Attribute: 6-
- Page 223 and 224:
READ_STATUS_WORD PLUS Attribute: wo
- Page 225 and 226:
LINE_NUMBER_TYPE PLUS Attribute: 3-
- Page 227 and 228:
SAR$ READ • Text buffer The text
- Page 229 and 230:
17.1.3.1. SAR_OPEN_INPUT Procedure
- Page 231 and 232:
SAR$ READ • Attributes If there a
- Page 233 and 234:
CASE * : BEGIN PROCESS_READ_ERROR;
- Page 235 and 236:
Table 17-3. SAR$: READ Procedure CA
- Page 237 and 238:
SR$IMGBUFL The length in words of t
- Page 239 and 240:
SR$UNTRFLG The untranslate mode fla
- Page 241 and 242:
SR$IMGSEC SAR$ READ The mass storag
- Page 243 and 244:
dispflg A flag to display a table o
- Page 245 and 246:
17.2.3.2. Read Procedure Call (S$AR
- Page 247 and 248:
Table 17-6. SAR$: READ Procedure SR
- Page 249 and 250:
SAR$ READ 17.3. Supported Character
- Page 251 and 252:
Section 18 SAR$ WRITE 18.1. WRITE F
- Page 253 and 254:
IMAGE_BUFFER_ADDRESS PLUS Attribute
- Page 255 and 256:
OUTPUT_RECORD_TYPE PLUS Attribute:
- Page 257 and 258:
GENERAL_SDF_LABEL_FLAG PLUS Attribu
- Page 259 and 260:
18.1.1.3. Information Returned by W
- Page 261 and 262:
SAR$ WRITE • Image buffer The ima
- Page 263 and 264:
18.1.3.1. SAR_OPEN_OUTPUT Procedure
- Page 265 and 266:
18.1.3.3. SAR_WRITE_CONTROL Procedu
- Page 267 and 268:
LINES_PER_INCH PLUS Attribute: 18-b
- Page 269 and 270:
SAR$ WRITE In this example, the COP
- Page 271 and 272:
Table 18-3. SAR$: WRITE Procedure C
- Page 273 and 274:
SW$TEXBUF SAR$ WRITE The address of
- Page 275 and 276:
SW$ICHART SAR$ WRITE If the charact
- Page 277 and 278:
18.2.1.3. Information Returned by W
- Page 279 and 280:
18.2.2. MASM WRITE Procedures Buffe
- Page 281 and 282:
• Optional parameters (described
- Page 283 and 284:
Table 18-6. SAR$: WRITE Procedure S
- Page 285 and 286:
18.3.1. ASCII/ISO and ASCII-like SA
- Page 287 and 288:
Section 19 SAR$ ATREAD 19.1. ATREAD
- Page 289 and 290:
OUTPUT_ATTRIBUTE_TABLE_WORD_LENGTH:
- Page 291 and 292:
19.1.1.3. Information Returned by A
- Page 293 and 294:
19.1.2. PLUS ATREAD Procedures Buff
- Page 295 and 296:
19.1.3.2. SAR_ATREAD Procedure Call
- Page 297 and 298:
19.1.4. SAR_RESTORE_ATREAD Procedur
- Page 299 and 300:
SAR$ ATREAD The ATREAD procedure I/
- Page 301 and 302:
SA$OCHART The character set type of
- Page 303 and 304:
SA$ICHART The character set type of
- Page 305 and 306:
19.2.2. MASM ATREAD Procedures Buff
- Page 307 and 308:
• Optional parameters (described
- Page 309 and 310:
19.2.4. Status Lists for MASM ATREA
- Page 311 and 312:
Section 20 SAR$ COM 20.1. SAR$ COM
- Page 313 and 314:
A value of any ASCII-like character
- Page 315 and 316:
CONTROL_BITS PLUS Attribute: 6-bit
- Page 317 and 318:
20.1.2. SAR$ PLUS COM Procedure Buf
- Page 319 and 320:
Calling Format PROCEDURE SAR_COM(CO
- Page 321 and 322:
20.2. SAR$ COM Function/MASM Interf
- Page 323 and 324:
SC$ISLIST SAR$ COM The address of t
- Page 325 and 326:
SC$OIMGLEN The length in bytes of t
- Page 327 and 328:
20.2.2. MASM SAR$ COM Procedure Buf
- Page 329 and 330:
20.2.4. Status Lists for the MASM C
- Page 331 and 332:
Section 21 SDFI, SDFO-System Data F
- Page 333 and 334:
SDFI, SDFO-System Data Format I/O R
- Page 335 and 336:
SDFI, SDFO-System Data Format I/O R
- Page 337 and 338:
SDFI, SDFO-System Data Format I/O R
- Page 339 and 340:
SDFI, SDFO-System Data Format I/O R
- Page 341 and 342:
21.2.1.1. Packet Format SDFI, SDFO-
- Page 343 and 344:
21.2.1.2. Packet Generation PROC SD
- Page 345 and 346:
w x l SDFI, SDFO-System Data Format
- Page 347 and 348:
21.2.2.2. Write an Image SDFI, SDFO
- Page 349 and 350:
Section 22 SFDT$-System Standard Fo
- Page 351 and 352:
SFDT$-System Standard Format Date a
- Page 353 and 354:
date time SFDT$-System Standard For
- Page 355 and 356:
22.1.3. Example SFDT$-System Standa
- Page 357 and 358:
SFDT$-System Standard Format Date a
- Page 359 and 360:
22.2.2. Calling Sequence SFDT$-Syst
- Page 361 and 362:
Section 23 SIR$-Symbolic Input/Outp
- Page 363 and 364:
SIR$-Symbolic Input/Output Routine
- Page 365 and 366:
Word 0 S1 S2 H2 052 indicates that
- Page 367 and 368:
J K SIR$-Symbolic Input/Output Rout
- Page 369 and 370:
SIR$-Symbolic Input/Output Routine
- Page 371 and 372:
SIR$-Symbolic Input/Output Routine
- Page 373 and 374:
SIR$-Symbolic Input/Output Routine
- Page 375 and 376:
A2 A3 A4 A5 (Q1) (Q2) (H2) SIR$-Sym
- Page 377 and 378:
A0 A1 A2 A3 (S6) 00, the Fieldata C
- Page 379 and 380:
SIR$-Symbolic Input/Output Routine
- Page 381 and 382:
xccc...cyxccc...cz where: x Number
- Page 383 and 384:
Section 24 Program Trace Routine Th
- Page 385 and 386:
24.1. Calling Sequence There are tw
- Page 387 and 388:
24.4. Demand Mode Operation Program
- Page 389 and 390:
Program Trace Routine SNOOPY links
- Page 391 and 392:
ALTPRT (PRT) Program Trace Routine
- Page 393 and 394:
Program Trace Routine Fields of an
- Page 395 and 396:
EXIT$ (E) GO (G) HDG JHT Program Tr
- Page 397 and 398:
RBK I,n M,msk Program Trace Routine
- Page 399 and 400:
STATUS Program Trace Routine Prints
- Page 401 and 402:
REMPRT Program Trace Routine Set fo
- Page 403 and 404:
Section 25 SOR-Symbolic Output Rout
- Page 405 and 406:
SOR-Symbolic Output Routine 25.2. S
- Page 407 and 408:
SOR-Symbolic Output Routine 25.4. S
- Page 409 and 410:
Appendix A Using SYSLIB This append
- Page 411 and 412:
Appendix B Diagnostic Messages This
- Page 413 and 414:
SIR$: RETURN OF CCS 076 IMAGE NOT A
- Page 415 and 416:
Table B-1. SIR$: Line-change Diagno
- Page 417 and 418:
Appendix C SYSLIB Restrictions This
- Page 419 and 420:
Appendix D SYSLIB Elements This app
- Page 421 and 422:
Table D-1. SYSLIB Elements Element
- Page 423 and 424:
SYSLIB Elements Table D-2 contains
- Page 425 and 426:
Appendix E SYSLIB Common Bank Entry
- Page 427 and 428:
Table E-1. SYSLIB$1 Entry Points SY
- Page 429 and 430:
SYSLIB Common Bank Entry Points Tab
- Page 431 and 432:
Appendix F Interface to Selected Ex
- Page 433 and 434:
Interface to Selected Extended Mode
- Page 435 and 436:
F.2.4. EM$SNAPPKT Interface to Sele
- Page 437 and 438:
Appendix G INFOR Information When a
- Page 439 and 440:
G.2. The INFOR Table The format of
- Page 441 and 442:
Subfield Control Word The following
- Page 443 and 444:
INFOR Information The range for num
- Page 445 and 446:
G.5. Reading the INFOR Table INFOR
- Page 447 and 448:
Appendix H ASCII-like Character Set
- Page 449 and 450:
Table H-1. Character Set Types ASCI
- Page 451 and 452:
Appendix I Extended Mode Interface
- Page 453 and 454:
Extended Mode Interface to SYSLIB T
- Page 455 and 456:
Extended Mode Interface to SYSLIB E
- Page 457 and 458:
Extended Mode Interface to SYSLIB T
- Page 459 and 460:
I.4. Interface to FDASC$ Extended M
- Page 461 and 462:
func param The code for which GETPS
- Page 463 and 464:
I.7. Interface to INFOR$ Extended M
- Page 465 and 466:
Extended Mode Interface to SYSLIB T
- Page 467 and 468:
Calling Sequence: label EM$MFDSPPKT
- Page 469 and 470:
Appendix J Obsolete Entry Points, P
- Page 471 and 472:
MASM PROCs to call CONWRD$ • Relo
- Page 473 and 474:
J.3.1. Editing Functions Obsolete E
- Page 475 and 476:
E$WT(10)-Write and Terminate Obsole
- Page 477 and 478:
E$TERM(20)-Terminate Obsolete Entry
- Page 479 and 480:
J.4. I$D-Calling Sequence Obsolete
- Page 481 and 482:
Obsolete Entry Points, PROCs, and R
- Page 483 and 484:
J.5.1.2. IDTIME$ Obsolete Entry Poi
- Page 485 and 486:
Obsolete Entry Points, PROCs, and R
- Page 487 and 488:
Obsolete Entry Points, PROCs, and R
- Page 489 and 490:
Appendix K Related Product Informat
- Page 491 and 492:
Glossary B bank descriptor index (B
- Page 493 and 494:
M Glossary master file directory (M
- Page 495 and 496:
Index A Access Methods common bank,
- Page 497 and 498:
K Kanji input, 17-34 internal forma
- Page 500:
*78331733-004* 78331733-004