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

jobscan output to a dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sandabis

New User


Joined: 03 Jun 2007
Posts: 7
Location: India

PostPosted: Wed May 07, 2008 9:32 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed May 07, 2008 9:54 pm
Reply with quote

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
View user's profile Send private message
sandabis

New User


Joined: 03 Jun 2007
Posts: 7
Location: India

PostPosted: Wed May 07, 2008 10:04 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu May 08, 2008 6:17 am
Reply with quote

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
View user's profile Send private message
yogeshpawar

New User


Joined: 01 Mar 2006
Posts: 37
Location: Sussex-UK

PostPosted: Thu May 08, 2008 9:09 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu May 08, 2008 11:20 pm
Reply with quote

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
View user's profile Send private message
yogeshpawar

New User


Joined: 01 Mar 2006
Posts: 37
Location: Sussex-UK

PostPosted: Fri May 09, 2008 6:01 pm
Reply with quote

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
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
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 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