Hello Frederico,
Your reply was indeed very helpful.
I do have a CL to perform this verification but queried just in case if any function did indeed exist within COBOL.
Thank you and your assistance is very much appreciated.
Tony
Hello,
Is it possible to add a control inside a COBOL program when the USER calling the job has no authority to any file accessed in the program to cause the JOB to stop and instead display a warning message - NO AUTHORITY to files.
Is there a COBOL function for checking object authority...
Hello Everyone,
Would someone please help me how I could access the local data Area or any data area in COBOL or from select SQL within COBOL program.
Thanking you in anticipation.
Thanks
Tony
Thanks for useful discussion on the error that I encountered. David was right the error occured due to the RECORD format name defined as RECORD which is a reserved name by COBOL hence the error. I did circumvent this problem by creating a physical file and using copy file command and appended...
Thanks David,
You are indeed right. The name RECORD is a COBOL reserved name. Created a physical file with a different record name and it worked||||||||||
Thanks everyone
Tony
Hello Friends,
I received the following message when compiling my AS/400 COBOL program
Message . . . . : 'F0002 OF RECORD OF ACCT-CHG' not defined in
'RECORD'. RECORD-KEY with...
Hello Frederico,
You are indeed great. As suggested I had restricted relative record number to stop at 99. Incresed the variable and presto!!!!!!! it worked.
Your input is indeed appreciated. Thank you very much.
Thanks
Tony
Hello everyone,
I have a developed a COBOL program on AS400 using a display file to display user selected information.
In my DSPF screen file I have indicated SFLSIZ(200) and SFLPAG(10). Whilst the 10 records are displayed on screen in each refresh but total records read does not exceed 99...
Thanks ceh4702,
Indeed your inputs were very useful. I do have the book Programming in COBOL 400 by Cooper and find it very useful. The programs TESTINQ1 and DELCHGINQ2 are working well when run individually. They both extract different information and if the criteria selection is not found...
Hi Frederico,
Thanks for your feedback. Here is the sequence of events which is as follows.
The Program A displays the screen
Screen A
1. DEALER CHANGES : PRESS F5 7552
2. REP CHANGES : PRESS F9
EXIT SCREEN : PRESS F3...
Hi TB,
Thanks for your input. What I cannot understand is notwithstanding the passing of Zeros to Format1-I-INDIC the program works the first time around. However, once the called program is initiated and closed the next attempt without quiting the calling program entirely the next search is...
Hi everyone,
I have designed a screen display program using an externally described Transaction File prompting to key an account. This program points to another program defined in the procedure division using the linkage parameter as follows.
LINKAGE SECTION.
01...
Hello everyone,
I have developed a COBOL program on AS400 to screen display certain information. This is the first time I am using the Procedure Division using a parameter as under.
PROCEDURE DIVISION
USING LK-PARM-FIELDS.
The program was...
Hi everyone,
I am trying to code in COBOL to include a flashing field. I am coding in COBOL/400 with DSPF file format. Can someone please tell me the function to achieve the flashing (or blinking) field.
Much appreciated in anticipation.
Tony
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.