Interview Questions   Tutorials   Discussions   Programs   

JCL - What do you mean by inrec and outrec ?




336
views
asked mar August 6, 2014 01:40 PM  

What do you mean by inrec and outrec ?


           

1 Answers



 
answered By Mswami   0  
The INREC & OUTREC statements : These statements are used to reformat the records.

The INREC statement is used before sort to shorten the records by eliminating unwanted fields. This results in faster sorting.

The OUTREC statement is used after the sort to improve readability.

INREC & OUTREC have identical formats:

INREC FIELDS=(nX,position,length,align,...)

OUTREC FIELDS=(nX,position,length,align,...)

The first sub parameter,nX,is optional; it specifies the no. of spaces to be inserted in the reformatted record.
The next two parameters, position & length, specify the field in the input record.
The third sub parameter, align, is optional; the possible values being H, F, and D specify alignment on a half-word, full-word, and double-word boundary respectively.


flag   
   add comment

Your answer

Join with account you already have

FF

Preview

 Write A Tutorials
Online-Classroom Classes
www.writeabc.com


  1 person following this question

  Question tags

jcl × 1

Asked 2 years and 3 months ago ago
Number of Views -336
Number of Answers -1
Last updated
3 years and 4 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert