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 114 of 125    Print  
Sort Card
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 COMP-3.
05 FILLER PIC X(13).

SORT SORT FILE ON ASCENDING KEY NAME SALARY DESCENDING KEY AGE.

OPTIONS:

a. SORT FIELDS=(1,10,CH,A,774,5,PD,A,71,3,ZD,D)
B. SORT FIELDS=(1,10,CH,A,71,3,PD,D,74,5,ZD,A)
C.SORT FIELDS=(1,10,CH,A,71,3,PD,A,74,5,ZD,D)
D.a. SORT FIELDS=(1,10,CH,A,71,3,ZD,D,74,5,PD,A)
E.NONE



  
Total Answers and Comments: 2 Last Update: July 01, 2008     Asked by: sprabodhini 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: guraddiv
 
The correct answer is 

  a. SORT FIELDS=(1,10,CH,A,74,5,PD,A,71,3,ZD,D)

Above answer was rated as good by the following members:
sprabodhini
May 21, 2008 05:36:10   #1  
guraddiv Member Since: April 2008   Contribution: 17    

RE: Sort Card
The correct answer is 

  a. SORT FIELDS=(1,10,CH,A,74,5,PD,A,71,3,ZD,D)

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
July 01, 2008 14:54:51   #2  
rajkumarp2008 Member Since: June 2008   Contribution: 0    

RE: Sort Card
Sort Fields=(1,10,CH,A,74,5,PD,A,71,3,ZD,D)
 
Is this answer useful? Yes | No

 Related Questions

REGION specifies the maximum CPU memory allocated for a particular job or job step. If REGION is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the job step.  
Latest Answer : region is the keyword parameter used in job and exec statements annd it is for storage purpose region=2096128k default ...

TIME specifies the maximum CPU time allocated for a particular job or job step. If TIME is in the JOB card, it relates to the entire job; if in the EXEC statement, it relates to the job step.  
Latest Answer : if time parameter is coded on both job and step, then the time coded on the EXEC statement over-rides the one on the job.[refererred on pg 88 of Mvs Jcl Primer]U might be interested to know this too.The COND parameter if coded on both job and step, ...

There are 100 steps in a job card.If we want to execute 100th step,what to do? and but remaining 99 steps should not execute
Read Answers (20) | Asked by : sireesha

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

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 - 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
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Mainframe Features

Mainframe Features In this Mainframe tutorial you will learn about features of Mainframe Processing power memory capacity performance computing multiple operating system time sharing reliability serviceability availability clustering technology and other features available in Mainframe mosgoogle cen
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 

HR Interview - How To Succeed At HR Interviews

How To Succeed At HR Interviews There are a number of things you will need to do in order to make sure you pass the interview process Your appearance is something that you will want to pay close attention to Even if you feel that your appearance shouldn t be a factor in whether or not you re highere
 





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