Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us