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
 
jobscan output to a dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: jobscan output to a dataset
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    Post subject:
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    Post subject: Reply to: jobscan output to a dataset
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

Senior Member


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

PostPosted: Thu May 08, 2008 6:17 am    Post subject:
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    Post subject: Reply to: jobscan output to a dataset
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    Post subject:
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    Post subject: Reply to: jobscan output to a dataset
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am

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