What is length in sysin dd?

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
ramya_MF
Member
Posts: 12
Joined: Sun Jul 22, 2012 10:05 am
Location: chennai

What is length in sysin dd?

Post by ramya_MF » Tue Sep 04, 2012 6:13 pm

Hi ,
i have an output file with length of 2004. but in sysin i found the below statement.

RECORD TYPE=V,LENGTH=(2004,,,,466,126)

can any body please explain me what is 466 and 126 means? if record length increase from 2004 to 4004 is it necessary to change 466 and 126?

Thanks,
Ramya
ramya

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Tue Sep 04, 2012 6:35 pm

it may help us help you
if you would tell us to which pgm the exec statement refers.

short of that, you could always refer to the manual for this program
and learn what the coded statement means.

we are not a short cut for manual reading.
spend some time doing it yourself,
but be careful, you may learn more that you wish.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Tue Sep 04, 2012 6:37 pm

If you really want to know what it means, consult your manual.

Also discover that the necessity of having the RECORD statement is limited to a small number of situations. If you don't have one of those situations, remove it.

ramya_MF
Member
Posts: 12
Joined: Sun Jul 22, 2012 10:05 am
Location: chennai

Post by ramya_MF » Tue Sep 04, 2012 6:56 pm

Hi,

Thanks for your valueble suggestion, but the problem is i googled for that problem, but i didnt find any information regarding that info. so finally i posted this problem. if you have any manuals regarding this please provide me a link. and finally here I am using Sort utility.
ramya

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Tue Sep 04, 2012 7:17 pm

DFSORT manuals are available on the internet.

Syncsort manuals are available if your site is licenced to use the product.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Tue Sep 04, 2012 9:45 pm

As mentioned in the first reply from DBZ:
if you would tell us to which pgm the exec statement refers.
I'll go a bit further and say you should post the complete jcl and control statements.

Your question asks about the length of the sysin dd, but i see nothing about this in your questions.
Last edited by DikDude on Wed Sep 05, 2012 12:39 am, edited 2 times in total.
Have a good one

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Tue Sep 04, 2012 11:14 pm

It is a SORT Control Statement, so appears in SYSIN. TS wonders to what the parameters in the LENGTH refer.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others