Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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

Active User


Joined: 01 Sep 2015
Posts: 228
Location: Denmark

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 Translator Option SP? John Poulakos CICS 3 Sat Oct 13, 2018 12:59 am
No new posts Can we execute JES2 Commands in JES3? sakthikumarT JCL & VSAM 4 Tue Oct 02, 2018 11:55 pm
No new posts U0437 to execute IMS DC program Vkp321 IMS DB/DC 6 Wed Sep 19, 2018 8:39 pm
No new posts Pre-Compiler Bug with DSNH520I message? John Poulakos DB2 1 Thu Aug 09, 2018 9:00 pm
No new posts VALIDATE option in BIND jcl Poha Eater DB2 2 Mon Feb 26, 2018 7:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us