View previous topic :: View next topic
|
Author |
Message |
devmisra
New User
Joined: 29 Jan 2009 Posts: 39 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Have you used TRACE
Have you checked the RC |
|
Back to top |
|
|
devmisra
New User
Joined: 29 Jan 2009 Posts: 39 Location: India
|
|
|
|
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. |
|
Back to top |
|
|
|