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
 
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: 8619
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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm

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