IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CEXEC not able to execute if no SLINE compiler option


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
boyti ko

New User


Joined: 03 Nov 2014
Posts: 78
Location: Malaysia

PostPosted: Wed Apr 13, 2016 4:31 pm
Reply with quote

Hi,

I have executed this successfully. (rc 0)

Code:
//S1 EXEC REXXC,COMPDSN=SYS1.REXX.SFANLMD               
//REXX.SYSCEXEC DD DISP=SHR,DSN=XXXX.XXXXXXX.CEXEC(HELLO)
//REXX.SYSIN    DD DISP=SHR,DSN=XXXX.XXXXXXX.EXEC(HELLO)


But when I tried to execute the CEXEC, it will prompt an error:

Code:
Error 3 running compiled HELLO, line 0: Program is unreadable
The program cannot run with the Alternate Library           
***                                                         


I add the compiler option for ALT and SLINE for the error above.

Code:
//S1 EXEC REXXC,COMPDSN=SYS1.REXX.SFANLMD,
//        OPTIONS='ALT SLINE'               
//REXX.SYSCEXEC DD DISP=SHR,DSN=XXXX.XXXXXXX.CEXEC(HELLO)
//REXX.SYSIN    DD DISP=SHR,DSN=XXXX.XXXXXXX.EXEC(HELLO)


It will now manage to execute the CEXEC.

Code:
HELLO WORLD!
***         


But since I have used the compiler option SLINE, the source code is inside the CEXEC. Can help to clarify what I'm missing if the SLINE is omitted.

Here's a part of the CEXEC:
Code:

å..ÐEXECPROCEAGRTPRC Compiled REXX   3.0   13 Apr 2016 18:50:28 MVS REXXC370 3.4
8 23 Dec 1999 LVL PQ68381 XXXX.XXXXXXX.EXEC(HELLO)                             
    ... ...Ù°.}..¬ì^&u.§j.^.å.&Ö.. .&.jØ.²å.&Q.­....å0&S 0..i0...ö.õì0&yå}é..ÃjØ
.²åØé. .é. ...i......Âh-.. ....Âì0{.á\0..& ....Âåø&. .&...q.}..ÚØ...............
...Y...........°...&...-...h.......8........... ...............ø.......D.......ø
...@...h...m...µ...Ð...½.......&.......D... ...Y...4...<...ø...ü...µ...ì...À...½
...}...@...........H..............".Ø...µ.......... ... ...°...}.......}...â....
...Ì...°.......µ.......H.......Y... ....................... ...Ç.......Ç.......Ç
...........K.......&.......y...&...8...&...ç...&...q...&      /* REXX           
                  */                                          /* THIS PROGRAM SA
YS "HELLO WORLD!" */                                          ADDRESS ISREDIT 'M
ACRO'                                                         SAY "HELLO WORLD!"
                                                        ........................
................................................................................
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 471
Location: Denmark

PostPosted: Thu Apr 14, 2016 12:00 am
Reply with quote

try
Code:
STUB=MULTI
Back to top
View user's profile Send private message
boyti ko

New User


Joined: 03 Nov 2014
Posts: 78
Location: Malaysia

PostPosted: Thu Apr 14, 2016 11:23 am
Reply with quote

Thank you so much Willy.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts RMNAME option in HDAM IMS DB/DC 4
No new posts Execute step regardless of previous s... JCL & VSAM 2
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts Need to open a DSN using REXX & e... CLIST & REXX 10
No new posts Execute Partially Edited Rexx Exec fr... CLIST & REXX 14
Search our Forums:

Back to Top