IBM AS/400 manual methodscontinued, creationcontinued

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 482
Image 482

processing

methods(continued)

 

 

program

creation(continued)

 

 

 

sequential

only

293,

304

 

 

examples

of

59,

60,

61,

84

 

 

sequential-by-key 293

 

 

OPM-compatible

 

 

 

 

 

 

 

 

 

sequential-within-limits 300

 

creating

 

23

 

 

 

 

 

 

 

WORKSTN

file

335,

341

 

 

strategy

 

to

 

avoid

31

 

 

program

 

 

 

 

 

 

 

 

 

 

strategies

 

for

23

 

 

 

 

 

abnormal

ending

153

 

 

 

 

CRTPGM

command

82

 

 

 

 

 

 

advanced ILE

30

 

 

 

 

 

ILE

application

using

CRTRPGMOD

27

binding

modules

81

 

 

 

 

OPM-compatible

 

23

 

 

 

 

 

calling

 

127, 128

 

 

 

 

 

strategy

 

to

 

avoid

31

 

 

calling

using

expressions

134

using

CRTBNDRPG

25

 

 

 

 

 

calling using the CALL operation 148

using CRTRPGMOD and CRTPGM 73

 

calling using the CALLP operation 133

using the one-step process 57

changing

86

 

 

 

 

 

 

 

program

cycle

 

 

 

 

 

 

 

 

 

changing

optimization

level

87

commitment control

312

 

 

 

 

changing

while

debugging

175

fetch

overflow

logic

320

 

 

different

debug

views

176

general

description

4

 

 

 

 

effect of debug data on size 166

last

cycle

 

5

 

 

 

 

 

 

 

 

ending

 

109

 

 

 

 

 

 

 

program-described

file

 

 

 

 

entering

source

51

 

 

 

 

as

DISK

file

288

 

 

 

 

 

 

entering

SQL

statements 55

 

 

as WORKSTN file 338, 339, 340

 

example

6

 

 

 

 

 

 

 

 

definition

 

263

 

 

 

 

 

 

 

freeing

resources

112

 

 

physical and logical files 281

 

internal

structure

81

 

 

 

valid

search

arguments

 

288

 

 

mixed-language

29

 

 

 

 

program

entry

 

procedure

 

(PEP)

 

multiple-module

 

 

 

 

 

 

 

and the call stack 129

 

 

 

general

creation

strategy 27

definition

 

81

 

 

 

 

 

 

 

 

normal

ending

152

 

 

 

 

 

determining

 

82

 

 

 

 

 

 

 

OPM-compatible

 

 

 

 

 

 

 

program

exception/error

subroutine

creation

method

23

 

 

description

 

232

 

 

 

 

 

 

effect

of

ILE

24

 

 

example

232

 

 

 

 

 

 

 

 

example

24

 

 

 

 

 

 

program

exception/errors

 

 

 

 

program creation strategy 23, 31

avoiding

a

loop

235

 

 

 

 

passing

parameters

131

 

 

definition

 

220

 

 

 

 

 

 

 

preparing

for

debugging

166

example

232, 238

 

 

 

 

 

 

program

entry

procedure

 

81

using a *PSSR subroutine 232

 

reducing

size

88

 

 

 

 

program

management

19

 

 

 

 

 

 

related

CL

commands

85

 

 

program

name

 

 

 

 

 

 

 

 

 

 

removing

observability

88

 

 

*FROMMBR

parameter

385

 

 

 

 

returning

from

152

 

 

 

 

program

status

data

 

structure

 

returning

without

ending

154

example

150, 232

 

 

 

 

 

 

running

 

103

 

 

 

 

 

 

 

using in an error subroutine 232

running from a menu-driven application 106

program/procedure

call

 

 

 

 

 

running

in

the

OPM

default

activation group

111abnormal

program/procedure

end

153

running using a user-created command 108

call

stack

129

 

 

 

 

 

 

 

setting

watch

conditions

188

calling

bindable

APIs

155

 

 

single-language

28

 

 

 

 

calling

graphics

156

 

 

 

 

 

effect

of

ILE

26

 

 

 

calling

procedures

 

128

 

 

 

stepping

into

196

 

 

 

 

 

calling

programs

128

 

 

 

 

 

stepping

over

195

 

 

 

 

calling

special

 

routines

157

 

stepping

through

194

 

 

 

fixed-form call 148

 

 

 

 

 

updating

 

87

 

 

 

 

 

 

 

free-form call 133, 134

 

 

viewing source while debugging 174

interlanguage

calls

146

 

 

 

program

activation

109

 

 

 

normal

program/procedure

end 152

program

creation

 

 

 

 

 

 

overview

127

 

 

 

 

 

 

 

 

coding

considerations

45,

 

46

parameter

passing

methods

135

 

458 ILE RPG for AS/400 Programmer's Guide

Page 482
Image 482
IBM AS/400 manual methodscontinued, creationcontinued