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...
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?
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...
how to update records in subfile program in cobol/400?
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...
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?
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...
Can I declare both 02 level and 05 levels in the same column as shown in below? 02 FIELD1 05 FILED2.
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...
Within COBOL, at execution time within a sub program, is there a way of knowing the name of the calling program ? Thanking you.
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
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...
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?
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
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.
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...
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?
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...
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...
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 .


