Joined: 02 Sep 2003 Posts: 101 Topics: 55 Location: India
Posted: Wed Nov 16, 2005 10:45 am Post subject: SYSIN Card Length
Hi,
What is the maximum length of a SYSIN card? If my SYSYIN cannot fit in one line, can I continue to the next line. For example, if I am using an INCLUDE COND=(44,4,CH,EQ,C'AAA',OR,44,4,CH,EQ,C'AAA',OR,......), what should be the SYSYIN if there other conditions for the same position of 44,4.
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
Posted: Wed Nov 16, 2005 10:53 am Post subject:
abracadabra,
The SYSIN dataset length varies from program to program. For sort products the data set must be defined with a RECFM of F or FB and LRECL of 80. If the LRECL is greater than 80, sort will use only the first 80 bytes of each record.
As for no: of max control cards you can code in a sysin dataset depends on the length and format of the field in question. For syncsort this value depends on mincore value which was specified during installation.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Wed Nov 16, 2005 11:20 am Post subject:
There are two ways to continue control statements with DFSORT. The easier way is to break the first line at a comma and continue on the next line, e.g.
Code:
INCLUDE COND=(42,4,CH,EQ,C'AAA',OR,
42,4,CH,EQ,C'BBB',...
The other way is to run the line up to position 71, put a non-blank in position 72, and then continue on the next line, e.g.
Code:
72
INCLUDE COND=(...................................................C'A*
AA',...
For complete details on continuing control statements with DFSORT, see:
Note that the maximum number of control statement lines you can code with DFSORT is very, very large and not dependent on any parameter. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum