Create file from SORTOUT FILE

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
hparthas
Member
Posts: 43
Joined: Thu Oct 21, 2010 11:17 pm

Create file from SORTOUT FILE

Post by hparthas » Thu Sep 26, 2013 1:42 pm

Hi,
I''m trying to create a file dynamically based on the file reception time and date including microseconds. I have created the and file name how I required and it is available in SORTOUT file. Can you please help me out can I use that file name A.B.C in the SORTOUT file to be created as a FILE NAME in Dev environment.

Thanks,
HK

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Thu Sep 26, 2013 5:18 pm

I don't fully understand what you are saying/thinking but if you have a datasetname that is a line of data in a file and you want to use it in another job as part of the JCL - or for dynamic allocation - then yes you can. Read the record and use file-tailoring or even have the program create the JCL and submit it or you can have the program that s going to read/cretae the dataset with that name use the name as one of the parameters to the dynamic allocation routine.
Regards
Nic

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others