MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Download JSCAN
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Rahull
Beginner


Joined: 29 Jan 2004
Posts: 62
Topics: 19

PostPosted: Wed May 26, 2004 3:41 am    Post subject: Download JSCAN Reply with quote

Hi,

At the time of JEM how should I save the expanded JCL/PROC in file?

Becase after JEM when I try to cut and paste it include only the original JCL

Thanks
Rahul
Back to top
View user's profile Send private message
Brian
Beginner


Joined: 12 Aug 2003
Posts: 95
Topics: 6

PostPosted: Wed May 26, 2004 4:52 am    Post subject: Reply with quote

Rahull,

You can control the amount of messages written along with the job using the MSGLEVEL parameter on the jobcard.

Cheers
Brian
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12366
Topics: 75
Location: San Jose

PostPosted: Wed May 26, 2004 5:40 am    Post subject: Reply with quote

Rahull,

You can run JEM in Batch. I don't remember the JCL on top of my head but the pgm is J02YJS. The manual had an example of the batch JCl. If you cannot find the documentation then ravi's idea is a better choice

Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Mon Dec 13, 2004 12:25 am    Post subject: XDC option ????? Reply with quote

Hi,
Quote:
XDC option ??????


would u pls explain a little bit on this.
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Dec 13, 2004 1:11 am    Post subject: Reply with quote

vak255,

XDC is used to copy your spool messages to a dataset. For example if you want to copy the SYSOUT messages of a SORT routine. Go to the JOBLOG in your SPOOL. Issue a '?' to list the SYSOUT & other JES messages. Tab to the SYSOUT DD and and issue the command XDC as shown below.

Code:

SDSF JOB DATA SET DISPLAY - JOB TSOXXXX0 (JOB04388)     DATA SET DISPLAYED     
COMMAND INPUT ===>                                               SCROLL ===> CSR 
NP      DDNAME   StepName ProcStep DSID Owner    C Dest               Rec-Cnt    Page
        JESMSGLG JES2                 2 TSOXXXX  X LOCAL                   17     
        JESJCL   JES2                 3 TSOXXXX  X LOCAL                   14     
        JESYSMSG JES2                 4 TSOXXXX  X LOCAL                   49     
XDC     SYSOUT   R010               103 TSOXXXX  X LOCAL                   56     
        SORTOUT  R010               104 TSOXXXX  X LOCAL                    3     


It will then prompt you to enter a dataset name in which you want to store the SYSOUT information. Provide the dataset name & DCB information and press enter !.

Code:

                                SDSF Open Print Data Set                           
    COMMAND INPUT ===>                                               SCROLL ===> CSR 
                                                                                   
                                                                                   
    Data set name     ===>    'T.MYJOB.OUTPUT'                               
    Member to use     ===>                                                                 
    Disposition       ===>    NEW           (OLD, NEW, SHR, MOD)                           
                                                                                   
    If the data set is to be created, specify the following.                       
    Volume serial will be used to locate existing data sets if specified.         
                                                                                   
    Management class        ===>    CTSPDS   (Blank for default management class)       
    Storage class           ===>    CTSDASD  (Blank for default storage class)         
      Volume serial         ===>             (Blank for authorized default volume)     *   
      Device type           ===>             (Generic unit or device address)          *   
    Data class              ===>    CTSPDS   (Blank for default data class)             
      Space units           ===>    TRKS     (BLKS, TRKS, CYLS, BY, KB, or MB)         
      Primary quantity      ===>    20       (In above units)                           
      Secondary quantity    ===>    10       (In above units)                           
      Directory blocks      ===>             (Zero for sequential data set)             
      Record format         ===>    FBA                                                    
      Record length         ===>                                                            
      Block size            ===>                                                           
      * Only one of these fields may be specified                                 


Hope this helps,

Thanks,
Phantom
Back to top
View user's profile Send private message
dojeb
Beginner


Joined: 14 Jan 2003
Posts: 13
Topics: 0
Location: Morgan Hill, CA,USA

PostPosted: Mon Dec 20, 2004 4:20 pm    Post subject: JOB/SCAN Reply with quote

HI Rahull

Please contact us (Diversified Software) 800/273-3774 for any and all queries on JEM, JSCAN, JREF, JCHG Edit Macors as well as using the Panels and Pure Batch
Back to top
View user's profile Send private message Visit poster's website
Rahull
Beginner


Joined: 29 Jan 2004
Posts: 62
Topics: 19

PostPosted: Tue Jan 25, 2005 5:17 am    Post subject: Reply with quote

Hi,

Please suggest me for the below query:

Our JCLs are having procs only and procs use only symbolic parameter.

Now I have to create a PDS which will have all the expanded JCLs ???

Its not already present in my system.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12366
Topics: 75
Location: San Jose

PostPosted: Tue Jan 25, 2005 6:41 am    Post subject: Reply with quote

Rahull,

Run the JSCAN/JEM in batch mode and code the output to be a pds member.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rahull
Beginner


Joined: 29 Jan 2004
Posts: 62
Topics: 19

PostPosted: Tue Jan 25, 2005 7:17 am    Post subject: Reply with quote

Hi Kolusu,

Thanks for the prompt reply.

So you mean to say that I have to use "TYPRUN=SCAN" for each JCL. But its a list of 4000 JCL. I will go mad doing each individually.

Can you paste JCL code for the above requirement of mine?

Thanks in Advance.

Rahul
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12366
Topics: 75
Location: San Jose

PostPosted: Tue Jan 25, 2005 8:31 am    Post subject: Reply with quote

Quote:

So you mean to say that I have to use "TYPRUN=SCAN" for each JCL. But its a list of 4000 JCL. I will go mad doing each individually.

Rahull,

I meant to run JEM/JSCAN in batch mode, not submit jobs manually.

The batch JCL for JEM/JSCAN at my shop may differ from yours. So check with your co-workers/systems people of right JCL

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dojeb
Beginner


Joined: 14 Jan 2003
Posts: 13
Topics: 0
Location: Morgan Hill, CA,USA

PostPosted: Tue Jan 25, 2005 11:30 am    Post subject: Reply with quote

HI Rahull

In the JOB/SCAN SAMPLIB library there is a batch job you can run called JSMVS. You can set the output to go to a PDS library. For every job that you process, each job with be written out with their expanded Proc and resolved symbolics.
Back to top
View user's profile Send private message Visit poster's website
Rahull
Beginner


Joined: 29 Jan 2004
Posts: 62
Topics: 19

PostPosted: Thu Jan 27, 2005 12:34 am    Post subject: Reply with quote

Hi Dojeb,

I don't know much about JOB/SCAN SAMPLIB. Are you talking about JS option at ISPF Screen. I tried that also...but i am not able to direct each expanded job to PDS.

Please advice me and if possible give me steps to do the above.

Thanks in advance
Rahul
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12366
Topics: 75
Location: San Jose

PostPosted: Thu Jan 27, 2005 8:50 am    Post subject: Reply with quote

Quote:

I don't know much about JOB/SCAN SAMPLIB. Are you talking about JS option at ISPF Screen. I tried that also...but i am not able to direct each expanded job to PDS.


Rahull,

You are invoking CLIST for performing the JSCAN by typing the command JS. Now try to look at the source of JS which will give some info about the JSCAN libraries.

Why don't you talk to your systems personnel about the batch JCL.

Hope this helps...

Cheers

kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dojeb
Beginner


Joined: 14 Jan 2003
Posts: 13
Topics: 0
Location: Morgan Hill, CA,USA

PostPosted: Thu Jan 27, 2005 10:52 am    Post subject: Reply with quote

HI Rahull

Please call me at 800/273-3774

Doug Berg
Back to top
View user's profile Send private message Visit poster's website
Sreejith
Intermediate


Joined: 02 Dec 2002
Posts: 155
Topics: 25
Location: N.Ireland

PostPosted: Tue Feb 01, 2005 12:40 pm    Post subject: Reply with quote

You can use the MD line command. Make sure not to overwrite your original JCL.

Code:

The MD (Make Dataline) command converts temporary lines to data lines     
for one line, several lines, or a block of lines.  The command syntax     
is:                                                                       
                                                                         
         MD               Convert a line                                 
         MDn              Convert 'n' lines                               
         MDD   or  MDMD   Convert a block of lines                       
                                                                         
To convert one line, type "MD" in the line command area of the line       
to be converted.  To convert more than one line, type "MDn", where       
"n" is the number of lines to be converted.  To convert a block of       
lines, type "MDD" or "MDMD", cursor or scroll to another line, and       
type "MDD" or "MDMD" again.  In each case, the temporary line or         
lines is converted into data lines when you press the ENTER key.         
                                                                         


Sreejith
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group