David M. Uptmor


 View book pages:
 Buy this book:
  MC Press Online
  




Index 543 % ( percent

by Jim Buck, Bryan Meyers
Index 543 % ( percent sign), 116, 119 ** ( exponentiation operator), 110 * ( multiplication operator), 110 + ( addition operator), 110 + ( character string concatenation operator), 129– 130 + ( plus sign), 33 = ( Less than or equal to), 180  ( Not equal to), 180  ( Less than), 180 = ( assignment operator), 109 = ( Equal to), 180 = ( Greater than or equal to), 180  ( Greater than), 180 - ( subtraction operator), 110 / ( division operator), 110 / ( separator characters), 156 // ( double slashes), 40, 46, 470– 471, 517 A A ( Alphanumeric shift), 283 ( A) operation extender, 389, 449 Abends defined, 377, 496 diagnosing, 496– 497 See also Runtime errors % Abs ( Absolute value) function, 116, 120 Access points, 52 Activation groups, 354 Addition, 113 Addur ( Add Duration) operation, 516 Algorithms, 10, 35 Alt ( Alternating format) keyword, 215 Alternating format, 215, 235 And operation, 182, 183 APIs, 332– 334 defined, 332 QCMDEXC, 333, 337 QUSCMDLN, 332– 333, 337 Application programming interfaces. See APIs Arguments, 140, 167, 250 defined, 320 in parentheses, 24 Arithmetic operations, 110– 116 date, 162– 163 half adjusting, 114 numeric overflow, 112 operation extender, 114 result field sizes, 113– 114 rounding, 114– 116 rules of precedence, 110 truncation, 112 Arithmetic operators, 110, 111 Array data structures, 229– 230 defined, 229 runtime arrays, 229 subfields, 229– 230 uses, 230 Arrays, 208– 234, 240 alternating format, 215 calculations with, 218– 219 capabilities, 207 compile time, 210– 211, 463 defined, 208 elements, 208 elements, sorting, 223– 224 elements, summing, 224 indexing and, 218 multidimensional, 229 name specification, 234 overlaying, 231 portions, setting/ getting, 224– 228 preruntime, 211– 212 printing, 234 related, defining, 215– 216 representations, 208 runtime, 209, 212– 215 using, 232– 234 AS/ 400, 3 ASCII, 60 Assignment character, 125– 129 date, 159– 162 initial value, 87– 89 operation, 109 operator (=), 109 Asterisk fill, 44 B Batch processing, 485 defined, 2, 35, 281 programs, running, 35 Begsr ( Begin subroutine) operation, 193, 201 Binary data type, 56, 58, 83 Binary search, 224 Bind- by- copy, 345, 363 Bind- by- reference, 347, 364 Binder language commands, 365 defined, 365 updating, 368 using, 365– 366, 467 Binding directories, 361, 364, 466– 467 modules, 12 programs, 12, 346 service programs, 364 single entry point program, 364 static, 345 Bits defined, 1 high- order, 57 low- order, 57 Blank lines, 41 BLINK keyword, 296 Boolean data type, 84 Breakpoints, 502 conditional, 502 setting, 506 Built- in functions ( BIFs). See Functions C CA ( Command Attention) keyword, 284, 289– 290 Calculation specifications, 34– 38, 46, 444– 454 built- in functions, 444– 448 defined, 19, 34 edit codes, 449 fixed- format, 39, 453 free- format, 36, 444 logic, 34 operation code extenders, 449 operation codes, 444– 448, 453– 454 status codes, 450– 452 subroutines, 193 Calculations with arrays, 218– 219 fixed- format, 507– 517 output errors, 500 CALL command, 42 Call interface defining, 321 information, 320 prototype definition, 321 prototyping, 320– 322 Callp ( Call a Prototyped Procedure or Program) operation, 319, 337 coding, 322 format, 322 Calls, 319– 320, 322 advantages, 332 dynamic, 345, 347 flow control, 320 procedures, 351 subprocedure, 351 Case logic, 183 Case sensitivity, 23 CF ( Command Function) keyword, 284, 289– 290 Chain ( Random Retrieval from a File) operation, 254– 255, 273 defined, 254 format, 254 use example, 254– 255 Index

Zoom in  zoom  Zoom out
  << Topic >>  | Contents | Index             |<   <<    Page       >>   >|  
Index 543 % ( percent sign), 116, 119 ** ( exponentiation operator), 110 * ( multiplication operator), 110 + ( addition operator), 110 + ( character string concatenation operator), 129– 130 + ( plus sign), 33 <= ( Less than or equal to), 180 <> ( Not equal to), 180 < ( Less than), 180 = ( assignment operator), 109 = ( Equal to), 180 >= ( Greater than or equal to), 180 > ( Greater than), 180 - ( subtraction operator), 110 / ( division operator), 110 / ( separator characters), 156 // ( double slashes), 40, 46, 470– 471, 517 A A ( Alphanumeric shift), 283 ( A) operation extender, 389, 449 Abends defined, 377, 496 diagnosing, 496– 497 See also Runtime errors % Abs ( Absolute value) function, 116, 120 Access points, 52 Activation groups, 354 Addition, 113 Addur ( Add Duration) operation, 516 Algorithms, 10, 35 Alt ( Alternating format) keyword, 215 Alternating format, 215, 235 And operation, 182, 183 APIs, 332– 334 defined, 332 QCMDEXC, 333, 337 QUSCMDLN, 332– 333, 337 Application programming interfaces. See APIs Arguments, 140, 167, 250 defined, 320 in parentheses, 24 Arithmetic operations, 110– 116 date, 162– 163 half adjusting, 114 numeric overflow, 112 operation extender, 114 result field sizes, 113– 114 rounding, 114– 116 rules of precedence, 110 truncation, 112 Arithmetic operators, 110, 111 Array data structures, 229– 230 defined, 229 runtime arrays, 229 subfields, 229– 230 uses, 230 Arrays, 208– 234, 240 alternating format, 215 calculations with, 218– 219 capabilities, 207 compile time, 210– 211, 463 defined, 208 elements, 208 elements, sorting, 223– 224 elements, summing, 224 indexing and, 218 multidimensional, 229 name specification, 234 overlaying, 231 portions, setting/ getting, 224– 228 preruntime, 211– 212 printing, 234 related, defining, 215– 216 representations, 208 runtime, 209, 212– 215 using, 232– 234 AS/ 400, 3 ASCII, 60 Assignment character, 125– 129 date, 159– 162 initial value, 87– 89 operation, 109 operator (=), 109 Asterisk fill, 44 B Batch processing, 485 defined, 2, 35, 281 programs, running, 35 Begsr ( Begin subroutine) operation, 193, 201 Binary data type, 56, 58, 83 Binary search, 224 Bind- by- copy, 345, 363 Bind- by- reference, 347, 364 Binder language commands, 365 defined, 365 updating, 368 using, 365– 366, 467 Binding directories, 361, 364, 466– 467 modules, 12 programs, 12, 346 service programs, 364 single entry point program, 364 static, 345 Bits defined, 1 high- order, 57 low- order, 57 Blank lines, 41 BLINK keyword, 296 Boolean data type, 84 Breakpoints, 502 conditional, 502 setting, 506 Built- in functions ( BIFs). See Functions C CA ( Command Attention) keyword, 284, 289– 290 Calculation specifications, 34– 38, 46, 444– 454 built- in functions, 444– 448 defined, 19, 34 edit codes, 449 fixed- format, 39, 453 free- format, 36, 444 logic, 34 operation code extenders, 449 operation codes, 444– 448, 453– 454 status codes, 450– 452 subroutines, 193 Calculations with arrays, 218– 219 fixed- format, 507– 517 output errors, 500 CALL command, 42 Call interface defining, 321 information, 320 prototype definition, 321 prototyping, 320– 322 Callp ( Call a Prototyped Procedure or Program) operation, 319, 337 coding, 322 format, 322 Calls, 319– 320, 322 advantages, 332 dynamic, 345, 347 flow control, 320 procedures, 351 subprocedure, 351 Case logic, 183 Case sensitivity, 23 CF ( Command Function) keyword, 284, 289– 290 Chain ( Random Retrieval from a File) operation, 254– 255, 273 defined, 254 format, 254 use example, 254– 255 Index
Zoom in  zoom  Zoom out
  << Topic >>  | Contents | Index             |<   <<    Page       >>   >|  

MC Press Online - 9781583473559


 Other related titles:
Advanced, Integrated RPGAdvanced, Integrated RPG
Control Language Programming for IBM iControl Language Programming for IBM i
Database Design and SQL for DB2Database Design and SQL for DB2
Flexible Input, Dazzling Output with IBM iFlexible Input, Dazzling Output with IBM i
Free-Format RPG IV, 1st EditionFree-Format RPG IV, 1st Edition
Free-Format RPG IV, 2nd EditionFree-Format RPG IV, 2nd Edition
Free-Format RPG IV, 3rd EditionFree-Format RPG IV, 3rd Edition
Functions in Free-Format RPG IVFunctions in Free-Format RPG IV
i5/OS and Microsoft Office Integration Handbooki5/OS and Microsoft Office Integration Handbook
Java for RPG ProgrammersJava for RPG Programmers
Modern RPG IV Language, TheModern RPG IV Language, The
Programmer's Guide to iSeries NavigatorProgrammer's Guide to iSeries Navigator
Remote System Explorer, TheRemote System Explorer, The
RPG TnTRPG TnT
SQL Built-In Functions and Stored ProceduresSQL Built-In Functions and Stored Procedures
SQL for eServer i5 and iSeriesSQL for eServer i5 and iSeries
WDSC: Step by StepWDSC: Step by Step

 Already viewed books:
Programming in RPG IVProgramming in RPG IV