Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

insert dummy record(Low values) to PS file using DFSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
useit

Active User


Joined: 05 Oct 2006
Posts: 144

PostPosted: Wed Sep 24, 2014 4:20 pm    Post subject: insert dummy record(Low values) to PS file using DFSORT
Reply with quote

hi,

Can you help me in syntax to insert a dummy record in PS file using DFSORT. I need a dummy record in PS file with low-values for the entire record length Of the file. If possible i don’t want to specify the rec length in the sort card.

regds,
useit
Back to top
View user's profile Send private message

mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 285
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Wed Sep 24, 2014 4:35 pm    Post subject:
Reply with quote

create your dummy record as HEADER or TRAILER depending upon where do you want it.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Sep 24, 2014 5:15 pm    Post subject: Reply to: insert dummy record(Low values) to PS file using D
Reply with quote

useit,

You'll have to make a better description of what you want. F or V records? Why don't you want to know the length? Where would you want to insert the record? Why do you want to do this?

mistah kurtz,

Do you mean HEADER1/TRAILER1? How would you fill those with binary zeros?
Back to top
View user's profile Send private message
mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 285
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Wed Sep 24, 2014 5:46 pm    Post subject:
Reply with quote

Hi Bill.

Yes..I meant HEADER1/TRAILER1. I thought we can use the X'00', but yes, with record length. Something like:
Code:
OUTFIL REMOVECC,HEADER1=(80X'00')
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. REXX - Dynamic file Creation d_sarlie CLIST & REXX 5 Tue Jun 27, 2017 7:30 pm
No new posts FTP xls file from Mainfrmae kumarsatheeshc1 TSO/ISPF 5 Tue Jun 20, 2017 6:56 pm
No new posts Validate if a Value from the file is ... balacsv2 COBOL Programming 8 Mon Jun 19, 2017 11:52 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us