IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

call MACRO JSCAN but dont open the scanned dataset


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Aug 23, 2010 3:58 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Calling an Open C library function in... CICS 1
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top