Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - The fastest algorithm can frequently be replaced by one that is almost as fast and much easier to understand.

Google
 
Web mainframegurukul.com

Welcome to the mainframegurukul forums.

You are currently viewing our mainframe forums as a guest which gives you limited access to view most discussions, articles. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support at admin@mainframegurukul.com


Hi every one

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL
  View previous topic :: View next topic  
Author Message
murali gummadi
Member


Joined: 11 May 2006
Posts: 5

PostPosted: Thu May 11, 2006 5:49 pm    Post subject: Hi every one Reply with quote

Hi every one,
I am happy to join with this family,and plz welcome me.

1.Can any one please give me codefor

"how do we include Header and Taylor in sort command?


2.How can i get the data from tape dataset?

3.what is exact difference b/w SYSLIB And JCLLIB?

4.I Have 10 files in a step and every time when i need to run this job i want to see 9,10 files out put first?how can code the jcl for thais?remember that every file excution depends on the previous file excution(it means all input files excution must be in order)?

5.I have faced the problem with dead lock,that is if dead lock occures to my program, so i want to know that who was trying to acess the same resources which are requested by me?

plz help me out in this regard

Warm Regards,
Murali gummadi
Back to top
View user's profile Send private message

Frank Yaeger
Moderator


Joined: 18 Feb 2006
Posts: 487
Location: San Jose, CA

PostPosted: Thu May 11, 2006 8:40 pm    Post subject: Reply with quote

Quote:
"how do we include Header and Taylor in sort command?


I think you mean Header and Trailer. You can use DFSORT's OUTFIL statement to include header and trailer records of various types. For example, you can use the HEADER1 parameter to include report header records and the TRAILER1 parameter to include report trailer records. For example:

Code:

    OPTION COPY
    OUTFIL HEADER1=('This is line1 of the report header',/,
       'This is line2 of the report header'),
      TRAILER1=('This is line1 of the report trailer',/,
       'This is line2 of the report trailer')


If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
_________________
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
arrbee
Active Member


Joined: 24 Feb 2006
Posts: 147

PostPosted: Mon May 15, 2006 7:27 am    Post subject: Reply with quote

Quote:

2.How can i get the data from tape dataset?


Get the attributes (RECFM,LRECL etc) of the TAPE DSN. Use IDCAMS REPRO to create a flat file out of it.

Quote:

5.I have faced the problem with dead lock,that is if dead lock occures to my program, so i want to know that who was trying to acess the same resources which are requested by me?


Use the Master job sysout info to find out the job or program causing the contention.
_________________
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
Back to top
View user's profile Send private message Send e-mail
murali gummadi
Member


Joined: 11 May 2006
Posts: 5

PostPosted: Mon May 22, 2006 2:35 pm    Post subject: Reply with quote

Hi,
Thanks arrbee.... for your answer
My problem was solved

Thanks and Regards
Murali
Back to top
View user's profile Send private message
Reshmi Remadevi
Member


Joined: 11 Aug 2006
Posts: 2

PostPosted: Fri Aug 11, 2006 12:53 pm    Post subject: 3.what is exact difference b/w SYSLIB And JCLLIB? Reply with quote

JCLLIB tells the system to look in system-procedure libraries,installation defined libraries as well as private libraries in the order given,

//lib JCLLIB ORDER(lib1,lib2,..)

Private libraries are specified using STEPLIB.It is a DD stmt.

//step1 STEPLIB DD DSN='DSNAME',DISP=SHR

Hope it cleared your doubt.
_________________
With Regards,
Reshmi Remadevi
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL All times are GMT + 5 Hours
Page 1 of 1



 
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

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Welcome to ibmmainframeguru.com / mainframegurukul.com 1 Krishna 5651 Fri Jul 09, 2010 1:30 am
krmohankumar08 View latest post
No new posts pls give me the answers for the following interview quesions 10 abcdef1234 9562 Wed Apr 21, 2010 10:06 am
phanindra View latest post
No new posts give me a code to reverse a COBOL string. 2 mainframe5 6249 Sat Feb 16, 2008 4:14 am
DavidatK View latest post
No new posts pls give me answers these are may help for jobhunters.. 1 abcdef1234 3643 Sat Sep 15, 2007 3:30 am
DavidatK View latest post
No new posts CICs 5 vidhya 6266 Fri Nov 17, 2006 12:13 pm
hari.paramasivam View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB