The Add Object Connection (ADDOBJCNT) command connects an object to all format or field matching the selection criteria. By default, all format or field are selected.
Nota: If many field or format are going to be connected to the object, it is advised to submit this command to a batch job.
Restrictions:
Specifies the object to be connected. An object could be a simple grafical feature, a control or a sofisticated feature with link or image or system-command and reacting to Event such as click, right-click etc...
Nota: To define new OBJECT use the cmd: IWEB/DFNOBJ
This is a required parameter.
Qualifier 1: Object
|
A R FMT1
A . . .
*%%IW CRTOBJDFN OBJ(*DDSSRC)
*%%IW OBJTYPE(...)
*%%IW . . .
*%%IW ADDOBJCNT OBJ(*DDSSRC)
*%%IW TOLEVEL(*DDSSRC)
A . . .
|
The parameter value *DDSSRC assume the format or field name preceding the command insertion, like does any DDS keyword.
Nota: To insert the cmd within a DDS source, type-in the cmd in another session, use F14=cmd string and then do a copy/past to the DDS source.
Qualifier 2: Collection
Nota: To define new COLLECTION use the cmd: IWEB/CRTCLC
Specifies the level to which the object will be connected. (record-format or field level)
This is a required parameter.
Specifies the language to which the connection will occur. By default all language are included.
Nota: You may promt (F4) this parameter to get a positionable dymanic list.
Specifies the company (if your application uses it as a information system) to which the connection will occur. By default all companies are included.
Nota: To add, remove, get or set companies (as information system) use company's commands and session programs.
Nota: You may promt (F4) this parameter to get a positionable dymanic list.
Specifies the user-group to which the connection will occur. By default all user-group are included.
Nota: You may promt (F4) this parameter to get a positionable dymanic list.
Specifies the user-profil to which the connection will occur. By default all user-profil are included.
Nota: You may promt (F4) this parameter to get a positionable dymanic list.
Specifies if you want to list all format or field resulting connected by the cmd. You can either display the list or print it.
Specifies the library to which the connection will occur.
This is a required parameter.
Nota: You may promt (F4) this parameter to get a positionable dymanic list.
Specifies the display name as a selection criteria. By default all display are included.
Nota: You may promt (F4) this parameter to get a positionable dymanic list.
Specifies the format name as a selection criteria. By default all format are included.
Nota: You may promt (F4) this parameter to get a positionable dymanic list.
Specifies the field name as a selection criteria. By default all field are included.
Nota: You may promt (F4) this parameter to get a positionable dymanic list.
Specifies the type of record-format as a selection criteria. By default all type of record-format are included.
You can specify 4 values for this parameter.
Specifies the type of field as a selection criteria. By default all type of field are included.
You can specify 20 values for this parameter.
Specifies the simplified field type (Character or Numeric) as a selection criteria. By default all type of field are included.
Specifies the field usage as a selection criteria. By default all field usage are included.
You can specify 6 values for this parameter.
Specifies the length field range as a selection criteria. By default all length field are included.
Element 1: From
Element 2: To
Specifies the length decimal range as a selection criteria. By default all decimal length are included.
Element 1: From
Element 2: To
Specifies the reference field library name as a selection criteria. By default all reference field library are included.
Specifies the reference field file name as a selection criteria. By default all reference field file are included.
Specifies the reference field record-format name as a selection criteria. By default all reference field record-format are included.
Specifies the reference field name as a selection criteria. By default all reference field are included.
Specifies a constant value as a selection criteria. By default all constant are included.
You can specify 100 values for this parameter.
Specifies option indicators to select a connection at run time. Your program can set option indicators ON or OFF and condition the connection.
Nota: Only original option indicators from the DDS record-format will be controlled by the runtime process of iWeb. If you need extra indicators you may describe them first within your DDS source code, even for dummy field or keyword: (A__12N12___________________________1__2'_')
You can specify 100 values for this parameter.
Element 1: Indicator
Element 2: Indicator
Element 3: Indicator
Element 4: Operator
Example 1: Simple Command Example
ADDOBJCNT KWD1(PARMVAL1)
This command <...>
Example 2: More Complex Command Example
ADDOBJCNT KWD1(PARMVAL1) KWD2(PARMVAL2)
KWD3(PARMVAL3)
This command <...>
*ESCAPE Messages
You may prompt (F4) this parameter to get a dynamic list of 100 elements at a time.
If the list contains more than 100 elements, the last element will be substitued with the string " ...More". You can therefore position the list inserting a character string followed by the "+" symbol. (for example, with "MXY+" the list will start from "MXY").