calling rexx from cobol using IKJTSOEV utility



IBM's Command List programming language & Restructured Extended Executor

calling rexx from cobol using IKJTSOEV utility

Postby Sivapradeep » Fri May 04, 2012 1:33 pm

Hi,
i called a rexx program from cobol using IRXJCL and IKJTSOEV utility and submitted JCL for this Cobol program.
In my REXX i wrote few ALLOC and a REPRO. ALLOC is working but im getting error for REPRO. below is a snapshot of ther error.
IKJ56652I You attempted to run an authorized command or program.  This is not supported under the Dynamic TSO Environment.
    37 *-* "REPRO IFILE(INF) OFILE(TREPORT)"                                   
       +++ RC(-3) +++                                                         
IKJ79204I You attempted to run an unsupported function in a dynamic TSO Environment.


Can anyone tell me what might be the problem for REPRO ?

here is part of my code snapshot that has REPRO

                                                                   
 /* COPYING DATA INTO DYNAMIC PS FROM VSAM USING REPRO  */             
      INPUT  = 'XXXX.JUN11LC.KSDS'                                                                 
   "ALLOC DA("INPUT") DD(INF) SHR"                                     
                                                                       
     "ALLOCATE DSN('XXXX.TOOLS.PS') RECFM(F B) DSORG(PS) TR LRECL(80)
     BLK(800) SP(5 5) MOD "                                             
                       
  "ALLOC DA('XXXX.TOOLS.PS') DD(TREPORT) SHR"                       
   SAY RC                                                               
   "REPRO IFILE(INF) OFILE(TREPORT)"       
Sivapradeep
 
Posts: 35
Joined: Mon Mar 26, 2012 2:09 pm
Has thanked: 1 time
Been thanked: 1 time

Re: calling rexx from cobol using IKJTSOEV utility

Postby NicC » Fri May 04, 2012 3:56 pm

"You attempted to run an authorized command or program. This is not supported under the Dynamic TSO Environment."

You are not allowed to do what you are trying. Is the message not clear?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: calling rexx from cobol using IKJTSOEV utility

Postby Sivapradeep » Fri May 04, 2012 4:03 pm

but i want to execute the REPRO. how to do it ?
Sivapradeep
 
Posts: 35
Joined: Mon Mar 26, 2012 2:09 pm
Has thanked: 1 time
Been thanked: 1 time

Re: calling rexx from cobol using IKJTSOEV utility

Postby NicC » Fri May 04, 2012 4:08 pm

Invoke the program that REPRO actually belongs to - IDCAMS
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post