documentation
.HELP!
LANSA Open Guide Documentation
6 7 2 Pseudocode Example
LANSA Open Guide
previous page
next page
6.7.2 Pseudocode Example
CALL LceASCIIToInteger( "24", lAge)
previous page
start
next page
Menu
Homepage
Table of contents
LANSA Open
1. Introduction
1.1 What Is LANSA Open?
1.2 The LANSA Object Repository
1.2.1 I/O Modules & OAMs
1.3 Dynamic Link Libraries (DLLs)
1.4 How LANSA Open Works
1.5 Local Data Dictionary
1.6 Program Examples?
2. Getting Started
2.1 Installing/Upgrading LANSA Open
2.2 Configuration File
2.3 Repository on the Server
2.4 Multilingual Support
3. Function Overview
3.1 What Are DLLs?
3.1.1 Making DLL Functions Known to Your Application
3.1.2 Calling DLL Functions
3.2 LANSA Open Function Summary
3.2.1 Which LANSA Open Function to Use and When
3.2.2 Session Management
3.2.3 Session Definition
3.2.4 Data Access
3.2.5 Miscellaneous Functions
3.3 Generic Coding Example
4. Guidelines for Using LANSA Open
4.1 Where to Find the Program Examples
4.2 LANSA Open and Visual Basic
4.3 LANSA Open and C
4.4 LANSA Open and Excel
5. Quick Start for Visual Basic Programmers
5.1 Overview
5.1.1 Program steps
5.2 Defining and Opening the Host session
5.2.1 Declare Variables
5.2.2 GetSessionID
5.2.3 Set Session Options
5.2.4 Enabling LANSA Open Default Error Handler
5.2.5 Opening the Host Session
5.3 Data Access
5.3.1 Using Field Labels and Descriptions from the LANSA Repository
5.3.2 Populating a List with the Contents of a Table
5.3.3 Retrieving a Specific Record
5.3.4 Setting a New Record's Fields to Default Values
5.3.5 Saving Changes / Inserting Records
5.3.6 Deleting Records
5.3.7 Retrieving Help Text
5.4 Error Handling
5.5 Closing the Session
6. Function Details
6.1 Function Format
6.1.1 Examples
6.2 Lansa Object Names
6.2.1 C Example
6.3 Lce3GLCall
6.3.1 VB Example
6.3.2 C Examples
6.4 Lce3GLDefineParameter
6.4.1 Examples
6.5 Lce3GLGetValue
6.5.1 Examples
6.6 LceASCIIToFloat
6.6.1 C Example
6.6.2 Pseudocode Example
6.7 LceASCIIToInteger
6.7.1 C Example
6.7.2 Pseudocode Example
6.8 LceCheckFor
6.8.1 VB Example
6.8.2 C Example
6.9 LceCommitWork
6.9.1 VB Example
6.9.2 C Example
6.10 LceDelete
6.10.1 VB Example
6.10.2 C Example
6.10.3 Psuedocode Example
6.11 LceDeleteSelect
6.11.1 VB Example
6.11.2 C Example
6.11.3 Psuedocode Example
6.12 LceDisplayErrors
6.12.1 VB Example
6.12.2 C Example
6.12.3 Psuedocode Example
6.13 LceEndSession
6.13.1 VB Example
6.13.2 C Example
6.14 LceExecute400
6.14.1 VB Example
6.14.2 C Example
6.15 LceFetch
6.15.1 VB Example
6.15.2 C Example
6.15.3 Psuedocode Example
6.16 LceGetDefaultValue
6.17 LceGetDefaultValueX
6.17.1 VB Example
6.17.2 C Example
6.17.3 Psuedocode Example
6.18 LceGetDefaultValueU
6.18.1 C Example
6.19 LceGetFieldAttributes
6.19.1 VB Example
6.19.2 C Example
6.19.3 Psuedocode Example
6.20 LceGetFieldDataLength
6.20.1 VB Example
6.20.2 C Example
6.20.3 Psuedocode Example
6.21 LceGetFieldDesc
6.21.1 VB Example
6.21.2 C Example
6.21.3 Psuedocode Example
6.22 LceGetFieldEdit
6.22.1 VB Example
6.22.2 C Example
6.22.3 Psuedocode Example
6.23 LceGetFieldHeading
6.23.1 VB Example
6.23.2 C Example
6.23.3 Psuedocode Example
6.24 LceGetFieldHelpText
6.24.1 VB Example
6.24.2 C Example
6.25 LceGetFieldIndicator
6.25.1 VB Example
6.25.2 C Example
6.25.3 Psuedocode Example
6.26 LceGetFieldLabel
6.26.1 VB Example
6.26.2 C Example
6.26.3 Psuedocode Example
6.27 LceGetFieldType
6.27.1 VB Example
6.27.2 C Example
6.27.3 Psuedocode Example
6.28 LceGetFieldValue
6.29 LceGetFieldValueX
6.29.1 VB Example
6.29.2 C Example
6.29.3 Psuedocode Example
6.30 LceGetFieldValueU
6.30.1 C Example
6.30.2 Psuedocode Example
6.31 LceGetFieldValueH
6.31.1 VB Example
6.31.2 C Example
6.32 LceGetFileDesc
6.32.1 VB Example
6.32.2 C Example
6.32.3 Psuedocode Example
6.33 LceGetFileType
6.33.1 VB Example
6.33.2 C Example
6.33.3 Psuedocode Example
6.34 LceGetIBMiSignon
6.34.1 VB Example
6.34.2 C Example
6.34.3 C# Example
6.35 LceGetMessage
6.35.1 VB Example
6.35.2 C Example
6.36 LceGetMessageCount
6.36.1 VB Example
6.36.2 C Example
6.37 LceGetRecordCount
6.37.1 VB Example
6.37.2 C Example
6.38 LceGetSelect
6.38.1 VB Example
6.38.2 C Example
6.39 LceGetSessionId
6.39.1 VB Example
6.39.2 C Examples
6.40 LceGetStatus
6.40.1 VB Example
6.40.2 C Example
6.41 LceGetSystemAttribute
6.41.1 VB Example
6.41.2 C Example
6.42 LceGetVariable
6.42.1 VB Example
6.42.2 C Example
6.43 LceInsert
6.43.1 VB Example
6.43.2 C Example
6.44 LceLansaCall
6.44.1 VB Example
6.44.2 C Example
6.45 LceLocalDateTimeToServer
6.45.1 VB Example
6.45.2 C Example
6.46 LceOpenSession
6.46.1 VB Example
6.46.2 C Example
6.47 LceReceiveNext
6.48 LceReceiveNextX
6.48.1 VB Example
6.48.2 C Examples
6.49 LceReceiveSelect
6.49.1 VB Example
6.49.2 C Example
6.50 LceRequestSelect
6.50.1 VB Example
6.50.2 C Example
6.51 LceRequestSelectWhere
6.51.1 VB Example
6.51.2 C Example
6.52 LceRollBackWork
6.52.1 VB Example
6.52.2 C Example
6.53 LceSelect
6.53.1 VB Example
6.53.2 C Example
6.54 LceSetCommitmentOff
6.54.1 VB Example
6.54.2 C Example
6.55 LceSetCommitmentOn
6.55.1 VB Example
6.55.2 C Example
6.56 LceSetCommsCursor
6.56.1 VB Example
6.56.2 C Example
6.57 LceSetCommsType
6.58 LceSetFieldValue
6.58.1 VB Example
6.58.2 C Examples
6.59 LceSetFieldValueU
6.59.1 VB Example
6.59.2 C Examples
6.60 LceSetHostType
6.61 LceSetIBMiSignon
6.61.1 VB Example
6.61.2 C Example
6.61.3 C# Example
6.62 LceSetKerberosOff
6.63 LceSetKerberosOn
6.64 LceSetSelectOptions
6.64.1 VB Example
6.64.2 C Examples
6.65 LceSetSessionOption
6.65.1 VB Example
6.65.2 C Example
6.66 LceSubmit
6.66.1 VB Example
6.66.2 C Example
6.67 LceUnicodeToHex
6.67.1 VB Example
6.67.2 C Example
6.68 LceUpdate
6.68.1 VB Example
6.68.2 C Example
6.68.3 Psuedocode Example
6.69 LceUseExceptionalArguments
6.69.1 VB Example
6.69.2 C Example
6.70 LceUseField
6.70.1 VB Example
6.70.2 C Examples
6.70.3 Psuedocode Example
6.71 LceUseFile
6.71.1 VB Example
6.71.2 C Example
6.71.3 Psuedocode Example
6.72 LceUseFunction
6.72.1 VB Example
6.72.2 C Example
6.73 LceUseLanguage
6.73.1 VB Example
6.73.2 C Example
6.74 LceUsePartition
6.74.1 VB Example
6.74.2 C Examples
6.75 LceUsePassword
6.75.1 VB Example
6.75.2 C Example
6.76 LceUsePriority
6.76.1 VB Example
6.76.2 C Example
6.77 LceUseProcess
6.77.1 VB Example
6.77.2 C Example
6.78 LceUseSystem
6.78.1 VB Example
6.78.2 C Example
6.78.3 Psuedocode Example
6.79 LceUseTmpDrive2
6.79.1 VB Example
6.79.2 C Example
6.80 LceUseUserId
6.80.1 VB Example
6.80.2 C Example
6.81 LceVersion
6.81.1 VB Example
6.81.2 C Example
6.81.3 Psuedocode Example
7. Troubleshooting
7.1 What to Do if You Have Communications Problems
Appendix A. Error Message Codes
LANSA Open Error Codes
Error Code 3 - Internal Error Reason Codes
Error Code 23 - CPI-C Return Codes
Get in touch
Submit feedback about this site to:
[email protected]