Archive for the LANSA Category
Visual LANSA Editor Short Cuts
28. May 2008 by admin.
Position the current line on the top of the window Ctrl + T
Position the current line in the middle of the window Ctrl + M
Position the current line on the bottom of the window Ctrl + B
Toggle a tag on a line Ctrl + F2
Remove all tags Alt + F2
Jump to the previous tagged line Ctrl + Up Arrow
Jump to the next tagged line Ctrl + Down Arrow
Comment selected text Ctrl + W
Uncomment selected text Ctrl + Shift + W
Collapse blocks. This command blocks a level at a time.
If you keep collapsing the blocks, the entire code will
be collapsed, except for lines that are not in blocks. Ctrl + F9
Expand blocks. This command expands a level at the time Ctrl +F10
Collapse the block containing the line that has the focus Ctrl + Shift + F9
Expand the collapsed block that has the editor focus Ctrl + Shift + F10
Makes selection/next character upper case Alt + UpArrow
Makes selection/next character lower case Alt + DownArrow
Delete word right Ctrl + Delete
Delete word left Ctrl + BackSpace
Delete from current position to end of line Alt + Shift + L
Cut line and place it on clipboard Ctrl + L
Copy line and place it on clipboard Alt + Q
Copy selection or line Plus key in number pad
Copy selected text to the clipboard Ctrl + Insert
Paste text from the clipboard Shift + Insert
Copy selected text to the clipboard Ctrl + C
Cut selected text to the clipboard Ctrl + X
Paste text from the clipboard Ctrl + V
Extend/reduce selection to next part of statement Ctrl + Shift + RightArrow
Extend/reduce selection to start of previous part of statement Ctrl + Shift + LeftArrow
Block select to end of line Shift + End
Block select to start of line Shift + Home
Block select to start of file Ctrl + Shift + Home
Block select to end of file Ctrl + Shift + End
Block select to page down Shift + PageDown
Block select to page up Shift + PageUp
Block select part of statement Left Button double-click
Line selection Shift + UpArrow
Line selection Shift + DownArrow
Select all text Ctrl + A
Find text Ctrl + F
Replace text Ctrl + H
Find next F3
Find previous Shift + F3
Go to line Ctrl + G
Posted in LANSA | No Comments »
The only reference to *NOBCIPT on the web, courtesy of Mark Mason
19. May 2008 by admin.
*Noxxxxx
The contents of this variable allows you to disable:
· Borders around the browse list.
· Column headings.
· Selection image.
· Borders around empty cells in the browse list.
To turn off any of the above features, you will need to define the variable as a Text variable. The content of the variable is then set to be:
*Noxxxxx
where xxxxx can be up to five characters, identifying the feature to disable.
If you want to disable the border around the browse list, specify a ‘B’ character.
If you want to disable the column heading in the browse list, specify a ‘C’ character.
If you want to disable the selection image, specify an ‘I’ character.
If you do not want a <table> HTML tag around your browse list, specify a ‘T’ character.
If you do not want borders displayed around empty cells in your browse list, specify a ‘P’ character.
Note that if you disable the selection image, none of the columns in the browse list will be hyperlinked, even though you have enabled LANSA for the Web to allow selection from any column in a browse list. For example, *NOB would switch borders off.
Posted in LANSA | No Comments »
LANSA Date Formats
30. April 2008 by admin.
Date Formats
Date Built-In Functions may use one or more of the following formats as arguments and/or return values. The relevant Built-In Function’s description tells you which format is used as arguments and/or return values.
|
Code |
Format of Date |
|---|---|
|
A |
System date format |
|
B |
DDMMYY |
|
C |
DD/MM/YY |
|
D |
YYMMDD |
|
E |
YY/MM/DD |
|
F |
MMDDYY |
|
G |
MM/DD/YY |
|
H |
DDMMYYYY |
|
I |
DD/MM/YYYY |
|
J |
YYYYMMDD |
|
K |
YYYY/MM/DD |
|
L |
MMDDYYYY |
|
M |
MM/DD/YYYY |
|
N |
DDMMMYY (e.g. 03JUL87) |
|
O |
DDMMMYYYY (e.g. 03JUL1987) |
|
P |
DDxx MMMMMMMMM YY (e.g. 16TH SEPTEMBER 87) |
|
Q |
DDxx MMMMMMMMM YYYY (e.g. 16TH SEPTEMBER 1987) |
|
R |
DDD (e.g. MON, TUE, WED, etc). |
|
S |
DDDDDDDDD (e.g. MONDAY, TUESDAY, WEDNESDAY, etc). |
|
T |
DDDDDDDDDD (in selected language e.g. LLLLLLLLLL). |
|
U |
MMMMMMMMMM (in selected language e.g. LLLLLLLLLL). |
|
V |
8 digit system date format |
|
W |
YYMM |
|
X |
MMYY |
|
Y |
YYYYMM |
|
Z |
MMYYYY |
|
1 |
CYYMMDD |
Posted in LANSA | No Comments »
What I forgot when copying a LANSA Partiton to a new AS400
3. April 2008 by admin.
Export all objects (check)
Copy Data in Files (check)
Data Areas for OLD System variables (duh)
Posted in LANSA | No Comments »