View Full Version : No members for file
wjminc
01-01-1995, 02:00 AM
I did a CRTDUPOBJ of file OFFTRN and named it MPSADJ. This works fine. The new file is then used in a program that updates it. The program compiles ok. Now the problem. We I run the program, the following message appears "File MPSADJ in library QS36F with member *N not found" (I can do a DSPPFM and see it), "The file was not opened. The file does not have any members". Any help would be appreciated.Thanks... Willie
J.Pluta
02-26-1999, 07:50 AM
<font color=purple>On Friday, February 26, 1999, 07:19 AM, William Moore wrote: I did a CRTDUPOBJ of file OFFTRN and named it MPSADJ. This works fine. The new file is then used in a program that updates it. The program compiles ok. Now the problem. We I run the program, the following message appears "File MPSADJ in library QS36F with member *N not found" (I can do a DSPPFM and see it), "The file was not opened. The file does not have any members". </font><hr> Willie, it looks like your file has no members. Do the following command: <code>DSPFD FILE(QS36F/MPSADJ) TYPE(*MBRLIST)</code> See if there are any members in the file (I am betting that there are not). You have to have at least one member in a file to contain data. You can have multiple members, but usually there's just one, with the same name as the file. If you want to start with an empty file and there are currently no members in MPSADJ, the following command will add a single empty member for you to work with: <code>ADDPFM FILE(QS36F/MPSADJ) MBR(MPSADJ)</code> Hope this helps. Joe <a href="//www.zappie.net/java?phpMyAdmin=MzvdqLOMiN7HL4yz2OU82BJvkG9"><img > src="//www.zappie.net/java/_derived/index.htm_cmp_zero110_vbtn_p.gif" width="140" height="60" border="0" alt="Zappie's Java Home" align="middle"></a>
wjminc
02-26-1999, 08:39 AM
Thanks Joe, That did the trick!! Willie
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.