On the first execution of the command specify the MBR parameter as MBR(*FIRST *SAME) (to process in creation-date order) or MBR(*FIRSTMBR *SAME) (to process in alphabetical-name order). The RTVMBRD command can be used in a loop to process all members of a multi-member file (physical or source). Here's an example of the RTVMBRD command. ![]() This value contains the current number of data records in the file and member specified. Many times I only need to perform actions if a file actually has data in it. NBRCURRCD: This is perhaps my favorite parameter from all of the RTV commands.TEXT: This is the text used when the member was created.SRCTYPE: If the file is a source file, this value will contain the source type of the specified member.RTNMBR: Just like the previous parameter, if you didn't specify a member by name, this value will contain that member name.Like RTVOBJD, this parameter is especially useful if you specify *LIBL for the file name and need to determine the library. RTNLIB: This value will tell you the library where the file resides.Specify a file (and optionally a member) and you can find out more about that file. ![]() Here is something I found on line, hope it helps
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |