This line (54-57 in the text file) appears to contain RPG-style comments and
will not compile. CL is not column-oriented.


What I saw in the text file:
Line 54:
CPYF FROMFILE(GPL/ROOTCDSDAT) TOFILE(RWXFPF) +
Line 55:
MBROPT(*REPLACE) FMTOPT(*NOCHK)
ROOTCDSDAT is created thru
CRTPF
FILE(&LIB/ROOTCDIDAT) RCDLEN(771) +
Line 56:

SIZE(*NOMAX) WAITFILE(*CLS) +
Line 57:

WAITRCD(*NOMAX) LVLCHK(*NO)) in
previous
pgm

Note that the words "ROOTCDSDAT is created thru FILE..." and "... in
previous pgm" will be considered part of the CPYF command and generate
syntax errors.

I think the code should look like this, assuming everything from "ROOTCDSDAT
is created ... in previous pgm" is a comment.
CPYF FROMFILE(GPL/ROOTCDSDAT) TOFILE(RWXFPF) +
MBROPT(*REPLACE)
FMTOPT(*NOCHK) /* ROOTCDSDAT is created thru CRTPF +

FILE(&LIB/ROOTCDIDAT) RCDLEN(771) +

SIZE(*NOMAX) WAITFILE(*CLS) +

WAITRCD(*NOMAX) LVLCHK(*NO)) in previous +

pgm */

HTH,
Loyd

PS, also no need to quote the entire thread when responding.


On Tue, Apr 27, 2010 at 11:54 AM, Sneha Verma <snehaverma001@xxxxxxxx>wrote:

Sorry Eric.I made a mistake while pasting the code.
I am attaching the entire code again for your refrence.
I talked to the user and he mentioned that the same code works fine on
other partitions but fails to work on the current partition.

Is there anything from the system point which I need to compare on the 2
partitions.

Regards
Sneha





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.