GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Mainframe  >  JCL
Go To First  |  Previous Question  |  Next Question 
 JCL  |  Question 68 of 126    Print  
What is the different types of sort in JCL and What is the intrensic function of COBOL

  
Total Answers and Comments: 1 Last Update: April 19, 2007     Asked by: RAkesh Gedam 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 19, 2007 05:53:57   #1  
swati        

RE: What is the different types of sort in JCL and Wha...
There are two types of SORT, one is DFSORT and other is SYNCSORT . The basic cmds in both the products are same.
ICETOOL provides a lot more than what SORT can offer and it comes with DFSORT product. SYNCTOOL comes with SYNCSORT product.

PGM=SORT can point to DFSORT.
DFSORT is an IBM product & needs SORTIN(input dataset), SORTOUT(output Dataset), SYSIN( control card) and SYSOUT ( Message dataset).

Options available with DFSORT are:
SORT FIELD = (Strarting Position, Length, Type, ASC/DESC)
Type can be - Ch,Bi(Binary), ZD,PD,FS

We can user COND, OMIT, INREC ,OUTREC, SKIPREC, STOPAFT.

SUM FIELDS=NONE avoids the duplicates.

Hope you are satisfied with this.
Thanks

 
Is this answer useful? Yes | No

 Related Questions

Data definition name is the eight character designation after the // of the DD statement. It matches the internal name specified in the steps executing program. In COBOL that's the name specified 
Latest Answer : The DD name is the logical 8 characters file name which alllows the pplication program to identify or tag the dataset.Whereas the DSN is the physical file name used by the MVS to identify the dataset.like in any application program we can write ...in ...

What does a sysin in ICEMAN utility do? what does Sort fields=copy coded in the sysin mean?SCBSM10E EXEC PGM=ICEMAN //SYSOUT DD SYSOUT=V //SORTLIB DD DSN=SORT.SORTLIB,DISP=SHR //SORTIN DD DSN=&&CB10AWDS,DISP= (OLD,DELETE) //SORTOUT DD DSN=&&CB10ASRT,DISP= (,PASS),SPACE=(CYL,(2,1),RLSE), // UNIT=TEMP,DCB= (RECFM=FB,LRECL=90,BLKSIZE=0)//SORTWK01 DD UNIT=TEMP,SPACE= (CYL,3,,CONTIG) //SORTWK02 DD UNIT=TEMP,SPACE= (CYL,3,,CONTIG) //SORTWK03 DD UNIT=TEMP,SPACE= (CYL
Read Answers (2) | Asked by : Lavanya

Latest Answer : There are two types of SORT, one is DFSORT and other is SYNCSORT . The basic cmds in both the products are same.ICETOOL provides a lot more than what SORT can offer and it comes with DFSORT product. SYNCTOOL comes with SYNCSORT product.PGM=SORT can point ...
Read Answers (1) | Asked by : RAkesh Gedam

What is the basic programme logic in JCl that will help to compile most of COBOL programmes in Z/OS?
Read Answers (1) | Asked by : Ankur Kar

Latest Answer : If you have written in PS data set then using SORT utility you can sort the column either date or month or year.Thanks. ...
Read Answers (1) | Asked by : sathya

Latest Answer : Sort cards is a generic term used for DD card that we give for a DFSORT.i.e SORT FIELDS=COPYSUM FIELDS=NONEcan be called as a sort card to remove duplicatesSORT FIELDS=(1,4,CH.A) can be called as a sort card to sort the field which starts at 1st bye of ...
Read Answers (1) | Asked by : satheesh

Can we copy the data of two input files to two output files using SORT utility with the data as 'SORT FIELDS=COPY' in the same step? 
Latest Answer : No we cannot copy two input files to two output files using sort utility in one step.The job will not abend,but the second output dataset will be empty.below is the jcl...//xyz07t  JOB (SSY295),'MN',NOTIFY=SSY297,                   ...
Read Answers (1) | Asked by : KRISHNA PRIYA

What is the SORT CARD pertaining to the following statements:SD SORT-FILE.01 SORT REC. 05 NAME PIC X(10). 05 FILLER PIC X(45). 05 DEPIT PIC X(15). 05 AGE PIC 9(3). 05 SALARY PIC 9(6)V99 
Latest Answer : Sort Fields=(1,10,CH,A,74,5,PD,A,71,3,ZD,D) ...


 Sponsored Links

 
Related Articles

jQuery - Sorting Other Types of Data

Learning jQuery Sorting Other Types of Data Our sort routine should be able to handle not just the Title and Author columns but the Publish Dates and Price as well Since we streamlined our comparator function it can handle all kinds of data but the computed keys will need to be adjusted for other da
 

jQuery - Finessing the Sort Key

Learning jQuery Finessing the Sort Keys Now we want to apply the same kind of sorting behavior to the Author s column of our table By adding the sort alpha class to its table header cell the Author s column can be sorted with our existing code But ideally authors should be sorted by last name not fi
 

EDI Document Types

EDI Document Types EDI documents come in various forms each of which can appear differently depending on the company’ s internal computer system Also while each standard has code specificity each order may look very different a clothes company will send details of color and sizes while a f
 

Listening Skills - Types of Bad Listeners

Types of Bad Listeners What are the main types of bad listeners You might find in your work environment that some individuals are simply not very good at listening This can create a myriad of problems and make the performance of the most mundane day to day tasks nearly impossible to accomplish mosgo
 

C++ Pure Virtual Function and Base Class

C Pure Virtual Function and Virtual Base Class In this C tutorial you will learn about pure virtual function declaration of pure virtual function and virtual base class virtual base class and how to implement a virtual base class explained with examples mosgoogle center What is Pure Virtual Function
 

C++ Function Passing Types

C Function Passing Types In this C tutorial you will learn about function passing types two types of arguments passing in functions passed by value  and  passed by reference are discussed here mosgoogle center The arguments passed to a function can be performed in two ways Passed
 

What is DECODE function used for?

DECODE is used to decode a CHAR or VARCHAR2 or NUMBER into any of several different character strings or numbers based on value. That is DECODE does a value-by-value substitution. For every value that is given in the DECODE function it makes an if then check and matches the value. The general format
 

printf() Function Return Value

What is the return value from printf() function? printf function always returns the number of characters printed. Let us understand this with an example: main() { int a=10; printf("%d",printf("%d %d %d", a,a,a)); } In this above program the inner printf i
 

How is the main() function declared?

The declaration of main can be done as int main() One more declaration that can be taken by main is command line arguments form int main(int argc, char *argv[]) or this can also be written as int main(argc, argv) int argc; char *argv[]; NOTE: It is not possible for one to declare the main
 

How does the function call within function get evaluated?

Whenever we have more than one function which is called for a finite number of times then such a function gets evaluated from inside out. Let us understand this concept with an example. For instance consider a function sample called within it 4 times as given in program below: main() { int a=50;
 

Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape