Skip to main content
I have a paragraph which prompts for a branch code to be selected.
I want the branch codes to be a dropdown list in the paragraph. 
example :

1 North
2 South
3 East
4 West

My paragraph output.
Enter P to print or D to display report(P/D) =D
ENTER APPLICATION START DATE =01 FEB 21
ENTER APPLICATION END DATE(DD MON YR) =11 FEB 21
ENTER YOUR BRANCH NUMBER=


Paragraph:
SORT MYFILE WITH DATE GE "<<ENTER APPLICATION START DATE >>" AND LE "<<ENTER APPLICATION END DATE(DD MON YR) >>" AND WITH BRANCH EQ "<<ENTE
R YOUR BRANCH NUMBER>>"AND STATUS = "1" "4" "5" "7" ID STATUS DATE TOTAL AMOUNT BRANCH HDR-SUPP ID-SUPP LPTR

Anyone can help?


------------------------------
Francis Aquila
Core Banking Support Officer
TISA
------------------------------
I have a paragraph which prompts for a branch code to be selected.
I want the branch codes to be a dropdown list in the paragraph. 
example :

1 North
2 South
3 East
4 West

My paragraph output.
Enter P to print or D to display report(P/D) =D
ENTER APPLICATION START DATE =01 FEB 21
ENTER APPLICATION END DATE(DD MON YR) =11 FEB 21
ENTER YOUR BRANCH NUMBER=


Paragraph:
SORT MYFILE WITH DATE GE "<<ENTER APPLICATION START DATE >>" AND LE "<<ENTER APPLICATION END DATE(DD MON YR) >>" AND WITH BRANCH EQ "<<ENTE
R YOUR BRANCH NUMBER>>"AND STATUS = "1" "4" "5" "7" ID STATUS DATE TOTAL AMOUNT BRANCH HDR-SUPP ID-SUPP LPTR

Anyone can help?


------------------------------
Francis Aquila
Core Banking Support Officer
TISA
------------------------------
Francis,

What you are asking would be better done via writing a basic program to do so.

Paragraphs in both UniData and UniVerse will not natively allow you to do this.

I can see a way you may be able to utilize MOTIF menus in UniVerse to do this (MOTIF is not available in UniData). MOTIF is the mechanism behind the menu in the UV account in case you are unaware of what it is.

Also depending on which Terminal Emulator you are using some like Wintegrate and SBClient have addins that allow you to produce a nice drop down list but the addins are called from Basic.

Thanks,
Jonathan

------------------------------
Jonathan Smith
UniData ATS and Principal Engineer
Rocket Software
------------------------------
I have a paragraph which prompts for a branch code to be selected.
I want the branch codes to be a dropdown list in the paragraph. 
example :

1 North
2 South
3 East
4 West

My paragraph output.
Enter P to print or D to display report(P/D) =D
ENTER APPLICATION START DATE =01 FEB 21
ENTER APPLICATION END DATE(DD MON YR) =11 FEB 21
ENTER YOUR BRANCH NUMBER=


Paragraph:
SORT MYFILE WITH DATE GE "<<ENTER APPLICATION START DATE >>" AND LE "<<ENTER APPLICATION END DATE(DD MON YR) >>" AND WITH BRANCH EQ "<<ENTE
R YOUR BRANCH NUMBER>>"AND STATUS = "1" "4" "5" "7" ID STATUS DATE TOTAL AMOUNT BRANCH HDR-SUPP ID-SUPP LPTR

Anyone can help?


------------------------------
Francis Aquila
Core Banking Support Officer
TISA
------------------------------
As Jonathan mentioned, while MOTIF is available with UniVerse which allows a character-based drop-down menu style to be used this is not an available option with UniData. While I am not aware of the terminal emulation product used here, you could use wIntegrate to generate menus as needed - other terminal emulations may have equivalent functionality. 

I've written equivalent functionality for dumb terminals in the distant past - using an intelligent terminal emulation is much easier and I sincerely wish that option had been available then.


------------------------------
John Jenkins
Principal Technical Support Engineer
Rocket Software Limited
U.K.
------------------------------
As Jonathan mentioned, while MOTIF is available with UniVerse which allows a character-based drop-down menu style to be used this is not an available option with UniData. While I am not aware of the terminal emulation product used here, you could use wIntegrate to generate menus as needed - other terminal emulations may have equivalent functionality. 

I've written equivalent functionality for dumb terminals in the distant past - using an intelligent terminal emulation is much easier and I sincerely wish that option had been available then.


------------------------------
John Jenkins
Principal Technical Support Engineer
Rocket Software Limited
U.K.
------------------------------
I recommend creating a program that you run from the paragraph that will display the drop-down menu and pass the answer back to the paragraph.

------------------------------
Kathleene Hunter
Consultant
Resolution Provider LLC
------------------------------
Francis,

What you are asking would be better done via writing a basic program to do so.

Paragraphs in both UniData and UniVerse will not natively allow you to do this.

I can see a way you may be able to utilize MOTIF menus in UniVerse to do this (MOTIF is not available in UniData). MOTIF is the mechanism behind the menu in the UV account in case you are unaware of what it is.

Also depending on which Terminal Emulator you are using some like Wintegrate and SBClient have addins that allow you to produce a nice drop down list but the addins are called from Basic.

Thanks,
Jonathan

------------------------------
Jonathan Smith
UniData ATS and Principal Engineer
Rocket Software
------------------------------
Thanks Jonathan, I agree with your advise.
I am not very good with basic programs. Are you able to give an example of how the program would be like.
And how I can call or use it in the paragraph. I use Wintegrate.

Sorry if I am asking too much.

------------------------------
Francis Aquila
Core Banking Support Officer
TISA
Papua New Guinea
------------------------------
I recommend creating a program that you run from the paragraph that will display the drop-down menu and pass the answer back to the paragraph.

------------------------------
Kathleene Hunter
Consultant
Resolution Provider LLC
------------------------------
Thanks Kathleene,
Are you able to give me an example of the program and how I can use it in the paragraph.

------------------------------
Francis Aquila
Core Banking Support Officer
TISA
Papua New Guinea
------------------------------
As Jonathan mentioned, while MOTIF is available with UniVerse which allows a character-based drop-down menu style to be used this is not an available option with UniData. While I am not aware of the terminal emulation product used here, you could use wIntegrate to generate menus as needed - other terminal emulations may have equivalent functionality. 

I've written equivalent functionality for dumb terminals in the distant past - using an intelligent terminal emulation is much easier and I sincerely wish that option had been available then.


------------------------------
John Jenkins
Principal Technical Support Engineer
Rocket Software Limited
U.K.
------------------------------
Thanks John,
Would be interested to learn how to used MOTIF  as I use Wintegrate  on Universe.

------------------------------
Francis Aquila
Core Banking Support Officer
TISA
Papua New Guinea
------------------------------
Thanks Kathleene,
Are you able to give me an example of the program and how I can use it in the paragraph.

------------------------------
Francis Aquila
Core Banking Support Officer
TISA
Papua New Guinea
------------------------------
Francis,

As you are using wIntegrate you have all the features you need to create a program based upon an example. If not already done. install and run the wIntegrate host programs and run WIN.DEMO. The wIntegrate documentation set that gives the steps for installing the host programs is available online here docs.rocketsoftware.com. You will need BASIC programming knowledge in order to create the software you are seeking, though the wIntegrate examples can be used as a template..

MOTIF is a legacy feature included in UniVerse on UNIX (only) and has superseded by the GUI administrator tools, and while present is no longer a documented feature. While it is possible to create a drop down menu in MOTIF, you would need to research MOTIF independently and as you have wIntegrate I recommend this approach as you have the tools and it is a supported utility.

Whatever approach taken, programming knowledge will be needed.

------------------------------
John Jenkins
Principal Technical Support Engineer
Rocket Software Limited
U.K.
------------------------------
Thanks John,
Would be interested to learn how to used MOTIF  as I use Wintegrate  on Universe.

------------------------------
Francis Aquila
Core Banking Support Officer
TISA
Papua New Guinea
------------------------------
The following drop down box can be produced using the wIntegrate host program basic add-ins. As stated before you will need programming knowledge to do this and all the install instructions for the host program basic add-ins can be found in the link John mentioned earlier.

*
CRT @(-1) ; * Clear Screen
PROMPT "" ; * Set Input Prompt to ""
* Setup Dropdown Box
R.TABLE = "Choose a Region" ; * Title of Dropdown list
R.TABLE<2,1> = "Code" ; R.TABLE<3,1> = 5 ; * Titles and Sizes
R.TABLE<2,2> = "Area" ; R.TABLE<3,2> = 12
R.TABLE<4> = 4 ;* Number of lines to Show in Dropdown
R.TABLE<5,1> = 50 ; R.TABLE<5,2> = 8 ; * Start Position of dialog
R.TABLE<8> = 1
*
* Setup Data to display in the box
R.LIST = ''
R.LIST<1,1> = 'N' ; R.LIST<1,2> = 'North'
R.LIST<2,1> = 'S' ; R.LIST<2,2> = 'South'
R.LIST<3,1> = 'E' ; R.LIST<3,2> = 'East'
R.LIST<4,1> = 'W' ; R.LIST<4,2> = 'West'
*
* Display Dropdown
SELECTION = ''
CALL WIN.LOOKUP(R.TABLE,R.LIST,SELECTION)
*
* Check Selection
IF SELECTION = '' THEN
  CRT 'You did not make a choice'
END ELSE
  CRT 'You selected ' : SELECTION
END
*
END

The programming is pretty simple but if you have no or little experience and cannot understand the example this may not be the route for you.

If you wish to use the MOTIF menu process then please refer to the 'Menus' section in the Rocket UniVerse System Description manual. The UniVerse manual set can be downloaded from the link John provided previously.




------------------------------
Jonathan Smith
UniData ATS and Principal Engineer
Rocket Software
------------------------------
The following drop down box can be produced using the wIntegrate host program basic add-ins. As stated before you will need programming knowledge to do this and all the install instructions for the host program basic add-ins can be found in the link John mentioned earlier.

*
CRT @(-1) ; * Clear Screen
PROMPT "" ; * Set Input Prompt to ""
* Setup Dropdown Box
R.TABLE = "Choose a Region" ; * Title of Dropdown list
R.TABLE<2,1> = "Code" ; R.TABLE<3,1> = 5 ; * Titles and Sizes
R.TABLE<2,2> = "Area" ; R.TABLE<3,2> = 12
R.TABLE<4> = 4 ;* Number of lines to Show in Dropdown
R.TABLE<5,1> = 50 ; R.TABLE<5,2> = 8 ; * Start Position of dialog
R.TABLE<8> = 1
*
* Setup Data to display in the box
R.LIST = ''
R.LIST<1,1> = 'N' ; R.LIST<1,2> = 'North'
R.LIST<2,1> = 'S' ; R.LIST<2,2> = 'South'
R.LIST<3,1> = 'E' ; R.LIST<3,2> = 'East'
R.LIST<4,1> = 'W' ; R.LIST<4,2> = 'West'
*
* Display Dropdown
SELECTION = ''
CALL WIN.LOOKUP(R.TABLE,R.LIST,SELECTION)
*
* Check Selection
IF SELECTION = '' THEN
  CRT 'You did not make a choice'
END ELSE
  CRT 'You selected ' : SELECTION
END
*
END

The programming is pretty simple but if you have no or little experience and cannot understand the example this may not be the route for you.

If you wish to use the MOTIF menu process then please refer to the 'Menus' section in the Rocket UniVerse System Description manual. The UniVerse manual set can be downloaded from the link John provided previously.




------------------------------
Jonathan Smith
UniData ATS and Principal Engineer
Rocket Software
------------------------------
Hi Jonathan & John,

Appreciate all you replies. I do have basic understanding of basic programming and all your responses have actually help me a lot.
Thanks a million.

Cheers
Francis


------------------------------
Francis Aquila
Core Banking Support Officer
TISA
Papua New Guinea
------------------------------
Hi Jonathan & John,

Appreciate all you replies. I do have basic understanding of basic programming and all your responses have actually help me a lot.
Thanks a million.

Cheers
Francis


------------------------------
Francis Aquila
Core Banking Support Officer
TISA
Papua New Guinea
------------------------------
Hello Francis,
Here is a simple idea that requires no programming;
<<ENTER YOUR BRANCH NUMBER; 1=North; 2=South; 3=East; 4=West >>
Note, do not replace the ; with , as the comma is part of the syntax.
This displays on one line instead of 4 but does give the user the needed info.
Regards,
Don Robinson
Cincinnati Ohio USA


------------------------------
Don Robinson
Personal
------------------------------