ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Target release

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Target release

    Hi all,


    how to know the target release of RPG or RPGLE objects , i have done the DSPOBJD with the parm *all ,*outfile & type is pgm , but i found compiler version and system version .

    just leave this can anyone tell me how to find the target release


    Regards,
    VijayR

  • #2
    Re: Target release

    DSPOBJD will give you what you want with the *BASIC mode. There should be a column on your outfile for 'System Version' and 'Compiler Version'. The Compiler Version is the Target release you want.

    You can see this simply when you do DSPOBJD interactively and select 8 for 'Disply Service Attributes' and it is at the bottom of the screen.
    You don't stop playing games because you get old, You get old because you stop playing games!

    Comment


    • #3
      Re: Target release

      hi Mikes

      see just now i compiled one object in my V5R4 server with target release V5R2M0 ok , and i checked as u said but its still showing me like below

      System level . . . . . . . . . . . . : V5R4M0
      Compiler . . . . . . . . . . . . . . : CRTPGM V5R4M0

      let me explain you clearly we have 2 servers one is V5R4 and the old one is V5R2 , so i need to find out all the objects which were not compiled with Target release - V5R2M0 in the server V5R4, because some times we need to transfer the objects from V5R4 to V5R2 so it will not allow us if the Target release is V5R4

      Thanks & Regards,
      VijayR

      Comment


      • #4
        Re: Target release

        DSPPGM mylib/mypgm
        roll down 4 pages
        Program domain . . . . . . . . . . . . . . . . : *USER
        Release program created on . . . . . . . . . . : V5R4M0
        Release program created for . . . . . . . . . : V5R4M0
        Earliest release program can run . . . . . . . : V5R4M0
        Regards

        Kit
        http://www.ecofitonline.com
        DeskfIT - ChangefIT - XrefIT
        ___________________________________
        There are only 3 kinds of people -
        Those that can count and those that can't.

        Comment


        • #5
          Re: Target release

          Thanks Kit,

          I just noticed that the DSPOBJD works fine on modules, but not on program objects.
          You don't stop playing games because you get old, You get old because you stop playing games!

          Comment


          • #6
            Re: Target release

            Thanks kit got it

            is there anyway to list out all the programs which is having

            Release program created for . . . . . . . . . : V5R2M0

            Regards,
            VijayR

            Comment


            • #7
              Re: Target release

              @mike: you welcome
              @vijayr: simplest would be to write a little CL to list a library's/libraries' pgms to a file... then use that list to get the pgm details. etc.
              There are examples on this site for similar things - not specifically for the dsppgm command.

              Otherwise you could also use API's to retrieve the value.
              Regards

              Kit
              http://www.ecofitonline.com
              DeskfIT - ChangefIT - XrefIT
              ___________________________________
              There are only 3 kinds of people -
              Those that can count and those that can't.

              Comment


              • #8
                Re: Target release

                API QUSLOBJ (List Objects) Format OBJL0400 provides these information.

                Birgitta

                Comment

                Working...
                X