Create Device Desc (Finance) (CRTDEVFNC)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Create Device Description (Finance) (CRTDEVFNC) command creates a device description for a finance device.

Top

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Positional 1
TYPE Device type 3624, 3694, 4704, *FNCICF Required, Positional 2
LOCADR Local location address 01-FF Required, Positional 3
RMTLOCNAME Remote location Communications name Optional
ONLINE Online at IPL *YES, *NO Optional
CTL Attached controller Name Optional
MAXLENRU Maximum length of request unit 8-4096, *CALC Optional
DEVCLS Device class *NONE, *SNPT Optional
ACTTMR Activation timer 1-2550, 170 Optional
INACTTMR Inactivity timer 1-30, *NOMAX, *SEC15, *SEC30 Optional
SNPTDEV SNA pass-through device desc Name, *NONE Optional
SNPTGRP SNA pass-through group name Name, *NONE Optional
TEXT Text 'description' Character value, *BLANK Optional
AUT Authority Name, *CHANGE, *ALL, *USE, *EXCLUDE, *LIBCRTAUT Optional
Top

Device description (DEVD)

Specifies the name of the device description.

This is a required parameter.

Top

Device type (TYPE)

Specifies the type of device this description represents.

TYPE Code
Description
3624
Consumer Transaction Facility (System/38 compatible finance)
3694
Document Processor (System/38 compatible finance)
4704
Finance Display Station (System/38 compatible finance)
*FNCICF
Finance ICF (ICF compatible)
Top

Local location address (LOCADR)

Specifies the local location address for this device.

The type of controller to which the device is being attached determines which values are valid.

Controller
Valid Values
FBSS
01-FF
4701
01-FF
4702
01-FF
3694
01-04
4730
01-03
4731
01-02
4732
01-02
4736
01-02

LOCADR 01 is used only to communicate with the system monitor session and is valid only if *FNCICF is specified for the Device type (TYPE) parameter.

Top

Remote location (RMTLOCNAME)

Specifies the name of the remote location associated with the remote system with which this device communicates.

Top

Online at IPL (ONLINE)

Specifies whether this object is automatically varied on at initial program load (IPL).

*YES
This device is varied on automatically at IPL.
*NO
This device is not varied on automatically at IPL.
Top

Attached controller (CTL)

Specifies the name of the controller description to which this device is attached.

Note: To use this device for communicating with a remote location that resides on the same system as the local location, specify a controller description that was created with LINKTYPE (*LOCAL) specified.

Top

Maximum length of request unit (MAXLENRU)

Specifies the maximum request unit (RU) length allowed.

*CALC
The system calculates the value to use.
maximum-length-request-unit
Specify a value in the range of 8 through 4096 bytes as the maximum length for incoming request units.

Note: *CALC is the only allowed value for a 3624, 3694, or 4704 device type. If *FNCICF is specified for the Device type (TYPE) parameter and attached to either a 3694, 4730, 4731, 4732, or 4736 controller, *CALC or 256 are the only allowed values.

Top

Device class (DEVCLS)

Specifies the device class for this device.

*NONE
This device description does not use SNA pass-through support.
*SNPT
This device description is for a display station connected to an SNA pass-through advanced program-to-program communications (APPC) controller. SNA pass-through support allows the user to connect this display station with host logical unit (LU) types 0 through 3 applications.
Top

Activation timer (ACTTMR)

Specifies, for switched lines, the amount of time that the SNA pass-through support waits for the device to respond to the activation request from the host iSeries system. If the device does not respond within this time, it is considered not available.

This parameter is valid only when *SNPT is specified for the DEVCLS parameter.

170
Specifies the activate time of 170 seconds.
activation-timer
Specify a number ranging from 1 through 2550 indicating the number of seconds before the device is considered not available.
Top

Inactivity timer (INACTTMR)

Specifies, for devices connected using SNA pass-through support, a timeout value that measures the amount of time that the device is not bound to a host application. When the timeout value is exceeded, the session is ended.

*NOMAX
No maximum inactivity time is tracked (no inactivity timer is be enforced).
*SEC15
A 15-second timeout period is used.
*SEC30
A 30-second timeout period is used.
inactivity-timer
Specifies a timeout value in minutes.
Top

SNA pass-through device desc (SNPTDEV)

Specifies the name of the associated SNA pass-through device that is attached to a host or advanced program-to-program communications (APPC) controller.

This parameter is valid only when *SNPT is specified for the DEVCLS parameter.

*NONE
No name is specified.
associated-device-name
Specify the name of a device that is attached to a host or APPC controller that is associated with this device.
Top

SNA pass-through group name (SNPTGRP)

Specifies the name configured for a group of host devices in a configuration list (see CRTCFGL command). This indicates that this device is tied to any one of the devices in that group which is available.

This parameter is valid only when *SNPT is specified for the DEVCLS parameter.

*NONE
No name is specified.
group-name
Specify the name configured for a group of host devices that must be associated with this device.
Top

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

*BLANK
No text is specified.
character-value
Specify no more than 50 characters of text, enclosed in apostrophes.
Top

Authority (AUT)

Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.

*CHANGE
The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
*ALL
The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
*USE
The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
*EXCLUDE
The user cannot access the object.
*LIBCRTAUT
The system determines the authority for the object by using the value specified for the Create authority (CRTAUT) parameter on the Create Library (CRTLIB) command for the library containing the object to be created. If the value specified for the CRTAUT parameter is changed, the new value will not affect any existing objects.
name
Specify the name of an authorization list to be used for authority to the object. Users included in the authorization list are granted authority to the object as specified in the list. The authorization list must exist when the object is created.
Top

Examples

Example 1: Changing a Finance Device Description

CHGDEVFNC   DEVD(FNCDSP1)  ONLINE(*YES)

This command changes the device description for the finance device FNCDSP1 so that the device will be varied on at IPL.

Example 2: Creating a Finance Device Description

CRTDEVFNC   DEVD(FNCDSP1)  TYPE(*FNCICF)  LOCADR(01)
CTL(FNCCTL1)

This command creates a finance device description named FNCDSP1. This is an ICF finance device with an address of X'01'. It is attached to the finance controller FNCCTL1.

Top

Error messages

*ESCAPE Messages

CPF261A
Device description &1 not created due to errors.
Top