LMINIT is not being recognized



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Re: LMINIT is not being recognized

Postby Stefan » Thu Feb 07, 2013 1:56 pm

Looking at your error message
ISPF service call not allowed during exit invocation
it seems that your REXX code runs imbedded in an ISPF panel.

If this is the case, be aware of the fact that you are not allowed to use ISPF services within REXX code imbedded in an ISPF panel.

[Edited] I've posted my answer before reading page 2 of the post where the problem has already been solved by Pedro and explained by Akatsukami.
Hope you don't mind. ;)
There are 10 types of people in the world: Those who understand binary, and those who don't.
User avatar
Stefan
 
Posts: 27
Joined: Tue Aug 21, 2012 3:02 pm
Has thanked: 0 time
Been thanked: 2 times

Re: LMINIT is not being recognized

Postby nikesh_rai » Thu Feb 07, 2013 2:54 pm

Thanks Stefan, Pedro, Akatsukami and Enrico,

I understood where is the problem with my code. I used the REXX to be called from a panel and it is creating the problem. however I have checked with what Pedro and Akatsukami told me ( calling Panel from REXX, end the panel, then call REXX for copying PDS member ) and its working fine. but what so ever, my requirement was copying a single PDS member to another PDS with the same name each time and SMCOPY is working fine for it.
Thanks
Nikesh Rai
nikesh_rai
 
Posts: 205
Joined: Tue Oct 18, 2011 1:27 am
Has thanked: 17 times
Been thanked: 0 time

Re: LMINIT is not being recognized

Postby enrico-sorichetti » Thu Feb 07, 2013 3:22 pm

SMCOPY is working fine for it.
still using SMCOPY is a bad practice

but if You are happy we are happy, or better we do not care... GOOD LUCK
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: 3003
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: LMINIT is not being recognized

Postby Pedro » Thu Feb 07, 2013 9:56 pm

still using SMCOPY is a bad practice


You can also call IEBCOPY from rexx.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: LMINIT is not being recognized

Postby prino » Thu Feb 07, 2013 10:06 pm

This thread seems to be well past its "sell-by" date...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

Previous

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post