I’m trying to dynamically create COBOL statements using field names identified in a table, so the same build statement can be used for different fields. Is there a way to dynamically build statements and execute? These buillt statements would be MOVE and ADD statements. Thanks in advance
Answer Question | March 17, 2012 3:50 PM
AS/400, COBOL, COBOL statements
Hi Group, In COBOL/400 PGM the file has been declared with ACCESS as SEQUENTIAL and ORGANIZATION as SEQUENTIAL. How to delete a record from such file? Regards, M
Answer Question | March 31, 2012 4:42 AM
COBOL, COBOL statements, COBOL/400, PGM
Hi Group, I have the code in this format IDENTIFICATION DIVISION PROGRAM-ID. PGM. ——– ——– DATA DIVISION. FILE SECTION FD PHONEFILE 01 PHONE-REC. ———— ———— PROCEDURE DIVISION. <In Procedure division i have written an record into the PHONEFILE> WRITE PHONE-REC. I would like to pass the PHONE-REC record to a sub-program. <My question is, Can [...]
Answer Question | June 24, 2011 5:45 PM
AS/400, COBOL, COBOL statements, COBOL/400
Hi. i have 2 questions in cobol : 1) Suppose i have a para : 1000-process Now while processing if i use : perform 1000-process thru 1000-exitand perform 1000-process .What will be the difference. 2) Suppose there is a cobol pgm named ABC .and in indentification division, i i give the name XYZ.Then i call [...]
Answer Question | February 22, 2011 7:00 AM
AS/400, COBOL, COBOL Programs, COBOL statements
Please adwise how to count number of unique characters (any character can be) in batch cobol. Thanks
Answer Question | November 24, 2010 4:48 PM
Batch jobs, COBOL, COBOL statements
I’m trying to run a job which runs the program IKJEFT01 an it abends with return code 61. Does anybody knows what this means?
Answer Question | July 27, 2010 6:03 PM
COBOL, COBOL statements, Mainframe, Mainframe programming
while using renames clause we are defining dataname-1 thru dataname-n. if i am having same datanames in another group which output can i expect?
Answer Question | June 29, 2010 6:49 AM
COBOL, COBOL statements, Programming Languages, RENAME statement
I am looking to see if anyone has any performance metrics for the COBOL INPSECT statement. The specifics I am looking for is changing the statement from and INSPECT REPLACING to and INSPECT CONVERTING. Any help would be greatly appreciated.
Answer Question | July 1, 2008 2:35 PM
COBOL, COBOL INSPECT, COBOL statements