How do you end a cobol program that calls a menu(cl)?
I have a menu that calls another menu. Before the first menu calls the second menu it calls a cobol program which reads a table to verify that the user attempting to access the second menu has authority to the second menu. If the user has authority to the second menu, the cobol program calls the...
Answer Question
| May 8 2008 8:07 PM GMT
| asked by
Cembry
COBOL, CL
SQL DB2 COBOL date reformatting
Hi and thanks in advance,I want to use DB2 SQL in COBOL to reformat a date from CCYY-MM-DD to MM-DD-YY. What is the simplest and most efficient way to do this?Christy
View Answer
| May 6 2008 3:26 PM GMT
| asked by
Ctrevino
COBOL, SQL, DB2
Embedded SQL in a Cobol program using a sub-select in the select clause
The following works fine in SQLPLUS: SELECT SOVLCUR_PIDM INTO :STDN-PIDM FROM SOVLCUR WHERE SOVLCUR_PIDM = :HOLD-STU-PIDM AND SOVLCUR_LEVL_CODE = 'UG' AND SOVLCUR_LMOD_CODE = ...
View Answer
| May 5 2008 6:58 PM GMT
| asked by
Warpmail
COBOL, Embedded SQL, SQLPlus
Batch Job Ends without Calling Program on AS/400 V5R2M0
Hi all,I have a batch job 'JOB1' which should execute a command CALL LIB1/PGM1.Here PGM1 is CL Program. I want to debug PGM1.I submitted thru SBMJOB JOB(JOB1) HOLD(*YES) CURLIB(LIB1). All other are default values for SBMJOB.I did STRSRVJOB & STRDBG. When I released Job, I set Break Point at the 1st...
View Answer
| May 2 2008 9:12 AM GMT
| asked by
NarasimhaReddy
AS/400, iSeries, CL
Send a parameter from COBOL to RBG?
A Search400.com reader sent in this question: My question is how to send a parameter from COBOL program to program written in RBG. I know how to send parameter within two COBOL programs but how do I send from COBOL to RBG?
View Answer
| Apr 25 2008 3:12 PM GMT
| asked by
Leah Rosin
AS/400, COBOL
Is there a process in COBOL to flush an output buffer so my I/o is in sync for restartability?
Is there a process in COBOL to flush an output buffer so my I/o is in sync for restartability? I need to ensure the data in the output buffer has been written to the output device prior to doing an MQ Commit.
View Answer
| Apr 24 2008 5:49 PM GMT
| asked by
JFBrunelle
COBOL
COBOL TGT At Run Time
Is it possible to get access to the Cobol Task Global Table at run time in batch and cics (Enterprise Cobol for zOS)? I understand that using register 13 you can get access to the DSA, and using the DSA you can get access to the TGT, but I don't know how to get access to register 13 from Cobol. ...
Answer Question
| Apr 23 2008 3:23 AM GMT
| asked by
Calphool
COBOL, z/OS
open a green screen from a java application
We have a java application running on websphere and on click of a button in the browser based application, we need to open a 5250 session and open an inquiry application written in COBOl? We are not sure as how to achieve this. Any help is greatly appreciated...
View Answer
| Apr 21 2008 10:16 PM GMT
| asked by
Uiiuo
Green Screen, WebSphere, COBOL
To extract numbers in given input in cobol
hi, I m eniyan. I want to how to extract the numbers in given inputs.Inputs can be ting,special characters also in cobol .Could you please help me
Answer Question
| Apr 19 2008 6:47 AM GMT
| asked by
Pradep4529
COBOL
System Date in COBOL/400
How to get the system date in the format of CCYYMMDD(*ISO) or MMDDCCYY(*USA) same like RPG400? Can anyone pls help?
View Answer
| Apr 16 2008 10:25 AM GMT
| asked by
AS400, RPG400, ILERPG, CL400
COBOL, RPG, AS/400
Calling QMF interactive from COBOL programs in CICS regions
We have a call to QMF from all the screen in the application. We also has QMF report generation from onlines where users enter the details in onlines which is passed to QMF proc and report is shown to them on QMF screen. Once user is done with QMF queries/reports and presses PF3 he/she returns...
Answer Question
| Apr 16 2008 5:20 AM GMT
| asked by
Nishantrk
CICS, QMF, Mainframe
in what direction should i work
i did degree in electronics and communication after that i did job in sofware company for 8 months as assistant system engineer with cobol, sql technology. i have basic knowledge of c, cobol, sql and html. what kind of job should i search, i need one more suggestion that in which field i should go...
View Answer
| Apr 12 2008 2:21 PM GMT
| asked by
Canny
COBOL, SQL, HTML
RMCOBOL 74
How do I convert a .inx file to COBOL74 data file.
Answer Question
| Apr 2 2008 1:38 PM GMT
| asked by
Javed
COBOL
COBOL Compute statement
How do I specify in COBOL the following arithmetic expression to calculate the value of Y.Y = 1 / (1 + exp(-X)) where exp(-X) is the exponentiation of the negative value of X and X is any numeric value.
View Answer
| Mar 27 2008 6:42 PM GMT
| asked by
Timothy Li
COBOL
Example of Enterprise COBOL generated assembler listing for demo programs
Can you point me to website or download area or just send generated assembler listing for Enterprise COBOL demo program such as: DISPLAY "HELLO WORLD" STOP RUN I'd also like to find other demo program assembler listings that perform simple functions for use in learning assembler and...
Answer Question
| Mar 25 2008 2:51 PM GMT
| asked by
DonHiggins
COBOL
How READ a QSAM File in an online COBOL Programm ?
We need to READ some PARM in a Online (IMS) Application/Transaction.We want to use a TSO File (QSAM) to READ several records and define an internal table (array).Is it possible to READ QSAM from an online Programm ?How to do it ?As long as the transaction is on, the content doesn't have to be read...
Answer Question
| Mar 18 2008 9:36 AM GMT
| asked by
Ireland65
COBOL, QSAM, online
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
| asked by
Impi
EIBTRMID, COBOL, CICS
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
| asked by
Vids
AS/400, COBOL
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
| asked by
HankTheTank
390, COBOL, ADABAS
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
| asked by
Thilaga
AS/400, COBOL


