Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Uvaiz
  • Order by date
  1. Uvaiz

    COBOL AS/400 FUNCTION

    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
  2. Uvaiz

    COBOL AS/400 FUNCTION

    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...
  3. Uvaiz

    Access Local Data Area in AS400

    Thanks Frederico, Calling a CL within COBOL resolved the problem. Appreciate your continued valuable feedback. Regards, Tony
  4. Uvaiz

    Access Local Data Area in AS400

    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
  5. Uvaiz

    AS/400 COBOL Complilation errors

    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...
  6. Uvaiz

    AS/400 COBOL Complilation errors

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

    AS/400 COBOL Complilation errors

    Hi Dimandja, Sorry there is a period at the end of of the 01 level as follows. FD ACCT-CHG. 01 ACCT-CHG-REC COPY DD-ALL-FORMATS OF NOMCHGLF.
  8. Uvaiz

    AS/400 COBOL Complilation errors

    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...
  9. Uvaiz

    Cobol/AS400 assistance

    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
  10. Uvaiz

    Cobol/AS400 assistance

    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...
  11. Uvaiz

    AS400 externally described Transaction File program

    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...
  12. Uvaiz

    AS400 externally described Transaction File program

    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...
  13. Uvaiz

    AS400 externally described Transaction File program

    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...
  14. Uvaiz

    AS400 externally described Transaction File program

    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...
  15. Uvaiz

    Referencing error

    Thanks Razalas and Etom, The program worked when called using the expected LK-PARM-FIELDS. Very much appreciated. Tony
  16. Uvaiz

    Referencing error

    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...
  17. Uvaiz

    BLINKING Field

    Thanks everyone, I have indeed identified the function DSPATR(BL) to achieve my requirement Tony
  18. Uvaiz

    BLINKING Field

    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
  19. Uvaiz

    Centre a string in AS400 Colbol

    Hi saginaw, Thank you very much for the info. The site is very informative and useful. Shall try some of the examples. Thanks again. Tony
  20. Uvaiz

    Centre a string in AS400 Colbol

    Thanks Dimandja / fredericofonseca I shall try this sometime today. I am sure this should work. Thanks very much. Tony

Part and Inventory Search

Back
Top