Hi, does anyone know what the WITH statement does in the following code snipet? I am kinda new to embedding sql in RPG (been doing rpgIII for over 10 years).
C+ CLAIMSTS <> 'X' and
C+ GPINUMBER Like '54000030%')
C+ with NC
C/end-exec Rod
Are you wanting to use a diplay file in the cl and then submit the same cl to batch? If so do rtvjoba get TYPE. if TYPE = batch (1 or 0 I DON'T REMEMBER) then goto past the sndrcvf command used to display the screen. Rod
1. Compile your program with DBGVIEW(*source)
2. strdbg
3. set break point
4. "step into" or what ever command key? - you will be returned to a command line.
5. call program
Sorry, I don't know where to read about this. Rod
Hi, I am using IE6 and just found out that some characters following // (comments) caused javascript not to work correctly. I think the characters were carrage-return line-feed from some stupid editor. Anyone else had this problem?
Thanks Rod
Hi, if you want to use a subfile for data entry it must be displayed with empty fields. However, a subfile cannot be displayed if doesn't contain any data. So, you would use the SFLINZ with an indicator on the control record to allow the RPG (or cobol) program to initialize the subfile with...
Hi, I don't remember why (but I will let you know). but you need to code it like this.
jmp start ; Add this line.
string db "Hello World.$"
start: ; Add this line.
mov ax,seg string
mov ds,ax
mov dx,OFFSET string
mov ah,09h
int 21h
mov ax,4c00h
int 21h Rod
Hi, I'll try to help. Do you have all of the correct source in a single project folder? What is c:\ICPS\CFGMGR.OBJ? Do you have the source for CFGMGR.OBJ. What is folder c:\ICPS used for.
Try to compile the program with only source files existing in your project folder. In other words...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.