The Things that Make Up this Example

LANSA

The Things that Make Up this Example
Scenario: Cross-Product Poll SystemTo Execute this Example

If you imported the SET example materials, these objects have been created for you in the repository:
TypeNameDetailsDescription
ProcessSET_190SET_190Process for this example
FunctionSET190ASET190ASelect and present a poll
FunctionSET190BSET190BCreate example polls with response data
FunctionSET190CSET190CPrompt on Poll Status
FunctionSET190DSET190DRequest web system variables
FunctionSETWEBNSETWEBNGeneral System Variable Evaluation (Num)
FunctionSETWEBPSETWEBPEvaluate AS400 sysvars for PC
FunctionSETWEBSSETWEBSGeneral System Var. evaluation (alpha)
FormS_190FA S_190FA Poll Questions
FormS_190FB S_190FB Poll Attributes
FormS_190FF S_190FF Breakdown of responses to a question
FormS_190FG S_190FG Are the responses to two questions related?
FormS_190FH S_190FH Responses to other questions
FormS_190FI S_190FI Breakdown of responses to a ranked quest
FormS_190FJ S_190FJ Breakdown of responses free format question
Reusable PartS_190RPLS_190RPLReusable Poll List
Reusable PartS_190RQLS_190RQLReusable Question List
Reusable PartS_190RQNS_190RQNReusable Question drop down
Reusable PartS_190RQTS_190RQTReusable Question Type
Reusable PartS_155RSTS_155RSTReusable status bar
FormS_155FLGS_155FLGApplication Logo display
FILESETPDFSETPDFPoll Definition (Example 190)
FILESETPQSSETPQSPoll Question Selection (Example 190)
FILESETPQUSETPQUPoll Questions (Example 190)
FILESETPRASETPRAPoll Respondent Answers (Example 190)
FILESETPRESETPREPoll Respondent (Example 190)
FieldS_190CAB P 5 0Actual Count of combination of sels
FieldS_190CABE P 7 2Expected Count of combination of sels
FieldS_190FRQ1 P 5 0Rank 1 response count
FieldS_190FRQ2 P 5 0Rank 2 response count
FieldS_190FRQ3 P 5 0Rank 3 response count
FieldS_190FRQ4 P 5 0Rank 4 response count
FieldS_190FRQ5 P 5 0Rank 5 response count
FieldS_190HDR A 20 Display Screen Header component
FieldS_190PBN A 256 Poll Banner
FieldS_190PDS A 40 Poll Description
FieldS_190PID P 15 0Poll Identifier
FieldS_190PPW A 10 Poll Password
FieldS_190PQA A 20 Abbreviated Question
FieldS_190PQL A 256 Question
FieldS_190PQN P 5 0Question Number
FieldS_190PQNA P 5 0Question Number (A)
FieldS_190PQNB P 5 0Question Number (B)
FieldS_190PQS A 10 Question Style
FieldS_190PQSQ P 5 0Question Sequence in Poll
FieldS_190PSA A 20 Abbreviated Selection
FieldS_190PSE A 10 Select
FieldS_190PSL A 60 Selection
FieldS_190PSN P 5 0Selection Number
FieldS_190PSNA P 5 0Selection for question A
FieldS_190PSNB P 5 0Selection for question B
FieldS_190PST A 10 (prompt =SET190C)Poll Status
FieldS_190QFRQ P 5 0Count of responses to a question
FieldS_190RAG P 3 0Respondent Age
FieldS_190RANK P 2 0Rank of selection
FieldS_190RFRQ P 5 0Count for a response to a question
FieldS_190RID P 15 0Respondent Identifier
FieldS_190RNM A 40 Respondent Name
FieldS_190RV A 30 Selection Value
System Variable*S_190PIDN 15,0 LF=SETWEBNThe next poll identifier
System Variable*S_URLPORTA 256 LF=SETURLPConcatenates *S_HOSTURL + *S_HOSTPORT
System Variable*S_FIXEDURLPARTA 50 LF=SETWEBFSets static LANSA for WEB url part
System Variable*S_HOSTPORTA 10 LF=SETWEBSRetrieve Host Port
System Variable*S_HOSTURLA 256 LF=SETWEBSRetrieve Host URL
System Variable*S_IFSPATHA 256 LF=SETWEBSRetrieve IFS images path
System Variable*AUTONUM15S_190PIDN 15,0 M@SYSNUMThe next poll identifier
System Variable*AUTONUM15S_190RIDN 15,0 M@SYSNUMNext Respondent Identifier
Graphical Variable*LW3BL_S_190OPTS  *NOBIC
Graphical Variable*LW3BL_S_190PDF  *NOBIC
Graphical Variable*LW3BL_S_190SELS  *NOBIC
Graphical Variable*LW3BLCCB_S_190OPTS  "#FFFFCC"
Graphical Variable*LW3BLCCB_S_190PDF  "#FFFFCC"
Graphical Variable*LW3BLCCB_S_190SELS  "#FFFFCC"
Graphical Variable*LW3BLCCF_S_190OPTS  "DARKBLUE" FACE="ARIAL" SIZE=2
Graphical Variable*LW3BLCCF_S_190PDF  "DARKBLUE" FACE="ARIAL" SIZE=2
Graphical Variable*LW3BLCCF_S_190SELS  "DARKBLUE" FACE="ARIAL" SIZE=2
Graphical Variable*LW3BLMS_S_190OPTS  CELLPADDING=2 CELLSPACING=0 BORDERCOLOR=darkblue BORDERCOLORLIGHT=darkblue BORDERCOLORDARK=#FFFFCC WIDTH="500"
Graphical Variable*LW3BLMS_S_190PDF  CELLPADDING=2 CELLSPACING=0 BORDERCOLOR=darkblue BORDERCOLORLIGHT=darkblue BORDERCOLORDARK=#FFFFCC
Graphical Variable*LW3BLMS_S_190SELS  CELLPADDING=2 CELLSPACING=0 BORDERCOLOR=darkblue BORDERCOLORLIGHT=darkblue BORDERCOLORDARK=#FFFFCC WIDTH="500"
Graphical Variable*LW3S_190BANNER  S_190banner.gif
Graphical Variable*LW3S_190BKG S_190BKG.gif
ComponentS_190AFIN S_190AFIN WEBLNKFinish
ComponentS_190ANXT S_190ANXT WEBLNKNext Question
ComponentS_190APRV S_190APRV WEBLNKPrevious Question
ComponentS_190ASBM S_190ASBM WEBLNKSubmit
ComponentS_190AYES S_190AYES WEBLNKYes
ComponentS_190HDR S_190HDR VISUAL InputDisplays the screen header component
ComponentS_190HDRBLANK S_190HDRBLANK PAGEInitial Entry Screen
ComponentS_190HDRLAST S_190HDRLAST PAGELast question has been asked
ComponentS_190HDRPASSWORD S_190HDRPASSWORD PAGERequest a password and user details
ComponentS_190HDRQUESOPTS S_190HDRQUESOPTS PAGEAsk a question (Radio button response)
ComponentS_190HDRQUESSELS S_190HDRQUESSELS PAGEAsk a question (rank, free format)
ComponentS_190HDRUSERDET S_190HDRUSERDET PAGERequest user details
ComponentS_190SE S_190SE VISUAL InputHolds selection component name
ComponentS_190SEAN S_190SEAN PAGEUser enters free format answer
ComponentS_190SEGP S_190SEGP PAGEBrowselist Selector
ComponentS_190SERK S_190SERK PAGERank Selections
ComponentS_190SERBS_190SERB PAGERadio Button select
ComponentSET_190_SCRIPTSET_190_SCRIPT Standard script for process SET_190
ComponentSET_190_STDHEADERSET_190_STDHEADER PAGEStandard Header for process SET_190
HTML SkeletonSET_190SET_190HTML skeleton for all functions in process SET_190