-
Notifications
You must be signed in to change notification settings - Fork 12
/
check_as400_lang.java
executable file
·77 lines (61 loc) · 3.06 KB
/
check_as400_lang.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//Nagios Plugin to check an IBM AS/400
//
//Developed September 2004
//Last Modified Jul 4 2013
//
//This class is used as a varible structure
//holding language conversions for parsing tokens
//
//Definitions for the ENGLISH language
//
public class check_as400_lang{
//These constants are referenced during parsing so
//that the correct phrases are found.
//This is found at the bottom when you type dspjob (name of a job
//that exists)
public String SELECTION="Selection";
//This is the status of job or sbs when you type dspjob or dspsbsd
public String ACTIVE="ACTIVE";
//This is the "DB Capability" dsplay when you type wrksyssts
public String DB_CAPABILITY="DB capability";
//This is le display for the login screen
public String LOGIN_SCREEN="System . . . . .";
//Run dspmsg and it will display "No messages available" if there are no
//messages
public String NO_MESSAGES_AVAILABLE="No messages available";
public String NO_ENTRIES_EXIST="No entries exist in current version of log";
//The "password has expired"/"password expires" messages are the messages
//you get when you login with an account which has an expired/will expire
//password.
public String PASSWORD_HAS_EXPIRED="Password has expired";
public String PASSWORD_EXPIRES="password expires";
//The "Display Messages" is what you get after logging into an account
//which displays any messages before continuing to the menu.
public String DISPLAY_MESSAGES="Display Messages";
//Run wrkoutq blah* and it will say "(No output queues)"
public String NO_OUTPUT_QUEUES="No output queues";
//If you type dspsbsd blah it will say "...not found..."
public String NOT_FOUND="not found";
//If you type dspjob QINTER, it should complain that there are duplicate
//jobs and print at the bottom of the window "duplicate jobs found"
public String DUPLICATE="Duplicate";
//if you type dspjob blah, it will respond Job //blah not found
//Only put the Job // part.
public String JOB="Job //";
//If try and execute a command that you are not allowed it will say
//"library *LIBL not allowed"
public String LIBRARY_NOT_ALLOWED="library *LIBL not allowed";
//On a login with an expired password we look for "Exit sign-on" on the
//screen before we send the F3 to exit and disconnect.
public String EXIT_SIGNON="Exit sign-on request";
//If you type WRKACTJOB it may respond "No active jobs to display"
//when there is no job like searched for in the sytem
public String NO_JOB_TO_DISPLAY="No active jobs to display";
//Messages needing a reply OR Messages not needing a reply
public String MSG_NEED_REPLY="Messages needing a reply";
public String MSG_NOT_NEED_REPLY="Messages not needing a reply";
//WRKDSKSTS The "Request/Compression/Bottom" message.
public String REQUEST_WORD="Request";
public String DSK_STS_COMPRESSION="Compression";
public String LIST_END="Bottom";
};