Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
aaru,
The symbols dataset should be of FB recfm and 80 bytes in length. you are only creating 10 byte file with overlapping fields. Change the following statement in step S1
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
Kolusu,
Quote:
OUTREC FIELDS=(C'MAILST,''',1,6,C'''',80:X)
I tried the same and still am getting the same error.
Quote:
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 17:48 O
0 OPTION COPY,STOPAFT=1
OUTREC FIELDS=(C'MAILST,''',1,6,C'''',80:X)
ICE201I E RECORD TYPE IS F - DATA STARTS IN POSITION 1
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
I ran this JCL and the error is
Code:
OUTREC FIELDS=(C'MAILST,''',1,6,C'''',10:X)
ICE201I E RECORD TYPE IS F - DATA STARTS IN POSITION 1
Why do you think this is an error message? It isn't! ICExxxI messages are informational messages. ICExxxA messages are error messages. ICE201I is an informational message that tells you the input record is fixed-length. Why would you think that's an error message?
Your problem, as Krisprems and Kolusu have pointed out is that you're creating a 10 byte Symbol record when an 80 byte record is required. That would give you an error in the second step when you try to use the invalid 10-byte SYMNAMES record from the first step. Using an 80-byte SYMNAMES record will work.
Quote:
No luck. I tried and the result is the same.
You mean the ICE201I message is the same - well, of course it is. Your input file for the first step is still a fixed-length record. What should have changed is that the second step didn't fail.
If this is still not working for you, then please show all of your JCL and control statements, and all of the messages you received.