ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  JCL
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
with out sorting how to copy records from one file to 
another file using jcl.Mean I have one input file in which 
the record are like 1,6,5,4,2,3(for example) and i want to 
copy to output file from top to bottom(without sorting) like
3,2,4,5,6,1.so I want the JCL for this.cna any one can 
answers?
 Question Submitted By :: Mohammad
I also faced this Question!!     Rank Answer Posted By  
 
  Re: with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?
Answer
# 1
Please find below sort card for same 
//SYSIN     DD *                      
  INREC FIELDS=(1:1,10,11:SEQNUM,8,ZD)
  SORT FIELDS=(11,8,ZD,D)             
  OUTREC FIELDS=(1:1,10)              
/*                                    

Here we have data from 1 to 10 columns , i am generating 
seqence number from column 11 in descending order , which 
is not part of record layout . 
After generating Seqence number digits will get reversed .
 
Is This Answer Correct ?    4 Yes 0 No
Ramesh
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
What are SD37, SB37, SE37 abends?  1
Can we delete the data using IEFBR14 , IEBGENER?? Kanbay4
What does IEBGENER do? BirlaSoft5
describe the job statement, its meaning,syntax and significant keywords?  1
What is a procedure?  1
What is the differentiation between TRK,cyl, and Bytes... how they can be connected??  1
Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE Merrill-Lynch4
What is the meaning of the EXEC statement keyword, COND? What is its syntax?  1
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ? Xansa8
Can we browse or edit the GDG dataset if it is a tape entry?  2
What is the difference between static call & Dynamic call ?  2
How do you send the output of a COBOL program to a member of a PDS?  4
What is NOTCAT 2  1
There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem? Infosys5
if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete  4
What is a Generation Data Group (GDG)?  1
How do you submit a JCL under CICS environment ? Wipro4
What are the differences between JES2 & JES3 ?  3
Can you code instream data in a PROC ?  6
what is a MODELDSCB?  1
 
For more JCL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com