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
 

 

How to implement this logic in PL/1 using files

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
diwakar_rao

New User


Joined: 04 Mar 2007
Posts: 14
Location: Chennai

PostPosted: Mon Jun 30, 2008 11:59 pm    Post subject: How to implement this logic in PL/1 using files
Reply with quote

Hi,

a)1 Input file as below

Empid Empname Prjcd Skill1 Skill2 Skill3 => field name
====================================
RN0001 AA 10001 COBOL JCL VSAM
RN0002 AB 10002 COBOL VSAM
RN0003 AC 10003 VSAM JCL

b) To write a pgm to create 3 Output files as follows

Output File 1 => for COBOL skillset

Empid Empname Prjcd Skills
==========================
RN0001 AA 10001 COBOL
RN0002 AB 10002 COBOL

Output File 2 => for JCL skillset

Empid Empname Prjcd Skills
==========================
RN0001 AA 10001 JCL
RN0002 AB 10002 JCL
RN0003 AC 10003 JCL

Output file 3 => for VSAM skillset

Empid Empname Prjcd Skills
==========================
RN0001 AA 10001 VSAM
RN0002 AB 10002 VSAM

Pls let me know the logic to implement to create the above output files ?
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jul 01, 2008 12:16 am    Post subject:
Reply with quote

Hello,

Quote:
Pls let me know the logic to implement to create the above output files ?
It will probably not be possible. . . Your posted output does not follow rules and without them, there can't be any code. . . 2 of the 3 "sets" of output appear to be incorrect. . .

Do not double-post. This topic is locked. . .

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Adding records from two files into on... shiitiizz SYNCSORT 4 Mon Sep 19, 2016 8:41 pm
No new posts Wildcard logic in COBOL dudenithy COBOL Programming 13 Thu Sep 01, 2016 7:36 pm


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