COBOL Questions and Answers

Recent IT Questions

101 - 120 of 154

eibtrmid

we got a pseudo-conversational system. in this system all the queues depend on the eibtrmid. the intention is to get input record(s) from mq and start the system without using the screens. the start or return immediate commands can happen from 1 to n times and is issued from a cobol program. we...

Answer Question   |  Mar 16 2008  11:54 AM GMT
COBOL, CICS, EIBTRMID
asked by Impi

  5 pts.

Checking character in String

In COBOL how to check a particular character in a string variable? for example: 01 WS-STRING PIC X(10) VALUE 'GOOD DAYYY' now i want to search 'D' in variable WS-STRING. So how should I do it? Do we have any built in function as in RPGLE we have SCAN and CHECK?

View Answer   |  Mar 6 2008  7:05 AM GMT
AS/400, COBOL
asked by Vids

  285 pts.

VS COBOL and ADABAS/Natural Mainframe Recent Prospects

Dear Rick: I've been out of the field (driving a truck) since March of 2005. I'm thinking that due to retirements and natural attrition, combined with the fact (please confirm) that companies are not retiring their mainframe systems like everyone thought, what are job prospects for a 48 year old...

Answer Question   |  Mar 2 2008  7:40 PM GMT
COBOL, 390, ADABAS
asked by HankTheTank

  5 pts.

How to update records in subfile program in cobol/400?

how to update records in subfile program in cobol/400?

View Answer   |  Feb 29 2008  9:56 AM GMT
AS/400, COBOL
asked by Thilaga

  10 pts.

Mainframe Career - is it possible for me?

hello, I have been working for a MNC in India for the past 2 years.My nature of Job includes creating SAS programs and using JCL to run this SAS and get reports or other stuff from the DB2 databases or files.I also write simple SQL queries for DB2.I am right now in a stage where i need to decide...

View Answer   |  Feb 29 2008  5:51 AM GMT
COBOL, Mainframe, DB2
asked by Richard1983

  5 pts.

Date in COBOL/400

I have a character field having length 10 charsm say DATE1 PIC X(10). Now I want to check if the date in this field is in format MM/DD/YYY then how can I check it? and if I want to add 60 days to this date then how to do it in CBL program?

View Answer   |  Feb 28 2008  6:22 AM GMT
AS/400, COBOL
asked by Vids

  285 pts.

Performance Tracking of Stored Procedures

we have a current system where a COBOL stored procedure is called by a .NET application. This COBOL SP then calls multiple COBOL subprograms which perform calculations and update files and then eventually return a value to the .NET app. We have a limitation in tracking the performance of each...

View Answer   |  Feb 26 2008  7:07 PM GMT
Performance management, COBOL, Performance/Tuning
asked by Pcrum73

  5 pts.

Group Items

Can I declare both 02 level and 05 levels in the same column as shown in below? 02 FIELD1 05 FILED2.

View Answer   |  Feb 19 2008  7:45 PM GMT
COBOL
asked by Cobol123

  5 pts.

Accessing COBOL storage from a mainprogram into a second under TSO.

I am using Enterprise Cobol with z/OS. Is it possible to access storage from a program running under IKJEFT01(TSO) after it has finished. A second program running under this same TSO session would then be started and I will need to use the results stored in a subprogram called from the first...

Answer Question   |  Feb 13 2008  10:16 AM GMT
COBOL
asked by Kingcode

  5 pts.

COBOL SUBROUTINES : FINDING OUT THE NAME OF THE CALLING PROGRAM.

Within COBOL, at execution time within a sub program, is there a way of knowing the name of the calling program ? Thanking you.

View Answer   |  Feb 11 2008  1:14 PM GMT
COBOL
asked by Edinburgh

  70 pts.

Executing a Batch Cobol program which calls a CICS program with "EXEC CICS" commands in it

Given that you synchonize the Communication Area between the Batch and CICS program, can you execute a Batch Program in Batch mode if a called CICS program has commands like the following in it ? EXEC CICS INQUIRE SYSTEM OPSYS(WS-OPSYS) END-EXEC

Answer Question   |  Feb 8 2008  2:11 AM GMT
COBOL, COBOL CICS
asked by CharEd

  5 pts.

Calling RPG Proc from COBOL ILE

How do I call a RPGILE procedure embedded in a service program from COBOL ILE? I am not very well versed in cobol as I worked mostly on RPG/400 and ILE. I checked few of the notes but was confused abt the 'Call Linkage type' and Call Procedure? Can anyone say when each one is used and what is their...

View Answer   |  Jan 28 2008  6:11 PM GMT
AS/400, COBOL, RPG ILE
asked by RPGPGM

  40 pts.

DDS or SQL

We have an existing COBOL application using files defined in DDS format. We are considering to move from DDS to DDL for future development. What is the best strategy to take this approach?

View Answer   |  Jan 23 2008  8:52 PM GMT
SQL, COBOL, DDL
asked by Uiiuo

  50 pts.

E-mailing from COBOL batch/online program

I have used smtpnote in jcl & clist to send email but I need a way to do in a cobol program so I can control the number of emails sent. A sample would be great! Thanks

View Answer   |  Jan 22 2008  8:59 PM GMT
COBOL
asked by Cmcl95

  10 pts.

calling a C function in COBOL ILE

In RPGLE I can call a C function like this: D sin PR extproc('sin') D parm F value C Eval mySine = sin( deg ) How do I do this in COBOL? Any examples? Thank you.

View Answer   |  Jan 2 2008  6:15 PM GMT
AS/400, COBOL, RPGLE
asked by Unknowingone

  195 pts.

COBOL data appearing out of order in database

Hi....Would you know what could be the cause of data appearing in an IMS database out of order? Access type is HIDAM, rules=(,H). The segment that is out of sort order is a child, there are 4 occurrences, and it should be sorted by effective date. Here is an example of the database in data...

Answer Question   |  Jan 2 2008  3:06 PM GMT
COBOL, Database
asked by 123456

  250 pts.

COBOL and .NET web services call?

Can a batch cobol program call a .Net web services? Our current operation system is z/os 1.7. To call a Web services from a batch program, does it need any special software?

View Answer   |  Jan 2 2008  3:02 PM GMT
COBOL, Web services
asked by JimmyIT

  1260 pts.

COBOL I-O-FEEDBACK area

I'm trying to find the breakdown of the I-O-FEEDBACK structure used in COBOL/400, what information is at what offset. One might think that should be an easy piece of info to obtain, but I've just spent 2 hours at IBM sites and in IBM manuals on the web, and every manual that mentions the structure...

View Answer   |  Dec 25 2007  6:34 PM GMT
AS/400, COBOL, RPG
asked by Unknowingone

  195 pts.

Moving data between 2 iSeries Servers

We have a Production iSeries and a Development iSeries. We want to be able to select data from our Production System and Transfer it to a programmers library on our Development System. When we were on a single system we used SQL/Cobol. We have been successful getting to the database on each...

View Answer   |  Dec 18 2007  7:13 PM GMT
AS/400, iSeries, COBOL
asked by Wpoulin

  1115 pts.

can we call DC BATCH program from a BATCH program

Can we call a cobol with IDMS statements DC BATCH program from a cobol with IDMS statements BATCH program . if we can not call then please provide the reason for that .

Answer Question   |  Dec 13 2007  3:59 AM GMT
COBOL, DC BATCH, IDMS
asked by Poorna

  5 pts.

101 - 120 of 154