49 #include "PlatformDefinitions.h"
53 #define DLLNAME "rexx.dll"
62 if (LoadString(hDll, err_no, str,
BUFFERLEN))
65 printf(
"\nError in service program but no error message found!");
79 for (j=1; j<argc; j++)
81 if (((argv[j][0] ==
'/') || (argv[j][0] ==
'-'))
82 && ((argv[j][1] ==
's') || (argv[j][1] ==
'S'))) silent = j;
88 printf(ptr,
"Tokenizer");
95 if ((argc < 2) || (argc > 4) ||
96 (silent && (argc == 2)) ||
97 (silent && (silent+1 != argc)) ||
98 (!silent && (argc == 4)))
105 if (hDll) FreeLibrary(hDll);
109 strcpy(fn[0], argv[1]);
110 if (argc >= 3) strcpy(fn[1], argv[2]);
112 if ( ((argc>3) || ((argc==3) && !silent)) &&
116 if (hDll) FreeLibrary(hDll);
120 if (hDll) FreeLibrary(hDll);
122 if ((argc == 2) || ((argc==3) && silent) )
char *REXXENTRY RexxGetVersionInformation()
RexxReturnCode REXXENTRY RexxTranslateProgram(const char *inFile, const char *outFile, PRXSYSEXIT exits)
#define Error_REXXC_cmd_parm_incorrect
#define Error_REXXC_SynCheckInfo
#define Error_REXXC_wrongNrArg
#define Error_REXXC_outDifferent
RexxReturnCode REXXENTRY RexxFreeMemory(void *)
void strupr(char *string)
int SysCall main(int argc, char **argv)
void DisplayError(HINSTANCE hDll, int err_no)