COBOL/400 Questions and Answers

Recent IT Questions

1 - 20 of 37
<<PREVIOUS 1|2 NEXT>>

AS400 COBOL ILE Pointer not set for location referenced - Trigger

Hello, Guys I have been trying to run an ILE Cobol Trigger program, however it stops wiht the message below Pointer not set for location referenced.  If when debbuging the system is able to resolve the address of the variable associated with the PF. Hope someone can provide soime guidance. The...

View Answer   |  Nov 8 2009  11:32 PM GMT
COBOL Compiler, COBOL/400, ILE COBOL
asked by Saurater

  25 pts.

COBOL: Is it possible to apply a different Pic clause to a single variable?

Is it possible to use a different  Pic clause from a single variable? based on the condition. DEBIT             PIC ZZZZZZZ,ZZZ,ZZ9.99                      PIC ZZZ,ZZZ,ZZZ,ZZ9.99 For example              When true...

View Answer   |  Oct 26 2009  1:01 PM GMT
COBOL/400, CL/400, COBOL
asked by Promodhss

  35 pts.

How to copy source code of Pgm into Flatfile in COBOL

I want to read the one of the pgm's source code through my another program. So anyone plz suggest me how can i read the source code?

View Answer   |  Oct 22 2009  8:55 AM GMT
AS/400, COBOL/400, CL/400
asked by Promodhss

  35 pts.

Justify right in COBOL

I have data where the format has been changed slightly by the carrier and now this change is causing my job to abend. The last page number of each file reads ex.'160 OF 160' however, the new format must read '160 of 160' which means that the last page number needs to justfied to the right to pos...

View Answer   |  Oct 19 2009  4:33 PM GMT
COBOL/400, COBOL debugging
asked by Tm2009

  30 pts.

Debug ILE Cobol 400

How can I display (Eval) subset of a filed while debugging ILE Cobol program. How can I view the content of a field from specified position and lenght. I know how to review the content for a specified lenght, but can't find a way to view part of the string from position 256 for example. ...

View Answer   |  Oct 15 2009  10:41 AM GMT
COBOL/400, RPG ILE, COBOL debugging
asked by GalB

  5 pts.

Empty/Null value field gets downloaded as Junk value when data is captured into Oracle from iseries(Pgm written in COBOL 400)

When no value has been moved into a particular field in a database, then the field contains Junk value. This by itself does not cause any problem in terms of the working of the application on i series. But when the MIS team tries to download the data into Oracle, then if the file being downloaded...

View Answer   |  Aug 24 2009  10:45 AM GMT
COBOL/400, iSeries, Oracle
asked by JohnsonMumbai

  380 pts.

How does one change an S9(7) comp-3 value to a 9(7) field?

From an externally define file I bring in an S9(7) comp-3 value how can I convert this field to a 9(7) that I can use to make a compare like 'IF field1 = field2 then do' .

View Answer   |  Aug 6 2009  3:30 PM GMT
COBOL/400
asked by Nitzinger

  95 pts.

File Status 90

Can anyone help me why I'm getting status 90 when I try to write to a logical file.

View Answer   |  Jul 30 2009  9:48 AM GMT
COBOL/400, AS/400
asked by Arnelr

  45 pts.

Subfiles in COBOL (Single Page, Load All, Expand)

Can anybody please provide sample code (simple) for the 3 Subfiles in COBOL/400??

View Answer   |  Jul 3 2009  12:44 AM GMT
COBOL/400, COBOL, Subfile
asked by MAGIC

  185 pts.

DEBUG COBOL/400 PROGRAM

PLEASE GUIDE ME HOW CAN DEBUG A COBOL/400 PROGRAM?

View Answer   |  Jun 29 2009  12:00 AM GMT
COBOL DEBUG, COBOL debugging, COBOL
asked by HarshaCheedella

  5 pts.

Calling FD_Set and FD_Zero API from a COBOL/400 program?

I'm developing a socket client in COBOL/400 and I already have most of calls to Unix-type APIs, but I don't know how to call FD_Set and FD_Zero. Are the API names wrong? (for example, I had to change name "GetErrno" by "__errno". Many thanks in advance. George.

View Answer   |  Jun 15 2009  4:13 PM GMT
FD_Set, FD_Zero, COBOL/400
asked by GeorgeFX

  15 pts.

Blank line in report by COBOL

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

View Answer   |  Jun 10 2009  11:10 AM GMT
COBOL/400, AS/400 reporting
asked by Vibudhgarg

  10 pts.

Level 77 in COBOL/400

what is the significance of level 77 in COBOL/400

View Answer   |  May 14 2009  9:58 AM GMT
COBOL/400, Level 77, COBOL
asked by Debrupa

  5 pts.

COBOL/400 Debugging

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

View Answer   |  May 9 2009  9:00 AM GMT
COBOL/400 Debugging, *SRCDBG, *LSTDBG
asked by BibinGeorge

  110 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.

View Answer   |  Apr 14 2009  2:32 PM GMT
COBOL/400, COBOL
asked by C.naveen09

  50 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??

View Answer   |  Apr 9 2009  10:23 AM GMT
COBOL/400, String manipulation, COBOL
asked by C.naveen09

  50 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...

View Answer   |  Apr 6 2009  6:11 AM GMT
COBOL/400, COBOL debugging, AS/400 development
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..

View Answer   |  Mar 31 2009  11:51 AM GMT
RENAME statement, COBOL/400, Level-66
asked by Heramba

  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?

View Answer   |  Mar 20 2009  7:32 AM GMT
COBOL/400, Display File, AS/400 development
asked by MAGIC

  185 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 ...

View Answer   |  Feb 10 2009  5:11 AM GMT
Synon/Cool 2E, SBMJOB, COBOL/400
asked by Gokulvirtual

  15 pts.

1 - 20 of 37
<<PREVIOUS 1|2 NEXT>>