Difference between revisions of "WDSC tips/MISC"

From MidrangeWiki
Jump to: navigation, search
(Where can I find a list of enhancements in V9?)
m (Where can I find a list of enhancements in v9, v9.1 and v9.5?)
 
(One intermediate revision by the same user not shown)
Line 240: Line 240:
 
You can find the list here: [http://www-306.ibm.com/software/awdtools/wdt400/news/ga700.html]
 
You can find the list here: [http://www-306.ibm.com/software/awdtools/wdt400/news/ga700.html]
  
 +
[[#top]]
  
===Where can I find a list of enhancements in V9, v9.1 and v9.5?===
+
===Where can I find a list of enhancements in v9, v9.1 and v9.5?===
 
You can find the list here: [http://www-01.ibm.com/support/docview.wss?uid=swg27038481]
 
You can find the list here: [http://www-01.ibm.com/support/docview.wss?uid=swg27038481]
 +
 +
[[#top]]
  
 
===How do you work through learning the functionality of this application?===   
 
===How do you work through learning the functionality of this application?===   

Latest revision as of 12:27, 22 April 2016

RSEF1002E Error

Operation failed. File system input or output error.

  • Exit WDSCi and reboot your PC.
  • I changed my password recently. For some reason my password got disabled. Also my Netserver password was disabled. (see Disabled User IDs in Netserver via Navigator.)
  • I reset my password, had my Netserver ID enabled and rebooted, all was OK.

original post FKOL 05:17, 11 December 2007 (CST)

#top

Slightly Faster Startup

original post [1] original post [2]

  • Window → Preferences
  • Remote Systems.
  • Then uncheck "Re-open Remote Systems view to previous state"


original post [3]

You can also specify the '-nosplash' parameter in the properties of the shortcut which launches WDSC to suppress the splash screen.

"C:\Program Files\IBM\Rational\SDP\6.0\rationalsdp.exe" -nosplash

for V7 nosplash edit C:\Program Files\IBM\SDP70\eclipse.ini add -nosplash just before -vmargs

-vm
C:\Program Files\IBM\SDP70\jdk\jre\bin\javaw.exe
-nosplash
-vmargs
-Xquickstart
-Xms40m
-Xmx768m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=1536M


#top

WDSCi Sign Off

original post [4]

In 'Remote Systems' view, right-click each connection that's open and click Disconnect

#top

Easy Source Upload

original post [5] (This came from the comment about copying source between systems)


  • There are lots of useful RPG sources posted on the net,
  • But , How do I get that source into my source file.

WELL WDSCi is a really simple method to upload the source.

  • Mark and copy the source you found on the net.
  • In RSE use CRTL+Shift+A to open a source member into your favourite library/file. (Member will be created if it does not exist)
  • Paste the source code and save it (CRTL+S is one way to save)
  • Voila the source is now yours!!

#top


The outline view of the RPG (or other) program doesn't show the fields TEXT.

original post [6]

The outline view of the RPG (or other) program doesn't have any way to show the TEXT associated with the field in a file, but:-

  • You can easily open the Field Table View that does.
  • This will open the iSeries Field Table View which gives all the field information.
  1. Right-click on the line with the F-spec
  2. Select the Show fields menu option.

(Window → Show View → Other → Iseries → Iseries Field Table View)


  • To show the properties of fields in files.
  1. Right click on a physical file object in RSE tree view
  2. and select show in table → fields.


  • If you are using 7.0, you are also able to bring up a Field Table View by highlighting any (PF, LF, DSPF, etc...) file in an RPG program's F-Specs then select Source→Show Fields from the Menu Bar.
  • The above tips only work if the file is externally described in the F specification.

#top

List libs, objects, members, etc with descriptions?

original post [7]

Is there a way to list libs, objects, members, etc in the Remote Systems view with descriptions?

  • The tree view doesn't support this - although if you look at the properties view - you will see the description when an item is selected in the tree view.
  • You should probably try the table view. Window →Show View →Other (or iSeries Table View)
  • This functionality is added by the open source RSE plug-in development available here: RSE-Enhancements (Original WDSC-PLUGIN-DEV post [8].)

#top

SQL result set only contains 50 rows

original post [9]


You need to ensure your Capabilities include Data and Database Developer.

  • Window → Preference → General → Capabilities then check Data and Database Developer.

You need to open the Data View to enable this preference.

  • Window → Preference → Data → Output that lets you specify the maximum number of rows to return,
  • as well as maximum bytes to retrieve for large columns.
  • The default max number of rows is 50.
  • Get V7 if you can.

#top


My code doesn't display correctly.

ref PabloMotte2, 08 September 2011 (CST)

If you are using Windows Vista (and onwards) the color hex codes are no longer displayed due to an operating system change. Instead of displaying a space to maintain the column positions, the remainder of the source line is displayed 1 character to the left. This does not affect the compiler as the hex code is still there, but it makes the LPEX editor's view of the source look unaligned. APAR SE47488 was raised to fix this issue, but the APAR was closed saying that as the operating system was at fault then there was nothing they could fix.


ref PabloMotte3, 22 April 2016

In RDi v9.5 there is a preferences page (Window|Preferences > LPEX Editor|Appearance|Host Characters) where you can replace a range of characters (or specific single character) in a code page with a single character.

To find the character codes find a line in your source with "missing" characters and select the Hex Edit Line option (by default ALTSHIFTH, or right-click > Source|Hex Edit Line) and you can see three sets of hex characters at the bottom of the editor. The bottom line will specify which code page you should use (e.g. Source encoding Cp285) and you check along this line to find the character that is not being displayed. In the preferences page you then add an entry to replace the code page's hex code with a unicode hex code. For example, I created an entry on the preferences page to replace all characters on code page Cp285 in the range 0x00 to 0x3F with unicode character 0x0020 (space character) and all columns are now aligned as I would expect.

#top

I have these strange square symbols in my code.

ref PabloMotte, 27 November 2007 (CST)

When you are in RS LPEX, right-click and select Source>Hex Edit line, you will then see the hex value in the iSeries codepage, along with the client codepage.

Also, you can put the cursor on the square, press ESC (to move to the command line) and type "query hex" to view the unicode hex value of the character. The "set hex 84" command will set the current cursor position to hex 84 (which turns on 'underline' for the SEU display).

  • Coloured hex codes you can use with "set hex" and the equivalent iSeries Access key
    • Hex code - Displays (Client Access key)
    • 04 - ND UL - (APL 37)
    • 05 - Red RI UL - (APL 2d)
    • 06 - Red BL RI UL - (APL 2e)
    • 07 - ND - (APL 2f)
    • 14 - Pink UL - (APL 3c)
    • 15 - Pink UL RI - (APL 3d)
    • 16 - Yellow UL - (APL 33)
    • 17 - White UL - (APL 26)
    • 1b - ND - (APL 27)
    • 80 - Green - (APL 21)
    • 81 - Green RI - (APL 20)
    • 82 - White - (APL 23)
    • 83 - White RI - (APL 22)
    • 84 - Green UL - (APL 24)
    • 88 - Red - (APL 29)
    • 89 - Red RI - (APL 28)
    • 8a - Red BL - (APL 2a)
    • 8b - Red RI BL - (APL 2b)
    • 8c - Red UL - (APL 2c)
    • 90 - Turquoise UL - (APL 31)
    • 91 - Turquoise RI - (APL 30)
    • 93 - Yellow RI - (APL 32)
    • 94 - Turquoise UL - (APL 34)
    • 95 - Turquoise UL RI - (APL 35)
    • 96 - Yellow UL - (APL 36)
    • 98 - Pink - (APL 39)
    • 99 - Pink RI - (APL 38)
    • 9a - Blue - (APL 3b)
    • 9b - Blue RI - (APL 3a)
    • 9e - Blue UL - (APL 3e)
    • [Please note that if you set "Green RI UL" in SEU (iSeries Access key APL 25) then LPEX will display a newline and irrevocably delete several characters, causing the source member to be potentially uncompilable in LPEX.]


In Windows Vista (and onwards) the square symbols can no longer be displayed at all. See #My code doesn't display correctly.

#top

Run a program on your PC

original post [10]

There are several programs that come with System i Access for Windows that can be interesting to use, but you can run other programs on your PC too. Those programs are wrksplf, wrkmsg, wrkprt and wrkusrj They are found in the System i Access program folder. On my default install, that is C:\Program Files\IBM\Client Access To register one of these programs in WDSC 7.0.0.x, take the following steps:

  • Run (from the menu.)
  • External Tools and then select (again) External Tools.
  • Click on the Program config once to select it.
  • Click on the New Launch Config icon on the far left (the one with the plus sign) at the top of the panel.
    • In the Main tab:
      • In the Name box I entered the name of the .exe (e.g. Wrksplf)
      • In 'Location' click 'browse file system' and drill to the exe in the IBM Client access folder and select the exe.
      • In 'Working Directory', copy & paste the path and strip off the final slash and the name of the .exe
    • In the Common tab:
      • In the middle, Display in favorites menu, select 'External Tools' and the new application will show up under Run→External tools
    • Click apply, then run to test. Close the app.

When you select Run→External Tools again it should appear at the top of the context menu. You can change the order they appear on the Run→External Tools context menu by using Run→External Tools→Organize favorites

#top

Missing Dialogue box in Iseries Command Log

ref. [[11]]

Sometimes I dont get a dialogue box in the Iseries Command Log View

Use Iseries Commands under Remote Systems View / yoursystem to create a command and run it.

The dialogue box will then pop up in the Iseries command Log.

#top

Can't remove "work offline" setting

original post [[12]]

The connection in question was associated with a Turnover connection.

Created a new RSE connection and associated it with the Turnover one.

Then was able to change the old RSE connection's offline status

We just moved to a new building and cleaned up the TCP/IP stuff, so we have new addresses for our machines. Now when I try to open something through RSE, I receive an EVFC3020W message - Requested information is not available from the cache.



#top


Where can I find a list of enhancements in V7?

original post [13]

You can find the list here: [14]

#top

Where can I find a list of enhancements in v9, v9.1 and v9.5?

You can find the list here: [15]

#top

How do you work through learning the functionality of this application?

original post [16]

  • Currently I'm just stumbling through the basics, and I know I'm not doing many things the most productive way.
  • I recommend that you try the tutorials included in the product as well as the PDM/SEU transition to RSE/LPEX - which was revamped and rewritten for v7.0.
  • Also, if you go to the WDSC web site [17] and search the support section - you will find additional tutorials and the labs from COMMON.
  • Don Nitke ref [[18]] has a site with tutorials .
  • Joe Pluta adds:

You can use the help and tutorials from within the product itself. There are some free tutorials out on the web, including my own first one. You can buy my book, WDSC: Step by Step, which is based on version 5.1.2, but still pretty valid. You can buy my training course from Rochester Initiative which is now available for version 7.

  • You can go to a jumpstart at a technical conference, or an all-day standalone seminar sponsored by your local user group.
  • Or you can contract with someone to come onsite and provide training.

My workspace is huge!

One poster discovered his workspace was very large and wondered if there was a way for WDSC to clean itself up. The suggestion was made to clear out the cache and set a maximum cache size through the preference panel described here.

#top

WDSC v7.0 LPEX rapidly flashing between multiple source members

original post [19]

The problem is because you have 'Link with Editor' 'enabled' on the Remote Systems Tab.

If disable 'Link with Editor', the behavior stops.

First select the 'Remote Systems' tab by clicking on it.

The 'Link with Editor' button is the 'hosizontal opposed arrows', just beside the 'Menu button' Triangle.


#top