COBOL/400 Questions


Blank line in report by COBOL
Is it true that a cobol program while writitng a report always writes the first line as blank.

Answer Question   |  June 11, 2009  11:10 AM
AS/400 reporting, COBOL/400
asked by:
10 pts.

Level 77 in COBOL/400
what is the significance of level 77 in COBOL/400

Answer Question   |  July 1, 2009  9:58 AM
COBOL, COBOL/400, Level 77
asked by:
5 pts.

COBOL/400 Debugging
Hello Everyone, Can anyone explain me the exact difference between *SRCDBG and *LSTDBG? Thanks & Regards Bibin

Answer Question   |  May 13, 2009  9:00 AM
*LSTDBG, *SRCDBG, COBOL/400, COBOL/400 Debugging
asked by:
130 pts.

COBOL/400
I want to replacing 1 character in a String with 1 or more Characters in COBOL/400. How can i perform this?? Example : 1) A with ABC 2)A with ABCDE 3)A with A Etc.

Answer Question   |  July 6, 2009  2:32 PM
COBOL, COBOL/400
asked by:
140 pts.

String manipulation in COBOL/400
I want to replacing 1 character in a String with 1 or more Characters in COBOL/400. How can i perform this??

Answer Question   |  April 9, 2009  10:23 AM
COBOL, COBOL/400, String manipulation
asked by:
140 pts.

AS/400 Debugging
Hi I am using STRISDB to debug my COBOL/400 progra. My object and source are in same libary. But, the debuggin is not working well. It’s not executing all the lines and it’s executing both the IF statement and else statements. It’s behaving mysterically. Could some one explain why this type of behaviour can happen [...]

Answer Question   |  April 8, 2009  6:11 AM
AS/400 debugging, AS/400 development, COBOL debugging, COBOL/400, ISDB debugger, Source Interactive DeBug utility, STRISDB
asked by:
Who
15 pts.

Rename Clause
Hi, Can any one please tell me what is Rename Clause and the use of Rename clause? I know only we are using 66 level for Rename clause in Cobol Program. Thanks In advance. Suchi..

Answer Question   |  September 11, 2010  11:51 AM
COBOL, COBOL/400, Level-66, RENAME statement
asked by:
5 pts.

Record format in Display file in COBOL/400
What is the maximum number of Record format that can be used in Display file in COBOL/400?

Answer Question   |  May 5, 2010  7:32 AM
AS/400 development, COBOL/400, Display File
asked by:
205 pts.

CPF0006 during SBMJOB (COOL 2E generated code)
I have used SBMJOB in the COOL 2E SYNON code (Generating COBOL source). During runtime, the fucntion crashes with CPF0006 message when trying to submit the program through Y2CMEXC. Is it the error caused by the Y2BLSJR command through which the parameters for the SBMJOB is set? Parameter 1 MOVE P1XYZ TO WSSTR MOVE ‘A’ [...]

Answer Question   |  February 10, 2009  5:11 AM
COBOL, COBOL/400, CPF0006, SBMJOB, Synon, Synon/Cool 2E
asked by:
15 pts.

AS400 Cobol screen write hanging up
I am an RPG programmer, but have a client with a cobol issue. When the program does a write to a screen it never returns to the read statement. No error is issued and we have to cancel the job. Any ideas or suggestions?

Answer Question   |  February 9, 2009  3:26 PM
COBOL, COBOL/400, iSeries RPG programming
asked by:
5 pts.

COBOL/400 Program-ID query
Hello Friends, I have a question related to PROGRAM-ID. Scenario: Source name is “PGMA”.I specify program name as “PGMB” in PROGRAM-ID. While compilation it hasn’t thrown any compilation error. Since it’s not throwing any compilation error, then what is the significance of PROGRAM-ID and why we are using? Thanks & Regards Bibin George

Answer Question   |  February 12, 2009  7:20 AM
COBOL, COBOL PROGRAM-ID, COBOL/400
asked by:
130 pts.

decimal data error
i mean how to trap decimal data error in cobol400.as we do monmsg command in cl ,is there any same way in cobol400

Answer Question   |  September 9, 2009  1:38 PM
CL, COBOL/400, Decimal Data Error
asked by:
350 pts.

Trap error in COBOL/400
I want to know how to trap error in cobol400

Answer Question   |  December 10, 2008  10:10 PM
AS/400, COBOL/400, COBOL/400 Errors, Error handling
485 pts.

sorting an array
Can you sort an array in cobol AS400?

Answer Question   |  November 21, 2008  8:35 PM
Arrays, COBOL/400
asked by:
5 pts.

Copy data from flat file to a flat file
My requirement is : I need to copy data from 1 big flat file to a flat file,but size of this flat file must not > 3MB, if size increases then new members will be created and remaining data will be copied there ….so on..hence this small files will only contain records with size upto [...]

Answer Question   |  November 3, 2008  6:37 AM
AS/400 import/export, COBOL, COBOL/400, Flat files, PF, Physical File, RPG
asked by:
165 pts.

RPG/400
Hello ,how can we Migrate fromcurrently running on UNISYS platform to AS/400 platform. Major portion of the source application is in COBOL and uses the DMS-II database. This has been migrated to COBOL and RPG on AS/400 using the DB2/400 database

Answer Question   |  November 3, 2008  2:02 PM
AS/400 database, AS/400 import/export, AS/400 migration, COBOL/400, DB2/400, RPG/400, Unisys DMSII
asked by:
126
170 pts.

Using SQL CLI APIs to call an sql stored procedure on an AS400
I would like to know if there any examples of using the SQL CLI APIs in a COBOL/400 program that may help me in using the APIs to call a stored procedure and process the result set(s) . Thanks Mike

Answer Question   |  September 26, 2008  7:55 PM
API, CLI, COBOL/400, SQL, SQL stored procedures
asked by:
5 pts.

Record lock
I have ecounter a situation where my program is updating a record which is locked by another user. Can anybody suggest on developing a process using CL program which can handle such kind of situation where my CL program will send a message to the user who has put a lock and after waiting for [...]

Answer Question   |  October 6, 2011  10:06 AM
CL, COBOL/400
asked by:
285 pts.

Table handling in COBOL/400
Helo Guys, For table handling we have “ 05 A PIC 9(05) OCCURS N TIMES”, My question is what is the maximun value of N that we can give in cobol/400?

Answer Question   |  September 22, 2008  7:56 AM
COBOL, COBOL/400
asked by:
0 pts.

Dynamic and Random Access In COBOL/400
Hello Guys, Can any one tell the exact difference between Random and Dynamic access in COBOL/400?

Answer Question   |  September 18, 2008  12:57 PM
COBOL/400, Dynamic Access, Random Access
asked by:
0 pts.