CL/400 CRTLF

90 pts.
Tags:
CL/400
CRTLF
Logical Files
while creating an object for a logical file we will use in CL/400 CRTLF FILE(library/logical-file-member) SRCFILE(SARKNS/FIVE) But I need to give the logical-file-member name as a field like this pgm Dcl var(&var1) type(*char) len(10) chgvar var(&var1) value('logical-file-member') CRTLF FILE(SARKNS/&var1) SRCFILE(SARKNS/FIVE) endpgm In this case this logical file is not created its giving cpf7302 object not created. Can any one help me in this regards. Thanks in Advance.

Answer Wiki

Thanks. We'll let you know when a new response is added.

There are any number of reasons why you would get this error. Have you checked the job log?

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Gilly400
    Hi, You're using your variable for the file name instead of the member name :- CRTLF FILE(SARKNS/FIVE) SRCFILE(SARKNS/FIVE) MBR(&var1) 'logical-file-member' is longer than the 10 characters allowed for the member name and the member name won't support '-' characters..... Regards, Martin Gilbert.
    23,730 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following