Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
PostPosted: Wed May 07, 2008 9:32 pm    Post subject: Re: jobscan output to a dataset Reply with quote

Bill Dennis

Active User


Joined: 17 Aug 2007
Posts: 93
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 D.

Senior Member


Joined: 22 Apr 2006
Posts: 1123
Location: Phoenix,AZ

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: 14
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 User


Joined: 17 Aug 2007
Posts: 93
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: 14
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1