|
Ok, it turns out there are two bugs, one in the FIELDS macro and one in the CODESRV command. I will open an APAR to track this problem as soon as I can, and it will be fixes in the next service or release, whichever comes first. In the meantime you can use the following work-around: Edit the x:\WDSC\MACROS\FIELDS.LX macro and change the following: On line 203: 'set actionbar.'CODEMRI(53) CHANGE TO 'set actionbar.'CODEMRI(63) On line 243: ' (TYPE DESC CACHE REFRESH FILE='log /* CHANGED */ CHANGE TO ' (TYPE DESC CACHE REFRESH > 'log /* CHANGED */ On line 264: os2cmd = 'CODESRV2 SERVER (FILE='log CHANGE TO os2cmd = 'CODESRV2 SERVER >'log On line 283: ' FLDNAME(*) (TYPE LENGTH DESC CACHE REFRESH FILE='log CHANGE TO ' FLDNAME(*) (TYPE LENGTH DESC CACHE REFRESH > 'log thanks, Violaine Batthish CODE Project Lead batthish@xxxxxxxxxx IBMCA(BATTHISH) Steve Cross <SCross@xxxxxxxxxxx To: "'CODE/400 Discussion & Support'" <code400-l@xxxxxxxxxxxx> p.com> cc: Sent by: Subject: RE: Extras Extract Fields doesn't work... code400-l-bounces@x idrange.com 05/29/2003 10:32 AM Please respond to CODE/400 Discussion & Support Violaine, Here is what is in the Macro.log after I try to extract fields from a common file. OS400 is the host server from STRCODE SERVER(OS400) RMTLOCNAME(*RESOLVE) CMNTYPE(*TCPIP). Does this tell you anything? No filename in current line. CODESRV2 LIST OS400 *LIBL/PROHDR RCDNAME(*) (TYPE DESC CACHE REFRESH FILE=fields.log 245 *-* address cmd os2cmd >>> "CODESRV2 LIST OS400 *LIBL/PROHDR RCDNAME(*) (TYPE DESC CACHE REFRESH FILE=fields.log" +++ "RC(1)" End of file or list. No host connection. Thanks, Steve -----Original Message----- From: Violaine Batthish [mailto:batthish@xxxxxxxxxx] Sent: Thursday, May 29, 2003 6:42 AM To: CODE/400 Discussion & Support Subject: Re: Extras Extract Fields doesn't work... Hi Steve, Have you checked the macro log? Usually there is more information there. That might help pinpoint the problem. Violaine Batthish CODE Project Lead batthish@xxxxxxxxxx IBMCA(BATTHISH) Steve Cross <SCross@xxxxxxxxxxx To: CODE/400 Discussion & Support <code400-l@xxxxxxxxxxxx> p.com> cc: Sent by: Subject: Extras Extract Fields doesn't work... code400-l-bounces@x idrange.com 05/28/2003 02:36 PM Please respond to CODE/400 Discussion & Support Hello, I have a Code/400 problem in WDSC 5.0. Something happened which caused the Extract Fields (LIST) to quite working. When I select menu option: Extras, Fields, Extract Fields (LIST), then enter in a file name, I received an error status "No Host Connection". Code/400 then shows a new menu item "Field" to the right of Extras. When I click on menu item Field, I get an error status "Macro "Lines.Lx" not found, and a message box stating "Unknown command 'Lines'". I don't recall anything changing and I thought the Extract Fields was working after I upgraded to WDSC 5.0 from WDSC 4.0. I use STRCODE on an interactive session. The debugger works and I can issue STRPCCMD on a source member to bring up Code. I even tried adding a new server through the Communication Daemon to see if that worked. I am running Code/400 on Windows 2000. Does anyone know what this error message means and how can I fix it? Thanks, Steve Cross
As an Amazon Associate we earn from qualifying purchases.
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.