Using the CRTBNDRPG Command

Table

5 (Page 2 of 2). CRTBNDRPG Parameters and Their Default Values Grouped by Function

 

 

 

 

 

 

 

 

 

ALWNULL(*NO)

Determines

if the program will

accept

values from

null-capabl

 

 

fields

 

 

 

 

 

 

 

 

 

 

 

 

FIXNBR(*NONE)

Determines

which decimal data

that is

not valid

is to be

 

 

the compiler

 

 

 

 

 

 

 

 

 

 

Run-Time

Considerations

 

 

 

 

 

 

 

 

 

 

DFTACTGRP(*YES)

Identifies whether this program always runs in

the OPM de

 

 

activation

group

 

 

 

 

 

 

 

 

OPTION(*DEBUGIO)

*DEBUGIO/*NODEBUGIO, determines if breakpoints are

gener-

 

 

ated for input and output specifications

 

 

 

 

 

 

ACTGRP(QILE)

Identifies the activation group in which the

program should

 

 

 

 

 

 

SRTSEQ(*HEX)

Specifies

the sort sequence table to be used

 

 

 

 

 

 

LANGID(*JOBRUN)

Used with SRTSEQ to specify the language identifier for s

 

 

sequence

 

 

 

 

 

 

 

 

 

 

TRUNCNBR(*YES)

Specifies

the action to take when numeric overflow occurs

 

 

packed-decimal, zoned-decimal, and binary fields in fixed-fo

 

 

operations.

 

 

 

 

 

 

 

 

 

 

 

See

Appendix C, “The Create Commands” on page 405 for the syntax diagra

and

parameter descriptions of CRTBNDRPG.

Creating a Program for Source Debugging

In this example you create the program EMPRPT so that you can debug the source debugger. The DBGVIEW parameter on either CRTBNDRPG or

CRTRPGMOD determines what type of debug

data

is

created during comp

The parameter provides six options which

allow

you

to select which v

want:

 

 

 

¹*STMT — allows you to display variables and set breakpoints at stat

locations using a compiler listing. No source is displayed with this

¹

*SOURCE

— creates

a view identical to your input source.

¹ *COPY

creates

a

source

view

and

a

view containing the source o

 

/COPY

members.

 

 

 

 

 

 

¹

*LIST

creates

a

view similar

to

the

compiler listing.

¹

*ALL —

 

creates

all

of the

above views.

¹*NONE — no debug data is created.

The source for EMPRPT is shown in Figure 28 on page 54.

1. To create the object type:

CRTBNDRPG PGM(MYLIB/EMPRPT) DBGVIEW(*SOURCE) DFTACTGRP(*NO)

The program will be created

in the library MYLIB with the same

source

member

on which

it is

based, namely, EMPRPT. Note that by

will

run

in

the

default

named

activation group, QILE. This program o

be

debugged

using a

source

view.

2. To

debug

the

program

type:

 

STRDBG EMPRPT

Chapter 6. Creating a Program with the CRTBNDRPG Command59

Page 83
Image 83
IBM AS/400 manual Creating a Program for Source Debugging, List, Creates View similar Compiler listing

AS/400 specifications

The IBM AS/400, now known as the IBM iSeries, is a midrange computer system that has been a cornerstone of enterprise computing since its introduction in 1988. Designed to provide a robust platform for business applications, the AS/400 is celebrated for its reliability, scalability, and integrated database capabilities.

One of the key features of the AS/400 is its Integrated Operating Environment, which blends hardware and software resources seamlessly. This integration allows businesses to execute diverse workloads, ranging from traditional applications to modern web-based services, all on a single platform. The operating system, OS/400 (now IBM i), offers a rich set of APIs and tools for developers, simplifying application development and management.

Another standout characteristic of the AS/400 is its built-in database, DB2 for i. This powerful relational database management system allows for efficient data handling and provides advanced features such as support for SQL, XML, and JSON, making it easier for businesses to manage their data and integrate it with other systems. The database's tight integration with the operating system enables high performance and security.

In terms of scalability, the AS/400 can accommodate small businesses as well as large enterprises, with the ability to support hundreds of users simultaneously. Its architecture allows for easy upgrades in hardware, meaning that organizations can scale their systems without replacing the entire infrastructure.

Security is another critical attribute of the AS/400. With a sophisticated security model, it offers built-in user authentication, access control, encryption, and auditing capabilities to protect data and applications from unauthorized access.

The AS/400 also supports multiple programming languages, including RPG, COBOL, Java, and PHP, giving organizations the flexibility to choose the development tools that best fit their needs. This diversity helps maintain legacy applications while also developing new ones that leverage modern technologies.

Moreover, the platform supports both traditional green-screen interfaces and modern graphical user interfaces, allowing organizations to transition smoothly into contemporary user experience paradigms.

Overall, the IBM AS/400 stands out as a resilient, flexible, and secure computing platform that enables organizations to effectively manage their business operations, streamline processes, and adapt to changing market demands. Its unique combination of integrated features and capabilities ensures that it remains relevant in today's fast-paced technology landscape.