This is the main system data structure which iSeries2web uses to transport information between programs. Even though this is a system structure, you as a developer can use these to your benefit. Below is a list of the most common variables you can use. It’s like the INFDS but only for iSeries2web.
| Fs_inbox | Pointer to the XML cloud |
| Fs_Result | Pointer to the outgoing XML cloud (only exist at the end of the turn-around) |
| FS_Function | The primary function holder |
| FS_Subfunc | Secondary function holder. A subfunction to FS_Function |
| Fs_system | The current system id (normally 0) |
| Fs_company | A company number (normally 1) |
| Fs_langCd | Language code of the user currently signed on |
| Fs_svrNam | The name of the server running this session |
| Fs_SessId | The session ID from the browser |
| FS_userid | The user id of the person signed on the this session |
| Fs_ipadress | The IP-address of the client |
| Fs_expert | *on if the user is set to be an expert (bypass all autorization) |
| Fs_autchg | A code used to set authority. |
| Fs_autdlt | A code used to set authority. |
| Fs_autdsp | A code used to set authority. |
| Fs_autcrt | A code used to set authority. |
| Fs_error_code | This will be filled with a 20 char error code if iSeries2web, encounters a error |
| Fs_return | Use this to set the return code, that is used as a key in ssapd002, when finding the HTML page that is to be shown |
| Fs_notfound | If an RTVxxx function could not find the requested variable name this is set to ‘1’ |
| s_button | iSeries2web will set this field to the value of the button pressed (only if defined by XMLB) |
| Fs_max_count | The values from the system file (SSAPD000P) that gives a default value. This is used when displaying lists, so they don’t run for ever (default is 500) |
| Fs_lr | Indicates if the system preference is set to LR or return. Value ‘1’ indicates that programs should use “seton LR” |
| Fs_mode | The type of “mode” the system is running currently. fs_crt_mode, fs_crt_mode, fs_edit_mode, fs_disp_mode. These are set in your program and is a fast way of setting the button's right. These can be overwritten by specifying the individual fs_xxxx buttons (see hereunder) |
| fs_edit | Set to *off or *on to overwrite fs_mode |
| fs_update | Set to *off or *on to overwrite fs_mode |
| fs_delete | Set to *off or *on to overwrite fs_mode |
| fs_reload | Set to *off or *on to overwrite fs_mode |
| fs_create | Set to *off or *on to overwrite fs_mode |
| Fs_disabled | This field controls if input fields on in the HTML are to be “dimmed” and thereby input inhibited. To set the value of this field there are two system supplied constants - Disabled and Enabled. Using these constants the system will react correctly |
| fs_dec_char | Holds the value from SSAPD000P indicating what character is to be used as decimal separator. |
| fs_dec_num | Holds the value from SSAPD000P indicating the default number of decimals to be shown when formatting numbers |
| fs_1000_char | Holds the value from SSAPD000P indicating what character is to be used as thousand separator. |
| fs_dat_len | Holds the value from SSAPD000P indicating what default length of a date when formatting |
| fs_dat_sep1 | Holds the value from SSAPD000P indicating what character is to be used as the date-month separator |
| fs_dat_sep2 | Holds the value from SSAPD000P indicating what character is to be used as the month-year separator |
| Fs_dat_fmt | Holds the value from SSAPD000P indicating what date formatting should be used *DMY or *ISO can be used. |
| fs_tim_len | Holds the value from SSAPD000P indicating how many characters of the time should be used when formatting using XMLT. |
| fs_tim_sep1 | Holds the value from SSAPD000P indicating what character is to be used as the hour-min. separator. |
| fs_tim_sep2 | Holds the value from SSAPD000P indicating what character is to be used as the min.-sec. separator. |
| fs_lo | Holds the value from SSAPD000P indicating what character are in lower case. Use this in conjunction with fs_up and the RPG command XLATE. |
| fs_up | Holds the value from SSAPD000P indicating what character are in upper case. Use this in conjunction with fs_lo and the RPG command XLATE. |
| fs_key_id | This value is send with every screen and can be used to hold a unique id for a record e.g. the order number etc. This value is set in a program and then retrieved automatically for use in the same or another program upon return from the browser. Example: |
| fs_gen_blanks | TBD |
| fs_doc_type | TBD |
| fs_inbox_len | TBD |
| fs_no_xml | TBD |
| fs_dsodata | TBD |
| fs_lstprefix | TBD |
| fs_renam | TBD |
| fs_copy | TBD |
| fs_svrnam2 | TBD |
| fs_docidno | TBD |
| fs_winlabel | TBD |
| fs_usecal | TBD |
| fs_debug | *ON, if the user is allowed to recive debug information. |
| fs_doc_name | TBD |
| fs_svrnam3 | TBD |
| fs_title | TBD |
| fs_arc_path | TBD |
| fs_arc_file | TBD |
| fs_arc_org | TBD |
| fs_arc_type | TBD |
| fs_arc_cont | TBD |
| fs_http_error | TBD |
| fs_http_ptr | TBD |
| fs_http_len | TBD |
| fs_cache | *ON, indicates that tha cache function for language labels is active |
| fs_timerA | TBD |
| fs_timerB | TBD |
| fs_trace | *ON, indicates that tha trace function for the "business process mananager" is active |
| fs_webid | The unique id, for the specific webserver that is sending the request. I.e. in a cluster the servers are "one", but this id will tell wich one! |
| fs_morph | Used to transfer information between modules to determin if morphing is activated |
| fs_type | Holds current toplevel type from function2program definition |
| fs_useexit001 | Get or set the value that controls the use of the userexit feature |
| fs_dis_type | Get or set the value that controls the alternative-disabled feature |