View previous topic :: View next topic
|
Author |
Message |
sandabis
New User
Joined: 03 Jun 2007 Posts: 7 Location: India
|
|
|
|
Hi all
Normally when we do JSCAN on a job, the expanded job is opened in view mode. I want to write the outout of jobscan to a dataset. I have tried this using REXX (after invoking a macro, giving ISPF command jscan and outtrapping it), but it is not working.
How can i do this ? |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
From view mode can you use CREATE to copy the data to a dataset?
If the messages are not part of the data, try using MD9999 line command to turn the message lines into data lines.
Or is there a batch method to JSCAN? |
|
Back to top |
|
|
sandabis
New User
Joined: 03 Jun 2007 Posts: 7 Location: India
|
|
|
|
How to go to first line and type MD9999 from rexx module?. Also when i do jscan, it does not show any line nos :( |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Quote: |
Normally when we do JSCAN on a job, the expanded job is opened in view mode. |
I think it's not normal, at my shop it comes in BROWSEd mode.
For this
Quote: |
How to go to first line and type MD9999 from rexx module? |
You can try using "CUT" at command prompt. |
|
Back to top |
|
|
yogeshpawar
New User
Joined: 01 Mar 2006 Posts: 37 Location: Sussex-UK
|
|
|
|
Hi,
I am also not able to convert message into data to copy.
Can you please explain more about MD command suggested above and how can I copy the message & data in different dataset? |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
For an example:
-select an empty PDS member in EDIT or VIEW
-enter MODEL on the command line
-select 6 - PANEL from the menu
-select S12 - VGET from the next menu
-see the inserted lines flagged as =NOTE=
-enter MD9999 over the first =NOTE=
-see the note lines turned into data lines to save, copy, etc. I was hoping the JSCAN msg lines could be turned into data in this manner. |
|
Back to top |
|
|
yogeshpawar
New User
Joined: 01 Mar 2006 Posts: 37 Location: Sussex-UK
|
|
|
|
Thanks. It works for NOTE. The only thing I had to do was to have one more copy of the original JCL as the scan messages got saved in the existing member. |
|
Back to top |
|
|
|