Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CEXEC not able to execute if no SLINE compiler option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: CEXEC not able to execute if no SLINE compiler option
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

New User


Joined: 01 Sep 2015
Posts: 94
Location: Switzerland

PostPosted: Thu Apr 14, 2016 12:00 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm
No new posts Problem Compiling cobol code with Cob... amitc23 COBOL Programming 2 Wed Aug 24, 2016 1:50 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us