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
 
Possible problem with EDIT macro

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
icetigerfan

New User


Joined: 08 Mar 2010
Posts: 11
Location: Nuremberg, Germany

PostPosted: Mon Aug 23, 2010 4:58 pm    Post subject:
Reply with quote

Hi,

in an working Macro I have coded the following lines as first commands

Code:

ADDRESS ISPEXEC "ISREDIT MACRO"           
ADDRESS ISPEXEC "CONTROL ERRORS RETURN"   


the macro is working in the background without opening the dataset in a panel.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Aug 23, 2010 5:19 pm    Post subject:
Reply with quote

icetigerfan wrote:
in an working Macro I have coded the following lines as first commands
Code:

ADDRESS ISPEXEC "ISREDIT MACRO"           
ADDRESS ISPEXEC "CONTROL ERRORS RETURN"   

the macro is working in the background without opening the dataset in a panel.
Is there a question in here. Where is the code to invoke the macro.
Back to top
View user's profile Send private message
icetigerfan

New User


Joined: 08 Mar 2010
Posts: 11
Location: Nuremberg, Germany

PostPosted: Mon Aug 23, 2010 5:39 pm    Post subject:
Reply with quote

The macro is invoked by the following code:
Code:

ADDRESS ISPEXEC "EDIT DATASET('"filename"') MACRO(macroname)"


PS. I don't need any help! I wanted to help the author of the topic, where I first had placed my answer (I've years of experience)
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Aug 23, 2010 5:56 pm    Post subject:
Reply with quote

Oooooops, I apologise for the use of fast fingers and splitting the topic. icon_redface.gif

But, it is Monday icon_cry.gif
Back to top
View user's profile Send private message
devmisra

New User


Joined: 29 Jan 2009
Posts: 39
Location: India

PostPosted: Thu Aug 26, 2010 5:16 pm    Post subject:
Reply with quote

Hi Expat,

Is this topic related to http://ibmmainframes.com/viewtopic.php?t=50848

I tried both but still not working. Please refer to the link i mentioned above
Code:

address ispexec "CONTROL NONDISPL"

&
Code:

ADDRESS ISPEXEC "CONTROL ERRORS RETURN"




Thanks,
Dev
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 26, 2010 5:21 pm    Post subject:
Reply with quote

Yes, it was.
Back to top
View user's profile Send private message
devmisra

New User


Joined: 29 Jan 2009
Posts: 39
Location: India

PostPosted: Thu Aug 26, 2010 5:38 pm    Post subject:
Reply with quote

expat wrote:
Yes, it was.


I have been waiting for the reply since monday and today i found it..... icon_biggrin.gif

Well, i am posting the original req.

When we issue JSCAN on any job, the expanded job is opened in USERID.JLSCRN in Browse mode with error summary.
The above rexx code/macro is also doing the same thing. Its executing the JSCAN and opens the expanded jcl.

But i want to issue the JSCAN and don't want JSCAN to open that dataset. Rather , i would want to do like thos.

1. Execute JSCAN thru rexx
2. Copy expanded jcl to another dataset which is available from JSCAN but not opened.
3. Open that copied dataset( USERID.JOBNAME.SYSTEM.JLSCRN) in Browse mode.

Reason is, My team usually work on 2 systems.By doing this we can JSCAN more than one job in different systems.

Please give some idea so that i can try from my side.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Aug 26, 2010 5:51 pm    Post subject:
Reply with quote

Then you will need to analyse the code for JSCAN.

It is likely that the REXX code will probably call a program - where you will not be able to view or amend the source code. Or, if everything is performed in the REXX code then create a copy and change it as required.
Back to top
View user's profile Send private message
devmisra

New User


Joined: 29 Jan 2009
Posts: 39
Location: India

PostPosted: Thu Sep 02, 2010 7:38 pm    Post subject:
Reply with quote

Thank you Expat.
Cant read JSCAN source code. icon_sad.gif
Well, any other way can we go for it?
I used
Code:

address ispexec "CONTROL NONDISPL END"

Due to this END , the JSCANned dataset gets closed and also gets deleted(when you PF3 on jscanned dataset USERID.JLSCRN gets deleted). Is there any way to make other Panel active?

say. I have opened a jcl. Issued JSCAN. Jscan opend the USERID.JLSCRN and its active now. Is there any way to make my opend JCL active?
Back to top
View user's profile Send private message
devmisra

New User


Joined: 29 Jan 2009
Posts: 39
Location: India

PostPosted: Thu Sep 02, 2010 7:51 pm    Post subject:
Reply with quote

to reply to my prev post...

After issuing JSCAN , i get the JSCANned dataset USERID.JLSCRN. then I press ENTER,it will copy USERID.JLSCRN to another dataset USERID.JLSCRN.JOBNAME and then USERID.JLSCRN will be closed and USERID.JLSCRN.JOBNAME will be opend.

Please suggest on this..
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm

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