Might you have the job log from one that had yesterday's data?

In processes I have built, I did the job build "today", but submitted the job stream "tomorrow" or used a timer facility to delay start of execution until "tomorrow" (or days/weeks later).

Michael

At 08:00 AM 6/22/2022, saurabh khandelwal wrote:

Dear All,

Thanks you so much. Finally below code worked. But in this, we are getting
current (today's date) but in some of the files, we are getting yesterday's
date (today's -1) .

How can we make this process work for yesterday's date.

But in this, we are able to retrieve

//SFTPDOBM JOB (7330),MSGCLASS=X,CLASS=P,NOTIFY=&SYSUID,USER=STCSYS
//STEP0    EXEC PGM=EZACFSM1
//SYSOUT   DD DSN=&&T,DISP=(,PASS),SPACE=(TRK,(1,0)),UNIT=VIO
//SYSIN    DD DATA,DLM=@@
OSHELL { echo 'lcd /u/op117/';                          +
          echo 'cd /3DSecure/KWT/TMP';  +
         echo 'ASCII';                                  +
echo 'get NonMon_DailyExtract_KWT_&LYR4.&LMON.&LDAY..txt'; } | +
         sftp -P 2222 [email protected]
oget '/u/op117/NonMon_DailyExtract_KWT_&LYR4.&LMON.&LDAY..txt'    -
         'NBFDP.XX.SECURE.DOBMOB.XX.SFTP'
@@
//STEP1    EXEC PGM=IKJEFT01,REGION=0M
//SYSEXEC  DD DISP=SHR,DSN=SYS1.SBPXEXEC
//OUTPUT   DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN  DD DISP=(OLD,PASS),DSN=&&T

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to