NDM from Mainframes to UNIX environment



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

NDM from Mainframes to UNIX environment

Postby nm992 » Tue Aug 02, 2011 12:36 pm

Hi..

I need to send file on daily basis from Mainframes to Unix Environment.UNIX side file needs to be of the format

**/**/*_yyyymmdd.

Can anyone help me on how to generate the date on dialy basis in teh connect direct step so as to we put up the current date at the end of UNIX file on daily basis.
nm992
 
Posts: 43
Joined: Sun Jul 11, 2010 11:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: NDM from Mainframes to UNIX environment

 

Re: NDM from Mainframes to UNIX environment

Postby Robert Sample » Tue Aug 02, 2011 4:15 pm

1. Most job schedulers allow you to do this type of thing, so use the job scheduler.
2. OR you could write a small program, in the language of your choice, to generate the file name and run it as part of your job.
3. OR you could download to a fixed file name on the Unix system and use CRON on the Unix system to schedule a small script to execute every day to move (or copy) the fixed file name to the file name with the date.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: NDM from Mainframes to UNIX environment

Postby MrSpock » Tue Aug 02, 2011 4:36 pm

You could use the built-in intrinsic symbolic variable %SUBDATE1:

%SUBDATE1 Use this parameter to substitute the submitted date in the yyyymmdd date format.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: NDM from Mainframes to UNIX environment

Postby nm992 » Tue Aug 02, 2011 5:24 pm

Hi..Thanks..

I have used the scheduler to the same on another system...I used Fileaid also which was replacing character with the current date at particualr column..and date was picked by scheduler..

Any idea on if we can do te same thing with Sort Card.
nm992
 
Posts: 43
Joined: Sun Jul 11, 2010 11:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: NDM from Mainframes to UNIX environment

Postby MrSpock » Tue Aug 02, 2011 8:16 pm

nm992 wrote:Any idea on if we can do te same thing with Sort Card.


Please start a new topic in the appropriate sort forum for your installed product. it will save time if you provide all of the usual relevant details, such as sample input and output data, LRECL and RECFM details, product and level installed, etc.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post