IBM Project Bob

Project Bob

IBM Project Bob isn’t just another coding assistant; it’s built to work the way you work, adapting to your workflow from design to deployment.


#AI
 View Only
  • 1.  Migrating sources from QSYS on IASP

    Posted 2 days ago

    Hi All.

    I am testing the BOB IDE and, as far as I have found, the BOB IDE is not able to migrate sources from a library in IASP, it keeps failiing due to not being able to find the source file.

    Is it an error or just something that needs to be configured?

    Regards



    ------------------------------
    Licinio Seabra

    ------------------------------


  • 2.  RE: Migrating sources from QSYS on IASP

    Posted yesterday

    I'm not sure I completely understand your question, but I will describe how I got setup to work with Bob.

    As I understand it, all the code you want evaluated needs to be in a folder on the PC running Bob. I struggled with this a bit, so I asked Bob. Bob recommended moving my code from source files to a folder structure like the one below in the IFS. My source files were in an IASP and I did have trouble running the CPYTOSTMF command because it didn't seem to be seeing my library in the IASP (or I was doing something wrong.) I used VS Code Code4i to select source members in my library and then drag and drop them into the folder structure I had created on the IFS. This split my code into individual files. Once my code was stored as separate files in the IFS, I created an identical folder structure on my PC. Then I used Code4i to download the files into the folder structure on my PC. This process only took about 15 minutes to get folders set up on my PC. I've created three different main folders (named for libraries) which translate into a workspace in Bob. Once I got the code over to my PC, Bob has been easy to work with. 

    Someone please chime in if there is a better way to do this, but I hope it helps someone that might be a bit stuck like I was at the beginning. 

    /home/YOURUSER/src/
    ├── MYLIB/                          # Library name
    │   ├── QRPGLESRC/                  # Source file name
    │   │   ├── PROGRAM1.rpgle          # Member name + extension
    │   │   ├── PROGRAM2.rpgle
    │   │   └── MODULE1.rpgle
    │   ├── QRPGSRC/                    # RPG/400 source
    │   │   └── OLDPGM.rpg
    │   ├── QCLLESRC/                   # CL source
    │   │   ├── COMPILE.clle
    │   │   └── SETUP.clle
    │   ├── QSQLSRC/                    # SQL source
    │   │   └── TABLES.sql
    │   ├── QDDSSRC/                    # DDS source
    │   │   ├── CUSTFILE.pf
    │   │   ├── CUSTL1.lf
    │   │   └── CUSTDSP.dspf
    │   └── QCMDSRC/                    # Command source
    │       └── MYCMD.cmd



    ------------------------------
    Lori Austin
    Manager IT Solutions Engineering
    NALC
    Washington
    ------------------------------



  • 3.  RE: Migrating sources from QSYS on IASP

    Posted 23 hours ago

    Hi Lori,

    Thank you for your prompt response, however I have created two different posts, this one that is related with the fact that VS didn't migrate the sources to IFS due the fact that my work Library is stored in one IASP.

    The second one is related with the fact that Bob isn't working on my PC, it keeps replying "API Request failed:". So I can't ask Bob how to do it properlly.

    Regards



    ------------------------------
    Licinio Seabra
    LicinioSeabraLicinioSeabraLicinioLicinio
    ------------------------------