Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

rpg program not working as expected

 
thejwal pavithran
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rpg programming not working as expected?
C/EXEC SQL
C+ SET OPTION
C+ COMMIT = *NONE
C/END-EXEC
C/EXEC SQL
C+ INSERT INTO PAVITT/PRODOBJ VALUES('T', 'W', 'Q')
C/END-EXEC
C SETON LR
C RETRN
*************** End of data ****************************************…


the above rpg program was written to insert a row into the file prodobj but it is not inserting..please help me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic