Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
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
 
call MACRO JSCAN but dont open the scanned dataset

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

New User


Joined: 29 Jan 2009
Posts: 39
Location: India

PostPosted: Mon Aug 23, 2010 3:33 pm    Post subject: call MACRO JSCAN but dont open the scanned dataset
Reply with quote

Hi All,
Under a MACRO "MJS" i coded,
Code:

ADDRESS ISREDIT 'MACRO PROCESS' 
"ISREDIT JSCAN"                 
"ISREDIT CANCEL"     

and calling the above macro in
Code:

dsin=mydataset
ADDRESS ISPEXEC                     
"EDIT DATASET('"DSIN"') MACRO(MJS)" 


JSCAN keeps the scanned jcl in USERID.JLSCRN and opens the dataset in Browse mode.

Is it possible that JSCAN will scan the job but wont open the dataset USERID.JLSCRN ?
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 3:58 pm    Post subject:
Reply with quote

Have you used TRACE
Have you checked the RC
Back to top
View user's profile Send private message
devmisra

New User


Joined: 29 Jan 2009
Posts: 39
Location: India

PostPosted: Tue Aug 24, 2010 10:24 am    Post subject:
Reply with quote

sorry for late reply, i was stuck in some production work...

Well, I checked RC but not TRACE and RC is throwing 4.

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. icon_smile.gif
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 Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts ISREDIT MACRO NOT WORKING! :cry: kirank889 TSO/ISPF 3 Thu Aug 03, 2017 5:46 pm

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us