Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Header and trailer for a PS file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kumara kanthirava

New User


Joined: 19 Aug 2019
Posts: 2
Location: India

PostPosted: Mon Aug 19, 2019 3:54 pm    Post subject: Header and trailer for a PS file
Reply with quote

Hi!,

I got following requirement,

Input : a PS file with only policy numbers
ex: 0000000001
0000000002
0000000003
Output : <header>
input records
<trailer>

Header:- H,123456,client company name,<date with format:MMDDYYYY>,<time with format : HH:MM>,1
Note: no saperation in date

Trailer:- T,<count of input records>
ex: T,3

Please let me know how can I achieve with particular formatting

Thanks,
Anand kumar
Back to top
View user's profile Send private message

dneufarth

Active User


Joined: 27 Apr 2005
Posts: 308
Location: Inside the SPEW (Cincinnati OH USA)

PostPosted: Mon Aug 19, 2019 4:19 pm    Post subject:
Reply with quote

The source of the other information is?
Back to top
View user's profile Send private message
kumara kanthirava

New User


Joined: 19 Aug 2019
Posts: 2
Location: India

PostPosted: Mon Aug 19, 2019 4:41 pm    Post subject: Reply to: Header and trailer for a PS file
Reply with quote

you mean the info @ header & Trailer?
those are static values and is my project specific. so posted dummy values
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 2352
Location: NY,USA

PostPosted: Mon Aug 19, 2019 5:10 pm    Post subject:
Reply with quote

Please learn to use code tags and do a research before posting basic questions which are discussed on this forum several times.
You can use this link and it is expected to be able to twist the way you want to see the Header and Details.

http://ibmmainframes.com/about16524.html
Back to top
View user's profile Send private message
sergeyken

Active Member


Joined: 29 Apr 2008
Posts: 716
Location: Maryland

PostPosted: Mon Aug 19, 2019 6:08 pm    Post subject:
Reply with quote

This question is not related in any manner neither to JCL, nor to VSAM.

Lesson #1 to take: learn which of zOS components is supposed to perform any specific task? Probably, at the Beginners Forum?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2319
Location: Hampshire, UK

PostPosted: Mon Aug 19, 2019 11:02 pm    Post subject: Reply to: Header and trailer for a PS file
Reply with quote

"Please let me know how can I achieve with particular formatting "
By writing a program or using some utility. However, you cannot do it by JCL or VSAM as these do not manipulate data.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add the name in the PS file and creat... dharmaraok DFSORT/ICETOOL 9 Wed Apr 01, 2020 10:43 am
No new posts DFSORT Output file order query A_programmers DFSORT/ICETOOL 1 Thu Mar 26, 2020 11:59 pm
No new posts Error Creating KSDS file, REASON CODE... sandeep prajapati JCL & VSAM 8 Tue Mar 24, 2020 12:05 pm
No new posts Issue while reading a file in browse ... sivasaras TSO/ISPF 7 Sun Mar 01, 2020 12:20 pm
No new posts Create Header Dtae as MMDDYYYY thesumitk DFSORT/ICETOOL 16 Tue Feb 25, 2020 4:56 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us