User Tools

Site Tools


5250_as400_adaptor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

5250_as400_adaptor [2024/12/10 13:07]
montse [Functions]
5250_as400_adaptor [2024/12/10 13:11] (current)
montse [Functions]
Line 34: Line 34:
  
   * **readField(Field,​Offset,​Length):​** this function reads a field that we define in the function parameters:​\\ ​         ​   * **readField(Field,​Offset,​Length):​** this function reads a field that we define in the function parameters:​\\ ​         ​
-     ​*Parameter Field: ​Position ​(numeric) where the field is located, it is visually counted on the screen, since it is not indicated anywhere.\\ ​+     ​*Parameter Field: ​position ​(numeric) where the field is located, it is visually counted on the screen, since it is not indicated anywhere.\\ ​
      ​*Parameter Offset: by default the value is always 0, which indicates the first position of the field.\\  ​      ​*Parameter Offset: by default the value is always 0, which indicates the first position of the field.\\  ​
      ​*Parameter Length: length of the field we are going to read.\\ ​      ​*Parameter Length: length of the field we are going to read.\\ ​
  
   * **readRow(Row):​** this function reads a particular line on the screen. The whole line.\\ ​   * **readRow(Row):​** this function reads a particular line on the screen. The whole line.\\ ​
-     ​*Parameter Row: Position ​(numeric) where the line is located.\\ \\ This data can be seen at the bottom right of the screen:​\\ ​+     ​*Parameter Row: position ​(numeric) where the line is located.\\ \\ This data can be seen at the bottom right of the screen:​\\ ​
 {{ :​as400sipsa.png?&​400 |}}\\    {{ :​as400sipsa.png?&​400 |}}\\   
  
Line 52: Line 52:
  
   * **waitForCursor:​** this function waits for the cursor to appear on the screen we want to see next.\\ ​   * **waitForCursor:​** this function waits for the cursor to appear on the screen we want to see next.\\ ​
-     ​*Parameter timeinSeconds: ​Value -> time to wait until the cursor appears.\\ ​+     ​*Parameter timeinSeconds: ​value -> time to wait until the cursor appears.\\ ​
  
   * **writeAftherLabel (Label, Text):** this function writes to the screen any text, **after** the label that we have defined in the Label parameter has been displayed (on the screen).\\ ​   * **writeAftherLabel (Label, Text):** this function writes to the screen any text, **after** the label that we have defined in the Label parameter has been displayed (on the screen).\\ ​
-     ​*Parameter Label: ​Value -> Text to be displayed.\\  +     ​*Parameter Label: ​value -> Text to be displayed.\\  
-     ​*Parameter Text: Text that we are going to write.\\ ​+     ​*Parameter Text: text that we are going to write.\\ ​
  
   * **writeBeforeLabel (Label, Text):** this function writes to the screen any text, **before** the label we have defined in the Label parameter has been displayed (on the screen).\\ ​   * **writeBeforeLabel (Label, Text):** this function writes to the screen any text, **before** the label we have defined in the Label parameter has been displayed (on the screen).\\ ​
-     ​*Parameter Label: ​Value-> Text to be displayed.\\  +     ​*Parameter Label: ​value-> Text to be displayed.\\  
-     ​*Parameter Text: Text that we are going to write.\\ ​+     ​*Parameter Text: text that we are going to write.\\ ​
  
   * **writeField (Text, Field, Offset):** this function writes to a given field the value that we define in the Text parameter.\\ ​   * **writeField (Text, Field, Offset):** this function writes to a given field the value that we define in the Text parameter.\\ ​
-     ​*Parameter Text: Value-> Text to appear.\\  +     ​*Parameter Text: value-> Text to appear.\\  
-     ​*Parameter Field: ​Field that we are going to write.\\  +     ​*Parameter Field: ​field that we are going to write.\\  
-     ​*Parameter Offset: ​Position ​on the field (Position 0).+     ​*Parameter Offset: ​position ​on the field (Position 0).
                
   * **writeKey (Key):** this function executes a predefined key on the screen (ENTER, PF8, PF4, etc...).\\ ​       ​   * **writeKey (Key):** this function executes a predefined key on the screen (ENTER, PF8, PF4, etc...).\\ ​       ​
-          *Parameter Key: Value-> Function key.\\ ​+          *Parameter Key: value-> Function key.\\ ​
  
   * **writeText (Text, Row, Column):** this function writes a text at a defined position (line and column).\\  ​   * **writeText (Text, Row, Column):** this function writes a text at a defined position (line and column).\\  ​
-     ​*Parameter Text: Value-> Text to write.\\  +     ​*Parameter Text: value-> Text to write.\\  
-     ​*Parameter Row: Value-> Row number.\\  +     ​*Parameter Row: value-> Row number.\\  
-     ​*Parameter Column: ​Value-> Column number.\\ \\ This data is obtained from the screen, bottom right.\\ \\ {{ :​as400sipsa.png?&​400 |}}\\ +     ​*Parameter Column: ​value-> Column number.\\ \\ This data is obtained from the screen, bottom right.\\ \\ {{ :​as400sipsa.png?&​400 |}}\\ 
  
  
5250_as400_adaptor.1733836063.txt.gz · Last modified: 2024/12/10 13:07 by montse