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  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
how to have variable length record in outrec..i have the 
requmt as follows..
i/p file variable lenght record
output file : i need to alter the input and write into 
outrec(another file)

sort fields:
copy from(dd1) using ctl1

ctl1cntl dd *
outfil fnames=xxx,
outrec=(1,131)

here i outrec is bombing with error..how to overcome this 
defect...???
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???
Answer
# 1
We need to include RDW in OUTREC,Record Descriptor Word : 
Data preceding a variable record that specifies the length 
of the entire record including the RDW.) in outputs which 
takes 4-bytes.So we need to add add 4-bytes to OUTREC as,

OUTREC=(1,4,5,131)
 
Is This Answer Correct ?    0 Yes 1 No
Deepika
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)  1
What is JCL LIB ? Xansa2
i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes  2
What is the difference between joblib and jcllib statements Maples5
If job is submitted with typerun = hold then how can we submit the same job? Wipro2
How to execute a set of JCL statements from a COBOL program ?  6
What u mean by include statement in JCL ?  2
what is the purpose of SYSOUT parameter in the DD statement?  1
can we have more than one job in a single job card that is we are specifying only one 'job' statement in the jcl. Accenture5
Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????  2
What 3 guidelines do we have to follow when concatenating DD statements?  2
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?  2
if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job? Accenture4
What does a disposition of (NEW,CATLG,DELETE) mean?  1
what is XSUM in some fields= none, xsum ?? Xansa6
What is DSNDB06 ?  1
How do you create a temporary dataset? Where will you use them?  2
is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name? Accenture3
how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???  1
What is GDG?  1
 
For more JCL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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