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 strongm 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: mainframestudent
  • Order by date
  1. mainframestudent

    Trapping PF keys in mainframes

    I think you are not getting desired result, becauseis that you were coding "if zpfkey ='pf05'" instead of "if zpfkey ='PF05'" ==> Please note the case of PF05. Thanks, Mainframestudent.
  2. mainframestudent

    ISPF Selection Panel - Mixing selections and data

    Please try the following logic. I apologize that I could not try it since I am not connected to the mainframe. Firstly, modify your exec as follows. ARG action macflag = 1 errflag = 0 Parse var action 3 logrefno /* i.e. extract & validate panel variable PREF */ If Datatype(logrefno) \ =...
  3. mainframestudent

    COBOL maximum record lengths for variable records

    Can we try this logic? File1 ===== Key field + first portion of the record File2 ===== Key field + Remaining portion of the record During write: ============= The record to be split into 2; First 32K to be written to first file (Including key); second portion prefixed with the same key value...
  4. mainframestudent

    Help with my coding

    Through a quick scan, I think no moves are happening to VALID-REC, which is being written. Please check. Sorry, if I am wrong.
  5. mainframestudent

    STRING removing leading spaces?

    Here is another solution, which I think will work DECLARATION PART ---------------- var1, var2 --> of required size temp-var2 --> same size as that of var2 SPACE-CNT --> 9(number of bytes in var2) RELEVANT CODE ------------- INSPECT VAR2 TALLYING SPACE-CNT FOR LEADING SPACES IF SPACE-CNT >...
  6. mainframestudent

    STRING removing leading spaces?

    Here is another solution, which I think will work DECLARATION PART ---------------- var1, var2 --> of required size temp-var2 --> same size as that of var2 SPACE-CNT --> 9(number of bytes in var2) RELEVANT CODE ------------- INSPECT VAR2 TALLYING SPACE-CNT FOR LEADING SPACES IF SPACE-CNT >...

Part and Inventory Search

Back
Top