CRTDEVFNC (Create Device Description (Finance))
CRTDEVFNC Command syntax diagram
Purpose
The Create Device Description (Finance) (CRTDEVFNC) command creates a device description for a finance device. More information on this command is in the Communications Configuration book.
Required Parameters
- DEVD
- Specifies the name of the device description being created.
- TYPE
- Specifies the type of device this description represents.
*FNCICF: This device is an intersystem communications function (ICF) finance device. Specify this value when using ICF finance communications. Actual device numbers (3624, 3694, or 4704) are not specified when using the ICF file interface.
3624: The device is a consumer transaction facility.
3694: The device is a document processor.
4704: The device is a finance display station.
- LOCADR
- Specifies the local location address. Specify a 2-character hexadecimal value ranging from 01 through FF.
Controllers and valid numbers of attachable devices are as follows:
- 3694
- 01-04
- 4701
- 01-FF
- 4702
- 01-FF
- 4730
- 01-03
- 4731
- 01-02
- 4732
- 01-02
- 4736
- 01-02
- *FBSS
- 01-FF
Note: The value 01 is only valid for ICF finance communications when TYPE(*FNCICF) is specified.
Optional Parameters
- RMTLOCNAME
- Specifies the remote location name of the system with which this object communicates.
- ONLINE
- Specifies whether this object is automatically varied on at initial program load (IPL).
*YES: The device is automatically varied on at IPL.
*NO: This device is not automatically varied on at IPL.
- CTL
- Specifies the name of the controller description to which this object is attached.
- MAXLENRU
- Specifies the default maximum request unit (RU) length that can be sent or received by the local systems if the maximum size is not specified in the bind.
*CALC: The system determines the value to use.
maximum-length-request-unit: Specify a value ranging from 8 to 4096 bytes for the maximum size of the request unit.
- 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.
- INACTTMR
- Specifies an inactivity timer (time-out) value. This parameter also specifies what happens when the time-out value is exceeded, dependent on other attributes of the device:
- For devices connected using SNA pass-through (SNPT) support, the user is informed by a message to QSYSOPR and the session is ended when the amount of time that the device is not bound to a host application exceeds the time-out value. The user must reestablish the connection and session.
- For all other attachments, valid values range from 1 through 30 minutes.
Note: This timer is not used by devices allocated to a subsystem (normal interactive use) because the subsystem always has a file open for the device. The timer is used by batch jobs that open and close files for the device. *NOMAX: Maximum inactivity time is not tracked.
*SEC15: A 15-second time-out period is used.
*SEC30: A 30-second time-out period is used.
inactivity-timer: Specify a time-out value in minutes.
- ACTTMR
- Specifies, for switched connections, the amount of time that the SNA pass-through support waits for the device to respond to the activation request from the host iSeries 400. 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.
- 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 an APPC controller that is associated with this device.
- 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-device-name: Specify the name configured for a group of host devices that must be associated with this device.
- AUT
- Specifies the authority given to users who do not have specific authority to the device description, who are not on an authorization list, and whose user group has no specific authority to the device description.
*LIBCRTAUT: The authority for the object is the same as the create authority for QSYS. The create authority for QSYS can be displayed by using the Display Library Description (DSPLIBD) command. If the create authority is changed with the Change Library (CHGLIB) command, the new authority does not affect existing objects.
*CHANGE: The user can perform all operations on the object except those limited to the owner or controlled by object existence authority and object management authority. The user can change and perform basic functions on the object. Change authority provides object operational authority and all data authority.
*ALL: The user can perform all operations except those limited to the owner or controlled by authorization list management 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 device description.
*USE: The user can perform basic operations on the device description, such as running a program or reading a file. The user cannot change the device description. *USE authority provides object operational authority, read authority, and execute authority.
*EXCLUDE: The user cannot access the device description.
authorization-list-name: Specify the name of the authorization list used.
- TEXT
- Specifies the text that briefly describes the device file. More information on this parameter is in Commonly used parameters.
*BLANK: Text is not specified.
'description': Specify no more than 50 characters of text, enclosed in apostrophes.
Examples for CHGDEVFNC
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.
Error messages for CRTDEVFNC
*ESCAPE Messages
- CPF261A
- Device description &1 not created due to errors.
- CPF2631
- Device type &2 not valid.