rexx program to load module



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

rexx program to load module

Postby jaggz » Mon Jan 17, 2011 12:00 pm

Hi,

I had an objective of converting a rexx program to a load module. The below JCL yielded SOC4 error, though all the parameters were correct.

000100 //xxxxxxx$ JOB MSGCLASS=X,MSGLEVEL=(1,1),CLASS=B,
000200 // REGION=5M,NOTIFY=&SYSUID,TIME=1
000300 //*JOBPARM LINES=999999,PAGES=999999
000400 //*
000500 //*---------------------------------------------*
000600 //* BATCH JCL TO SUBMIT THE REXX TOOL
000700 //*---------------------------------------------*
000800 //RUNREXX EXEC PGM=IKJEFT1B,DYNAMNBR=30,PARM=TOOLNAME
000900 //STEPLIB DD DSN=YOUR.PDS.WHERELOAD,DISP=SHR
001000 //SYSTSPRT DD SYSOUT=*
001100 //SYSPRINT DD SYSOUT=*
001200 //SYSOUT DD SYSOUT=*
001300 //RPTFILE DD SYSOUT=*
001400 //SYSTSIN DD DUMMY
001500 /*

Please guide me incase if i have gone wrong. Due to Confidentiality i have changed some names in the JCL.

Thanks in advance for your assistance.
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 4 times

Re: rexx program to load module

 

Re: rexx program to load module

Postby dick scherrer » Mon Jan 17, 2011 12:03 pm

Hello,

How did you intend to convert this rexx code to a load module?

You haven't shown anythning. . .

Possibly i misunderstand. . . :?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: rexx program to load module

Postby jaggz » Mon Jan 17, 2011 12:39 pm

Here Just I have used a JCL to convert a rexx programs to a load moduile which is stored in a PDS. Here in shop we have some home grown tools written in REXX and CLIST. Now we have intended to sell this tools in load module format rather than giving them as a source code. Please share your idea.
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 4 times

Re: rexx program to load module

Postby enrico-sorichetti » Mon Jan 17, 2011 1:23 pm

Now we have intended to sell this tools in load module format rather than giving them as a source code.


It would be worth for Your organization to revisit the intent,
when You sell software You MUST also provide support using inside skills

starting a software company asking on a forum how to debug an issue is just the worst way to do it...

when a customer reports a problem what are You going to do ...
tel them to wait a minute so that You can ask on a forum how to solve it :? :evil:

and anyway You just whined that something got an abend, nothing more!
what do You want us to do with the nothing you have provided

my idea is that Your organization should refrain from the intent until it has acquired the proper inside skills

anyway the process on how to build a REXX compiled <thing>
is clearly described in the REXX compiler manuals!
and if You follow properly the process everything should work as planned/described

now back to Your issue...
check line 8 of Your rexx script
the 3rd dd statement of Your compilation procedure
turn off the air conditioning
install a trap under Your desk so that the rats will stop chewing Your cables
clean the screen to see better what is going on
fix all the issues between the chair and the keyboard
...
zillions of other technically correct but useless suggestions
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: rexx program to load module

Postby stevexff » Mon Jan 17, 2011 7:29 pm

At the risk of adding to the flames, can you post the name of the proposed product? We periodically go through a process where our'world-class, best of breed' (i.e. cheapest) support tools are 'evaluated' by our bean counters; I want to know what to avoid in future... :(
Steve
stevexff
 
Posts: 56
Joined: Wed Nov 10, 2010 7:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: rexx program to load module

Postby enrico-sorichetti » Mon Jan 17, 2011 8:38 pm

Naah :D You are not adding anything

around these forum, the most common reason(s) for flaming are ...

I did something, I got an abend, tell me what to do
(without any reasonable additional info)

followed by ... I got <this> <message> what should I do?

this topic does not escape the rules

cheers
enrico
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: rexx program to load module

Postby NicC » Tue Jan 18, 2011 12:51 am

As far as I can see (I only did a quick Google on IKJEFT1B) IKJEFT1B is for executing Rexx code, not load modules. You execute a load module created from Rexx code the same way as you execute any other load module - EXEC PGM=loadmodulename
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: rexx program to load module

Postby jaggz » Tue Jan 18, 2011 9:04 am

stevexff/NicC/Dick,

I understand the way I have posted was not that descriptive. Apology for the inconvenience. Much Appreciated for your matured approach in making me realize the mistake.

Thanks again for your response.
User avatar
jaggz
 
Posts: 356
Joined: Fri Jul 23, 2010 8:51 pm
Has thanked: 8 times
Been thanked: 4 times

Re: rexx program to load module

Postby stevexff » Tue Jan 18, 2011 1:11 pm

NicC

IKJEFT1B is roughly the same as IKJEFT01, with the exception that the RC from the last command gets returned as the step return code. So if you run (say) a REXX procedure and exit 16 due to an error, you can make subsequent JCL steps conditional on the RC and/or have it detected by the scheduling software.

IKJEFT01 handles the error, and always gives RC=0, so you can't tell if the REXX worked or not.
Steve
stevexff
 
Posts: 56
Joined: Wed Nov 10, 2010 7:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: rexx program to load module

Postby NicC » Wed Jan 19, 2011 2:05 am

Yeah, I know. I only posted what was relevant to the original post.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Next

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post