¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Re: COBOL getting system time and/or date
"ILE" is the Integrated Language Environment of AS/400, OS/400, iSeries, System i, IBM i platform. It has nothing to do with LE/370 or LE/390, etc. -- and nothing to do with mainframes, other than
By Mark Waterbury · #4397 ·
Re: COBOL getting system time and/or date
Correct, I tried it, does not work. 36 IKF3001I-E FUNCTION NOT DEFINED. DISCARDED. best regards, Ren¨¦.
By [email protected] · #4396 ·
Re: COBOL getting system time and/or date
I don't think MVS3.8J is ILE compatible, it's far older then LE Libraries --- ¦Ó¦Òm
By botongrui, aka ¦Ó¦Òm. · #4395 ·
Re: COBOL getting system time and/or date
Example of How to Get the Current Date/Time in a COBOL ILE Program | | | | Example of How to Get the Current Date/Time in a COBOL ILE Program This document includes an example of using the
By Rahim Azizarab · #4394 ·
Re: COBOL getting system time and/or date
It is current date not date. regards; Rahim??? ??
By Rahim Azizarab · #4393 ·
Re: COBOL getting system time and/or date
I don't believe this compiler had any means to retrieve the system date/time. You can use my date routine - y2kgetd - to retrieve the current date. I have attached a simple jobstream/program showing
By Jay Moseley · #4392 ·
Re: COBOL getting system time and/or date
Hi: On my work I saw several "old" cobol programs for which there's a SYSIN card with DD DSN=SOME.FILE Then that DSN contains current date, and COBOL performs ACCEPT FROM SYSIN. Maybe this was done
By David Sol¨¦ · #4391 ·
COBOL getting system time and/or date
Hi guys. I'm missing something again regarding our beloved MVT COBOL F compiler.. this time, I'm trying to get the system date and or time, but I'm missing miserably. I've looked for the right syntax
By Alejandro olivan Alvarez · #4390 ·
Re: VSAM cluster allocation error
Try adding UNIQUE to the cluster definition.? Also, move the space allocations to the data and index components. ? like this: DEFINE
By Ed Liss · #4389 ·
Re: VSAM cluster allocation error
Delete is fine. MVS 3.8 uses CVOL and VSAM catalogs. You may not have the needed catalog defined. UNIQUE is required to get space outside a
By Mike Schwab · #4388 ·
Re: VSAM cluster allocation error
No, even if you remove the delete statement you will still get an error! Without am user catalog and data space defined on the new volume you will go nowhere Marco
By M Verpelli · #4387 ·
Re: VSAM cluster allocation error
Comment out or remove the Delete statement and rerun.? It is giving an error because the file does not exist. regards; Rahim ??
By Rahim Azizarab · #4386 ·
VSAM cluster allocation error
Hi guys, I am trying to allocate a VSAM file, this is the jcl : //HERC02CP JOB (IDCAMS),'PERFORM IDCAMS? ',CLASS=A,NOTIFY=&SYSUID, //????????????
By Riccardo Cigola · #4385 ·
Re: COBOL help opening datasets to append records.
Alejandro, While not EXACTLY appropriate for your situation ¨C I am glad to see you solved your issue and got the output you were looking for. Please understand the DISPOSITION parm in JCL ¨C NEW
By Jeff Bassett · #4384 ·
Re: COBOL help opening datasets to append records.
Surprisingly, once I realized that I could simply let the destination file opened (from the execution of sort input procedure) and close it at the end of the sort output procedure, the program did
By Alejandro olivan Alvarez · #4383 ·
Re: COBOL help opening datasets to append records.
Dear Alejandro, If I recall correctly, COBOL programs with SORT inside are in fact a SORT main program with COBOL routines inside that do not read or write directly to the input or output files, and
By Alex Garcia · #4382 ·
Re: COBOL help opening datasets to append records.
Hi Alejandro, Don't close the file, continue to write in I found your logic just complicated Ren¨¦
By Rene BRANDT · #4381 ·
Re: COBOL help opening datasets to append records.
Thank you all guys for the points. The thing is that, the code I was playing with, uses SORT together with its input and output procedures (nice feature!). The goal was to let an input dataset full
By Alejandro olivan Alvarez · #4380 ·
Re: COBOL help opening datasets to append records.
No - there is no EXTEND mode - too early. Can I suggest that you use ISAM mode instead for this file if needed create a simple key if there is no field that you can use say starting with 1. Then
By Vince Coen · #4379 ·
Re: COBOL help opening datasets to append records.
Alex, John has already answered your question. I have a Feingold text from that era that clearly states EXTEND is valid for OPEN, but obviously this compiler has not read the Feingold text. I have
By Jay Moseley · #4378 ·