Using Externally Described WORKSTN Files

specifications require that a relative-record-number field be specif

position

of

the SFILE keyword

on the file

description

specification.

If a

WORKSTN

file

has an associated subfile, all implicit input opera

explicit calculation

operations

that refer

to the file

name are proc

main WORKSTN file. Any operations that specify a record format name t

designated

 

as

a

subfile

are processed

on

the

main

WORKSTN

file.

If

you press

a

specified

function key

during

a

read of

a

non-sub

quent reads

of

 

a subfile

record will cause the

corresponding

functi

to

be

set

 

on

again, even

if the function key indicator has been s

reads.

This

will

continue until

a non-subfile

record

is

read

from the

 

 

 

 

 

*.. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ..*

 

 

 

 

AAN01N02N03T.Name++++++RLen++TDpBLinPosFunctions++++++++++++++++++++*

 

 

 

 

A** CUSTOMER

NAME SEARCH

 

 

 

 

 

 

 

 

 

A

 

 

 

 

 

 

 

REF(DSTREF) .1/

 

 

 

 

 

 

 

A

 

R

SUBFIL

 

 

 

SFL .2/

 

 

 

 

 

 

 

A

 

 

 

 

 

 

 

TEXT('Subfile Record')

 

 

 

 

 

A

 

 

CUST

 

R

7 3

 

 

 

 

 

 

 

 

A

 

 

NAME

 

R

7 10

 

 

 

 

 

 

 

 

A

 

 

ADDR

 

R

7 32

.3/

 

 

 

 

 

 

 

A

 

 

CITY

 

R

7 54

 

 

 

 

 

 

 

 

A

 

 

STATE

 

R

7 77

 

 

 

 

 

 

 

 

A*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure

167.

 

Data Description Specifications for a Subfile Record Format

 

 

The data description specifications (DDS) for a subfile record forma records in the subfile:

.1/ The attributes for the fields in the record format are co reference file DSTREF as specified by the REF keyword.

.2/ The SFL keyword identifies the record format as a subfile.

.3/ The line and position entries define the location of the fie display.

Use of Subfiles

Some typical ways you can make use of subfiles include:

¹ Display only. The work-station user reviews the display.

¹Display with selection. The user requests more information about on

items on the display.

¹

Modification.

The

user changes

one

or

more

of

the

records.

¹

Input

only,

with

no validity checking. A subfile is used for a d

¹

Input

only,

with

validity checking. A subfile is used for a data

 

the

records

are

checked.

 

 

 

 

 

 

¹ Combination of tasks. A subfile

can

be

used

as

a

display with mo

 

the

input of new

records.

 

 

 

 

 

 

The following figure shows an example of data description specificati subfile control-record format. For an example of using a subfile in a see “Search by Zip Code” on page 358.

Chapter 18. Using WORKSTN Files337

Page 361
Image 361
IBM AS/400 manual Use of Subfiles, You press Specified Function key During Read, Name Search, SFL TEXTSubfile Record

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.