Explanation Errors were detected during initialization. Reason code Explanation
X'218' (536) Language Environment initialization was requested for an AMODE 64 application that does not contain a main. Specifically, the CELQMAIN CSECT is not present in the program object or the CELQMAIN CSECT does not point to the main routine (the address of the main is zero). One possible cause is that the user attempted to invoke a DLL or fetchable routine as a main. I tried including CELQMAIN, but the error still occurred. Can an assembler program contain a main? If so, how is it done? Thanks Steve Program source; MAIN CELQPRLG DSASIZE=240,FETCHABLE=NO,PSECT=MAIN#A MAIN ALIAS c'main' CELQCALL __le_condition_token_build,(c_1,c_2,format,severity, x control,facility_ID,i_s_info,cond_token,fc),WORKREG=15 c_1 dc h'3' c_2 dc h'5796' format dc h'1' severity dc h'3' control dc h'1' facility_ID dc c'CEE' i_s_info dc f'0' cond_token dc xl16'0' fc dc xl16'0' CELQEPLG END Assembly options; NODECK,OBJECT,NOTERM,LIST(133),XREF(FULL),OPTABLE(ZS6,NOLIST),FLAG(NOALIGN),ASA,GOFF,NORENT' Bind options; MAP,RENT,DYNAM=DLL,CASE=MIXED,AMODE(64),RMODE(ANY) -- This e-mail message has been scanned and cleared by Google Message Security and the UNICOM Global security systems. This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN