Page 1 of 1

Unable compile COBOL with MSID LBL0123

PostPosted: Wed Feb 20, 2019 8:05 am
by jesica
Dear All,

I am a new commer, sorry for bother all of you with my question.
I'm learning COBOL/400 and encountered this problem while compiling

In Source Code, have used COPY statement
When compile, I used CRTCBLPGM PGM(MYLIB/TEST) SRCFILE(MYLIB/QLBLSRC) OPTION(*SOURCE)
Error msg:

* 2199 MSGID: LBL1023 SEVERITY: 30 SEQNBR: 040020
Message . . . . : Copy file 'QLBLSRC ' in '*LIBL ' could
not be opened. COPY statement ignored.


My copybook Statement:

COPY TESTWS

file TESTWS exits in QLBLSRC

I don't know how to solve.

Re: Unable compile COBOL with MSID LBL0123

PostPosted: Wed Feb 20, 2019 8:20 am
by jesica
Dear All,

I already solved this problem.
So I will closed this topic.

Thanks

Re: Unable compile COBOL with MSID LBL0123

PostPosted: Wed Feb 20, 2019 5:02 pm
by NicC
What was the resolution?

If you are on an AS400 (iSeries?) then this forum is not for you. It is for mainframe only.

Re: Unable compile COBOL with MSID LBL0123

PostPosted: Mon Feb 25, 2019 7:24 am
by jesica
NicC wrote:What was the resolution?

If you are on an AS400 (iSeries?) then this forum is not for you. It is for mainframe only.


Yes, I am on AS400.
Could you tell me what forum if suit for me?
Thanks

Re: Unable compile COBOL with MSID LBL0123

PostPosted: Mon Feb 25, 2019 2:53 pm
by NicC
I have no idea. I have only worked on an AS400 for 2 days during a migration project back in the late 90s. Your best bet would be to google 'as400 iseries forum'